From owner-freebsd-hackers Fri Oct 31 21:22:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA01604 for hackers-outgoing; Fri, 31 Oct 1997 21:22:35 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from coconut.itojun.org (root@coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA01594 for ; Fri, 31 Oct 1997 21:22:30 -0800 (PST) (envelope-from itojun@itojun.org) Received: from localhost (itojun@localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.8.5/3.6Wbeta6) with ESMTP id OAA00811; Sat, 1 Nov 1997 14:21:44 +0900 (JST) To: Mike Smith cc: Terry Lambert , jamil@trojanhorse.ml.org (Jamil J. Weatherbee), hackers@FreeBSD.ORG In-reply-to: mike's message of Sat, 01 Nov 1997 14:36:34 +1030. <199711010406.OAA00828@word.smith.net.au> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: BIOS information preservation (was Re: >64MB) From: Jun-ichiro itojun Itoh Date: Sat, 01 Nov 1997 14:21:44 +0900 Message-ID: <807.878361704@coconut.itojun.org> Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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