#define SMBIOS_PHYSICAL_ADDRESS 0x000E9000 By the spec it should be somewhere between 0xF0000 to 1MB, There is even a comment in the code: /* SMBIOS entry point -- must be written to a 16-bit aligned address between 0xf0000 and 0xfffff. */ struct smbios_entry_point { ... Any reason for that? Thanks, Guy. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I¹ll have to double check, but I think that rombios picks up the smbios tables from 0xe9000 and copies them into the valid range. We do it that way because only rombios knows the memory layout 0xf0000-0xfffff. -- Keir On 13/11/07 15:23, "Guy Zana" <guy@neocleus.com> wrote:> #define SMBIOS_PHYSICAL_ADDRESS 0x000E9000 > > By the spec it should be somewhere between 0xF0000 to 1MB, > There is even a comment in the code: > > /* SMBIOS entry point -- must be written to a 16-bit aligned address > between 0xf0000 and 0xfffff. > */ > struct smbios_entry_point { > ... > > Any reason for that? > > Thanks, > Guy. > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Yes, I see it, robios copies just the entry point (but not the structures). I think the tables should be copied to >0xf0000 as well. I encountered an implementation which maps 0xf0000 (and nothing below that...) ________________________________ From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] Sent: Tuesday, November 13, 2007 5:38 PM To: Guy Zana; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] SMBIOS starts at 0xe9000 (out of range) I''ll have to double check, but I think that rombios picks up the smbios tables from 0xe9000 and copies them into the valid range. We do it that way because only rombios knows the memory layout 0xf0000-0xfffff. -- Keir On 13/11/07 15:23, "Guy Zana" <guy@neocleus.com> wrote: #define SMBIOS_PHYSICAL_ADDRESS 0x000E9000 By the spec it should be somewhere between 0xF0000 to 1MB, There is even a comment in the code: /* SMBIOS entry point -- must be written to a 16-bit aligned address between 0xf0000 and 0xfffff. */ struct smbios_entry_point { ... Any reason for that? Thanks, Guy. ________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Nope, a straw poll of three boxes shows one of my boxes with tables in the range 0xe0000-0xf0000, and one with the tables in high memory just below 4GB! It¹s only the header that has to be in the range 0xf0000-0xfffff. -- Keir On 13/11/07 16:11, "Guy Zana" <guy@neocleus.com> wrote:> Yes, I see it, robios copies just the entry point (but not the structures). > I think the tables should be copied to >0xf0000 as well. > > I encountered an implementation which maps 0xf0000 (and nothing below that...) > > >> >> >> >> From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] >> Sent: Tuesday, November 13, 2007 5:38 PM >> To: Guy Zana; xen-devel@lists.xensource.com >> Subject: Re: [Xen-devel] SMBIOS starts at 0xe9000 (out of range) >> >> >> I¹ll have to double check, but I think that rombios picks up the smbios >> tables from 0xe9000 and copies them into the valid range. We do it that way >> because only rombios knows the memory layout 0xf0000-0xfffff. >> >> -- Keir >> >> On 13/11/07 15:23, "Guy Zana" <guy@neocleus.com> wrote: >> >> >>> #define SMBIOS_PHYSICAL_ADDRESS 0x000E9000 >>> >>> By the spec it should be somewhere between 0xF0000 to 1MB, >>> There is even a comment in the code: >>> >>> /* SMBIOS entry point -- must be written to a 16-bit aligned address >>> between 0xf0000 and 0xfffff. >>> */ >>> struct smbios_entry_point { >>> ... >>> >>> Any reason for that? >>> >>> Thanks, >>> Guy. >>> >>> >>> >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sorry, the tables are mapped separately. You are right :) ________________________________ From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] Sent: Tuesday, November 13, 2007 6:27 PM To: Guy Zana; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] SMBIOS starts at 0xe9000 (out of range) Nope, a straw poll of three boxes shows one of my boxes with tables in the range 0xe0000-0xf0000, and one with the tables in high memory just below 4GB! It''s only the header that has to be in the range 0xf0000-0xfffff. -- Keir On 13/11/07 16:11, "Guy Zana" <guy@neocleus.com> wrote: Yes, I see it, robios copies just the entry point (but not the structures). I think the tables should be copied to >0xf0000 as well. I encountered an implementation which maps 0xf0000 (and nothing below that...) ________________________________ From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] Sent: Tuesday, November 13, 2007 5:38 PM To: Guy Zana; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] SMBIOS starts at 0xe9000 (out of range) I''ll have to double check, but I think that rombios picks up the smbios tables from 0xe9000 and copies them into the valid range. We do it that way because only rombios knows the memory layout 0xf0000-0xfffff. -- Keir On 13/11/07 15:23, "Guy Zana" <guy@neocleus.com> wrote: #define SMBIOS_PHYSICAL_ADDRESS 0x000E9000 By the spec it should be somewhere between 0xF0000 to 1MB, There is even a comment in the code: /* SMBIOS entry point -- must be written to a 16-bit aligned address between 0xf0000 and 0xfffff. */ struct smbios_entry_point { ... Any reason for that? Thanks, Guy. ________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel