Date: Sat, 01 Nov 1997 14:21:44 +0900 From: Jun-ichiro itojun Itoh <itojun@itojun.org> To: Mike Smith <mike@smith.net.au> Cc: Terry Lambert <tlambert@primenet.com>, jamil@trojanhorse.ml.org (Jamil J. Weatherbee), hackers@FreeBSD.ORG Subject: Re: BIOS information preservation (was Re: >64MB) Message-ID: <807.878361704@coconut.itojun.org> In-Reply-To: mike's message of Sat, 01 Nov 1997 14:36:34 %2B1030. <199711010406.OAA00828@word.smith.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
>Anyone likely to complain if I add a new datastructure to i386/bios.c and >start populating it with stuff that various parts of the system glean >about the BIOS environment? Or should I be using a procedural lookup >interface for this? >eg. either: > foo = i386biosinfo->bios_memsize; >or > error = i386biosinfo("memsize", &foo) >?? (this mail does not talk about whether we will have this feature, or not...) I like the prior one better since the spelling mistake can be found by the compiler. In the latter case spelling mistake like i386biosinfo("memsizee", &foo) can be detected only in runtime. itojun
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?807.878361704>