From: Stanislav S. <ssh...@us...> - 2010-01-26 07:42:00
|
Update of /cvsroot/bochs/bochs/bios In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv1916 Modified Files: rombios32.c Log Message: SMBIOS patches by Sebastian Index: rombios32.c =================================================================== RCS file: /cvsroot/bochs/bochs/bios/rombios32.c,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- rombios32.c 18 Jan 2010 20:04:44 -0000 1.63 +++ rombios32.c 26 Jan 2010 07:41:49 -0000 1.64 @@ -2083,7 +2083,7 @@ p->header.length = sizeof(struct smbios_type_16); p->header.handle = 0x1000; - p->location = 0x01; /* other */ + p->location = 0x03; /* system board or motherboard */ p->use = 0x03; /* system memory */ p->error_correction = 0x01; /* other */ p->maximum_capacity = memsize * 1024; @@ -2107,6 +2107,7 @@ p->header.handle = 0x1100 + instance; p->physical_memory_array_handle = 0x1000; + p->memory_error_information_handle = 0xfffe; /* none provided */ p->total_width = 64; p->data_width = 64; /* TODO: should assert in case something is wrong ASSERT((memory_size_mb & ~0x7fff) == 0); */ |