[SeaBIOS] [PATCH] copy SMBIOS table from coreboot

Sven Schnelle svens at stackframe.org
Fri Aug 19 16:30:33 CEST 2011


Kevin O'Connor <kevin at koconnor.net> writes:

> On Thu, Aug 18, 2011 at 08:40:57PM +0200, Sven Schnelle wrote:
>> Signed-off-by: Sven Schnelle <svens at stackframe.org>
>> ---
>>  src/coreboot.c |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>> 
>> diff --git a/src/coreboot.c b/src/coreboot.c
>> index 5926939..46f25f1 100644
>> --- a/src/coreboot.c
>> +++ b/src/coreboot.c
>> @@ -201,6 +201,7 @@ scan_tables(u32 start, u32 size)
>>          copy_pir(p);
>>          copy_mptable(p);
>>          copy_acpi_rsdp(p);
>> +	copy_smbios(p);
>>      }
>
> Thanks.  I'd like to see SeaBIOS be able to use an smbios table from
> coreboot.  However, I think it needs to be a little smarter - your
> patch above would result in two smbios tables (one copied from
> coreboot and one created by SeaBIOS).
>
> I think it needs to be something like what's below (totally untested).
> [..]

I've just tried the attached patch, and it worked without problem on my
System. Thanks!

Sven



More information about the SeaBIOS mailing list