Changeset 60557 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-SwitchToPE16.asm
- Timestamp:
- Apr 19, 2016 3:01:35 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-SwitchToPE16.asm
r60554 r60557 40 40 ; @remarks Does not require 20h of parameter scratch space in 64-bit mode. 41 41 ; 42 %if TMPL_BITS == 16 43 BS3_GLOBAL_NAME_EX TMPL_NM(Bs3SwitchToPE16_Safe), function , 0 44 %endif 42 45 BS3_PROC_BEGIN_MODE Bs3SwitchToPE16, BS3_PBC_NEAR 43 46 %ifdef TMPL_PE16 … … 148 151 %endif 149 152 BS3_PROC_END_MODE Bs3SwitchToPE16 153 154 %else 155 ;; 156 ; Safe far return to non-BS3TEXT16 code. 157 BS3_EXTERN_CMN Bs3SwitchHlpConvFlatRetToRetfProtMode 158 BS3_BEGIN_TEXT16 159 BS3_SET_BITS TMPL_BITS 160 BS3_PROC_BEGIN_MODE Bs3SwitchToPE16_Safe, BS3_PBC_NEAR 161 call Bs3SwitchHlpConvFlatRetToRetfProtMode ; Special internal function. Uses nothing, but modifies the stack. 162 call TMPL_NM(Bs3SwitchToPE16) 163 BS3_SET_BITS 16 164 retf 165 BS3_PROC_END_MODE Bs3SwitchToPE16_Safe 150 166 %endif 151 167
Note:
See TracChangeset
for help on using the changeset viewer.