Changeset 60557 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-SwitchToPE16_V86.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_V86.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_V86_Safe), function , 0 44 %endif 42 45 BS3_PROC_BEGIN_MODE Bs3SwitchToPE16_V86, BS3_PBC_NEAR 43 46 %ifdef TMPL_PE16_V86 … … 95 98 %endif 96 99 BS3_PROC_END_MODE Bs3SwitchToPE16_V86 100 101 %else 102 ;; 103 ; Safe far return to non-BS3TEXT16 code. 104 BS3_EXTERN_CMN Bs3SwitchHlpConvFlatRetToRetfProtMode 105 BS3_BEGIN_TEXT16 106 BS3_SET_BITS TMPL_BITS 107 BS3_PROC_BEGIN_MODE Bs3SwitchToPE16_V86_Safe, BS3_PBC_NEAR 108 call Bs3SwitchHlpConvFlatRetToRetfProtMode ; Special internal function. Uses nothing, but modifies the stack. 109 call TMPL_NM(Bs3SwitchToPE16_V86) 110 BS3_SET_BITS 16 111 retf 112 BS3_PROC_END_MODE Bs3SwitchToPE16_V86_Safe 97 113 %endif 98 114
Note:
See TracChangeset
for help on using the changeset viewer.