Changeset 25058 in vbox
- Timestamp:
- Nov 27, 2009 5:55:17 PM (15 years ago)
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r24609 r25058 1032 1032 break; 1033 1033 case APIC_DM_FIXED: 1034 { 1034 1035 /** @todo implement APIC_DM_FIXED! */ 1036 static unsigned s_c = 0; 1037 if (s_c++ < 5) 1038 LogRel(("delivery type APIC_DM_FIXED not implemented. u8Pin=%d u8Level=%d", u8Pin, u8Level)); 1039 return VINF_SUCCESS; 1040 } 1035 1041 case APIC_DM_INIT: 1036 1042 /** @todo implement APIC_DM_INIT? */ -
trunk/src/VBox/Devices/PC/DevFwCommon.cpp
r25048 r25058 67 67 uint32_t u32TableBase; 68 68 uint16_t u16TableEntries; 69 uint16_t u8TableVersion; 70 uint8_t u8Pad; 69 uint8_t u8TableVersion; 71 70 } *DMIMAINHDRPTR; 71 AssertCompileSize(DMIMAINHDR, 15); 72 72 73 73 /** DMI header */ … … 269 269 return -u8Sum; 270 270 } 271 272 static bool sharedfwChecksumOk(const uint8_t * const au8Data, uint32_t u32Length) 273 { 274 uint8_t u8Sum = 0; 275 for (size_t i = 0; i < u32Length; i++) 276 u8Sum += au8Data[i]; 277 return (u8Sum == 0); 278 } 279 271 280 272 281 /** … … 552 561 VBOX_DMI_TABLE_ENTR, // DMI tables entries 553 562 VBOX_DMI_TABLE_VER, // DMI version 554 0x00555 563 } 556 564 }; … … 559 567 aBiosHeaders.dmi.u8Checksum = fwCommonChecksum((uint8_t*)&aBiosHeaders.dmi, sizeof(aBiosHeaders.dmi)); 560 568 561 //Log(("Write SMBIOS\n")); 562 PDMDevHlpPhysWrite (pDevIns, 0xff30, &aBiosHeaders, sizeof(aBiosHeaders)); 569 PDMDevHlpPhysWrite (pDevIns, 0xfe300, &aBiosHeaders, sizeof(aBiosHeaders)); 563 570 } 564 571 -
trunk/src/VBox/Devices/PC/DevFwCommon.h
r25048 r25058 29 29 * Must be located in the same page as the DMI table. 30 30 */ 31 #define VBOX_MPS_TABLE_BASE 0xe110031 #define VBOX_MPS_TABLE_BASE (VBOX_DMI_TABLE_BASE+VBOX_DMI_TABLE_SIZE) 32 32 33 33 /* Plant DMI table */ … … 38 38 39 39 #endif 40
Note:
See TracChangeset
for help on using the changeset viewer.