Changeset 9693 in vbox
- Timestamp:
- Jun 13, 2008 4:30:46 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32031
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Builtins2.cpp
r8155 r9693 42 42 (void *)&g_abPcBiosBinary, 43 43 (void *)&g_abVgaBiosBinary, 44 (void *)&g_abNetBiosBinary 44 (void *)&g_abNetBiosBinary, 45 #ifndef VBOX_OSE 46 (void *)&g_abVmiBiosBinary, 47 #endif 45 48 }; 46 49 -
trunk/src/VBox/Devices/Builtins2.h
r8155 r9693 34 34 extern DECLEXPORT(const unsigned char) g_abNetBiosBinary[]; 35 35 extern DECLEXPORT(const unsigned) g_cbNetBiosBinary; 36 extern DECLEXPORT(const unsigned char) g_abVmiBiosBinary[]; 37 extern DECLEXPORT(const unsigned) g_cbVmiBiosBinary; 36 38 #else 37 39 extern DECLIMPORT(const unsigned char) g_abPcBiosBinary[]; … … 41 43 extern DECLIMPORT(const unsigned char) g_abNetBiosBinary[]; 42 44 extern DECLIMPORT(const unsigned) g_cbNetBiosBinary; 45 extern DECLIMPORT(const unsigned char) g_abVmiBiosBinary[]; 46 extern DECLIMPORT(const unsigned) g_cbVmiBiosBinary; 43 47 #endif 44 48 extern const PDMDEVREG g_DeviceAPIC; -
trunk/src/VBox/Devices/Makefile.kmk
r9435 r9693 25 25 # Include sub-makefiles. 26 26 include $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk 27 ifndef VBOX_OSE # not yet 28 include $(PATH_SUB_CURRENT)/PC/VMI/Makefile.kmk 29 endif 27 30 include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk 28 31 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk … … 209 212 $(PATH_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \ 210 213 $(PATH_LIB)/NetBiosBin$(VBOX_SUFF_LIB) \ 214 $(PATH_LIB)/VmiBiosBin$(VBOX_SUFF_LIB) \ 211 215 $(LIB_VMM) \ 212 216 $(LIB_RUNTIME) -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r9454 r9693 1143 1143 1144 1144 if (pData->u8IOAPIC) 1145 pcbiosPlantMPStable(pDevIns, pData->au8DMIPage + 0x100);1145 pcbiosPlantMPStable(pDevIns, pData->au8DMIPage + VBOX_DMI_TABLE_SIZE); 1146 1146 } 1147 1147 … … 1376 1376 pcbiosPlantMPStable(pDevIns, pData->au8DMIPage + VBOX_DMI_TABLE_SIZE); 1377 1377 1378 rc = PDMDevHlpROMRegister(pDevIns, VBOX_DMI_TABLE_BASE, 0x1000, pData->au8DMIPage, false /* fShadow */, "DMI tables");1378 rc = PDMDevHlpROMRegister(pDevIns, VBOX_DMI_TABLE_BASE, _4K, pData->au8DMIPage, false /* fShadow */, "DMI tables"); 1379 1379 if (VBOX_FAILURE(rc)) 1380 1380 return rc; … … 1506 1506 if (VBOX_FAILURE(rc)) 1507 1507 return rc; 1508 1509 #ifndef VBOX_OSE 1510 /* 1511 * Map the VMI BIOS into memory. 1512 */ 1513 AssertReleaseMsg(g_cbVmiBiosBinary == _4K, ("cbVmiBiosBinary=%#x\n", g_cbVmiBiosBinary)); 1514 rc = PDMDevHlpROMRegister(pDevIns, VBOX_VMI_BIOS_BASE, g_cbVmiBiosBinary, g_abVmiBiosBinary, false, "VMI BIOS"); 1515 if (VBOX_FAILURE(rc)) 1516 return rc; 1517 #endif 1508 1518 1509 1519 /* -
trunk/src/VBox/Devices/PC/DevPcBios.h
r9440 r9693 23 23 #define DEV_PCBIOS_H 24 24 25 #define VBOX_DMI_TABLE_ENTR 3 26 #define VBOX_DMI_TABLE_SIZE 0x100 /* XXX make this variable */ 25 /** @def VBOX_DMI_TABLE_BASE */ 27 26 #define VBOX_DMI_TABLE_BASE 0xe1000 28 27 #define VBOX_DMI_TABLE_VER 0x25 28 #define VBOX_DMI_TABLE_ENTR 3 29 #define VBOX_DMI_TABLE_SIZE 0x100 30 31 32 /** @def MPS_TABLE_BASE 33 * 34 * Must be located in the same page as the DMI table. 35 */ 36 #define VBOX_MPS_TABLE_BASE 0xe1100 29 37 30 38 #define VBOX_SMBIOS_MAJOR_VER 2 … … 32 40 #define VBOX_SMBIOS_MAXSS 0xff /* Not very accurate */ 33 41 34 #define VBOX_MPS_TABLE_BASE 0xe110035 42 43 /** @def VBOX_VMI_TABLE_BASE 44 * 45 * Must be located between 0xC0000 and 0xDEFFF, otherwise it will not be 46 * recognized as regular BIOS. 47 */ 48 #define VBOX_VMI_BIOS_BASE 0xdf000 49 50 51 /** @def VBOX_LANBOOT_SEG 52 */ 36 53 #define VBOX_LANBOOT_SEG 0xe200 37 54
Note:
See TracChangeset
for help on using the changeset viewer.