Changeset 66454 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Timestamp:
- Apr 6, 2017 9:12:29 AM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-autostubs.kmk
r66452 r66454 40 40 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestFailedF) 41 41 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestFailedV) 42 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3GetCpuVendor) 42 43 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3StrCpy) 43 44 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3GetModeName) … … 136 137 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,bs3PagingGetLegacyPte) 137 138 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,bs3PagingGetPaePte) 138 $(call BS3KIT_FN_GEN_MODE_NEARSTUB,bs3kit-common-16,Bs3GetCpuVendor)139 139 $(call BS3KIT_FN_GEN_MODE_NEARSTUB,bs3kit-common-16,Bs3SwitchTo32BitAndCallC) 140 140 $(call BS3KIT_FN_GEN_MODE_NEARSTUB,bs3kit-common-16,Bs3TrapInit) -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-define.h
r66452 r66454 38 38 #define Bs3ExtCtxRestore BS3_CMN_MANGLER(Bs3ExtCtxRestore) 39 39 #define Bs3ExtCtxSave BS3_CMN_MANGLER(Bs3ExtCtxSave) 40 #define Bs3GetCpuVendor BS3_CMN_MANGLER(Bs3GetCpuVendor) 40 41 #define Bs3GetModeName BS3_CMN_MANGLER(Bs3GetModeName) 41 42 #define Bs3GetModeNameShortLower BS3_CMN_MANGLER(Bs3GetModeNameShortLower) … … 166 167 #ifndef BS3_CMN_ONLY 167 168 # define Bs3CpuDetect BS3_MODE_MANGLER(Bs3CpuDetect) 168 # define Bs3GetCpuVendor BS3_MODE_MANGLER(Bs3GetCpuVendor)169 169 # define Bs3SwitchTo32BitAndCallC BS3_MODE_MANGLER(Bs3SwitchTo32BitAndCallC) 170 170 # define Bs3TestDoModes BS3_MODE_MANGLER(Bs3TestDoModes) -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-undef.h
r66452 r66454 38 38 #undef Bs3ExtCtxRestore 39 39 #undef Bs3ExtCtxSave 40 #undef Bs3GetCpuVendor 40 41 #undef Bs3GetModeName 41 42 #undef Bs3GetModeNameShortLower … … 166 167 #ifndef BS3_CMN_ONLY 167 168 # undef Bs3CpuDetect 168 # undef Bs3GetCpuVendor169 169 # undef Bs3SwitchTo32BitAndCallC 170 170 # undef Bs3TestDoModes -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r66452 r66454 1501 1501 BS3_CMN_PROTO_STUB(const char BS3_FAR *, Bs3GetModeNameShortLower,(uint8_t bMode)); 1502 1502 1503 /** CPU vendors. */ 1504 typedef enum BS3CPUVENDOR 1505 { 1506 BS3CPUVENDOR_INVALID = 0, 1507 BS3CPUVENDOR_INTEL, 1508 BS3CPUVENDOR_AMD, 1509 BS3CPUVENDOR_VIA, 1510 BS3CPUVENDOR_CYRIX, 1511 BS3CPUVENDOR_UNKNOWN, 1512 BS3CPUVENDOR_END 1513 } BS3CPUVENDOR; 1514 1515 /** 1516 * Tries to detect the CPU vendor. 1517 * 1518 * @returns CPU vendor. 1519 */ 1520 BS3_CMN_PROTO_STUB(BS3CPUVENDOR, Bs3GetCpuVendor,(void)); 1521 1503 1522 /** 1504 1523 * Shutdown the system, never returns. … … 3748 3767 extern uint16_t g_uBs3CpuDetected; 3749 3768 3750 /** CPU vendors. */3751 typedef enum BS3CPUVENDOR3752 {3753 BS3CPUVENDOR_INVALID = 0,3754 BS3CPUVENDOR_INTEL,3755 BS3CPUVENDOR_AMD,3756 BS3CPUVENDOR_VIA,3757 BS3CPUVENDOR_CYRIX,3758 BS3CPUVENDOR_UNKNOWN,3759 BS3CPUVENDOR_END3760 } BS3CPUVENDOR;3761 3762 /**3763 * Tries to detect the CPU vendor.3764 *3765 * @returns CPU vendor.3766 */3767 BS3_MODE_PROTO_STUB(BS3CPUVENDOR, Bs3GetCpuVendor,(void));3768 3769 3769 /** 3770 3770 * Call 32-bit prot mode C function.
Note:
See TracChangeset
for help on using the changeset viewer.