Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpmyW-0004Jt-Nd for mharc-grub-devel@gnu.org; Tue, 24 Jan 2012 15:28:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpmyU-0004I5-ML for grub-devel@gnu.org; Tue, 24 Jan 2012 15:28:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpmyS-0003yF-PW for grub-devel@gnu.org; Tue, 24 Jan 2012 15:28:14 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:50591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpmyS-0003y5-Aa for grub-devel@gnu.org; Tue, 24 Jan 2012 15:28:12 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0OKS8qx010813 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 24 Jan 2012 20:28:09 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0OKS76f006510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 24 Jan 2012 20:28:08 GMT Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0OKS7ZY006840 for ; Tue, 24 Jan 2012 14:28:07 -0600 Received: from bergsoft (/10.132.136.136) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 24 Jan 2012 12:28:07 -0800 Date: Tue, 24 Jan 2012 12:26:16 -0800 (PST) From: Seth Goldberg X-X-Sender: sethg@bergsoft To: grub-devel@gnu.org Subject: RFC: SMBIOS Multiboot 2 Tag Revision Message-ID: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090204.4F1F1459.005B,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2012 20:28:15 -0000 Hi, I'd like to revise the definition of the SMBIOS tag in the Multiboot2 Info structures to include ONLY the SMBIOS Entry Point structure (**). The current definition includes the SMBIOS tables themselves, but this is wasteful (even it the maximum size of the tables is 64k, they are always located in memory, in reserved regions, and duplicating them would be a waste of space). Additionally, many OS consumers need most of the values from the Entry Point structure itself anyway. The alternate solution here is to include both the Entry Point structure and the tables, but that's suboptimal because one would have to include a pointer to the tables (located after the Entry Point structure in memory when stored in a MBI2 tag), which would make relocating (copying) the entire MBI2 structure much more complicated than a simple memcpy. All this boils down to the fact that the most straightforward solution is to JUST include the Entry Point structure, and to allow the SMBIOS tables to remain where firmware placed them. Thanks, --S (**) The SMBIOS Entry Point structure is documented in DMTF Specification DSP0134 (SMBIOS Specification), the latest version of which is available from: http://dmtf.org/sites/default/files/standards/documents/DSP0134_2.7.1.pdf === modified file 'doc/multiboot.texi' --- doc/multiboot.texi 2012-01-24 20:11:24 +0000 +++ doc/multiboot.texi 2012-01-24 20:14:53 +0000 @@ -1072,21 +1072,21 @@ This tag contains pointer to amd64 EFI system table. -@subsection SMBIOS tables +@subsection SMBIOS Entry Point structure @example @group +-------------------+ u32 | type = 13 | u32 | size | -u8 | major | -u8 | minor | -u8[6] | reserved | - | smbios tables | + | smbios entry | + | point structure | +-------------------+ @end group @end example -This tag contains a copy of SMBIOS tables as well as their version. +This tag contains a copy of the SMBIOS entry point structure. The SMBIOS +tables are located elsewhere in memory (in firmware-reserved regions), +referenced by the SMBIOS Entry Point structure. @subsection ACPI old RSDP @example === modified file 'doc/multiboot2.h' --- doc/multiboot2.h 2012-01-24 20:11:24 +0000 +++ doc/multiboot2.h 2012-01-24 20:15:15 +0000 @@ -334,10 +334,7 @@ { multiboot_uint32_t type; multiboot_uint32_t size; - multiboot_uint8_t major; - multiboot_uint8_t minor; - multiboot_uint8_t reserved[6]; - multiboot_uint8_t tables[0]; + multiboot_uint8_t entry_point[0]; }; struct multiboot_tag_old_acpi