From: Kevin O'Connor Date: Sat, 25 Oct 2008 19:23:53 +0000 (-0400) Subject: Set smbios cache handles - patch from bochs bios. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=f2ce1918fee7dcdc1ae37a6ccd11de84e90dabe2;p=seabios.git Set smbios cache handles - patch from bochs bios. --- diff --git a/src/smbios.c b/src/smbios.c index 9f2be30..53e6e19 100644 --- a/src/smbios.c +++ b/src/smbios.c @@ -139,6 +139,9 @@ struct smbios_type_4 { u16 current_speed; u8 status; u8 processor_upgrade; + u16 l1_cache_handle; + u16 l2_cache_handle; + u16 l3_cache_handle; } PACKED; /* SMBIOS type 16 - Physical Memory Array @@ -364,6 +367,10 @@ smbios_type_4_init(void *start, unsigned int cpu_number) p->status = 0x41; /* socket populated, CPU enabled */ p->processor_upgrade = 0x01; /* other */ + p->l1_cache_handle = 0xffff; /* cache information structure not provided */ + p->l2_cache_handle = 0xffff; + p->l3_cache_handle = 0xffff; + start += sizeof(struct smbios_type_4); memcpy((char *)start, "CPU " "\0" "" "\0" "", 7);