Changeset 66452 in vbox
- Timestamp:
- Apr 6, 2017 8:57:11 AM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r66446 r66452 55 55 bs3-cmn-A20Disable.asm \ 56 56 bs3-cmn-A20Enable.asm \ 57 bs3-cmn-GetCpuVendor.c \ 57 58 bs3-cmn-GetModeName.c \ 58 59 bs3-cmn-GetModeNameShortLower.c \ -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-autostubs.kmk
r66446 r66452 136 136 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,bs3PagingGetLegacyPte) 137 137 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,bs3PagingGetPaePte) 138 $(call BS3KIT_FN_GEN_MODE_NEARSTUB,bs3kit-common-16,Bs3GetCpuVendor) 138 139 $(call BS3KIT_FN_GEN_MODE_NEARSTUB,bs3kit-common-16,Bs3SwitchTo32BitAndCallC) 139 140 $(call BS3KIT_FN_GEN_MODE_NEARSTUB,bs3kit-common-16,Bs3TrapInit) -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-define.h
r66240 r66452 166 166 #ifndef BS3_CMN_ONLY 167 167 # define Bs3CpuDetect BS3_MODE_MANGLER(Bs3CpuDetect) 168 # define Bs3GetCpuVendor BS3_MODE_MANGLER(Bs3GetCpuVendor) 168 169 # define Bs3SwitchTo32BitAndCallC BS3_MODE_MANGLER(Bs3SwitchTo32BitAndCallC) 169 170 # define Bs3TestDoModes BS3_MODE_MANGLER(Bs3TestDoModes) -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-undef.h
r66240 r66452 166 166 #ifndef BS3_CMN_ONLY 167 167 # undef Bs3CpuDetect 168 # undef Bs3GetCpuVendor 168 169 # undef Bs3SwitchTo32BitAndCallC 169 170 # undef Bs3TestDoModes -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r66450 r66452 3748 3748 extern uint16_t g_uBs3CpuDetected; 3749 3749 3750 /** CPU vendors. */ 3751 typedef enum BS3CPUVENDOR 3752 { 3753 BS3CPUVENDOR_INVALID = 0, 3754 BS3CPUVENDOR_INTEL, 3755 BS3CPUVENDOR_AMD, 3756 BS3CPUVENDOR_VIA, 3757 BS3CPUVENDOR_CYRIX, 3758 BS3CPUVENDOR_UNKNOWN, 3759 BS3CPUVENDOR_END 3760 } 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 3750 3769 /** 3751 3770 * Call 32-bit prot mode C function.
Note:
See TracChangeset
for help on using the changeset viewer.