Changeset 66199 in vbox
- Timestamp:
- Mar 22, 2017 2:24:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-RegCtxSaveEx.asm
r60749 r66199 111 111 ; are saving a 64-bit context. 112 112 ; 113 mov ax, [xBP + xCB + cbCurRetAddr + sCB + xCB] 113 TONLY16 mov ax, [xBP + xCB + cbCurRetAddr + sCB + xCB] 114 TNOT16 movzx eax, word [xBP + xCB + cbCurRetAddr + sCB + xCB] 114 115 %ifdef BS3_STRICT 115 cmp ax, 4096116 cmp xAX, 4096 116 117 jb .extra_stack_ok 117 118 call Bs3Panic 118 119 .extra_stack_ok: 119 120 %endif 120 cmp ax, 20h121 cmp xAX, 20h 121 122 jae .at_least_20h_extra_stack 122 add ax, 20h123 add xAX, 20h 123 124 .at_least_20h_extra_stack: 124 sub sp, ax125 sub xSP, xAX 125 126 126 127 ;
Note:
See TracChangeset
for help on using the changeset viewer.