diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-08-17 15:19:44 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-08-17 15:19:44 -0700 |
commit | 243a8f70d28ac922df7855301496727a743ab469 (patch) | |
tree | 64384ffc6129bcb534f0b1ceeb5833d25c72cdf6 /abort.inc | |
parent | fce3daf690aac2e42b067f8d3eba9285bf4b4dc9 (diff) | |
download | syslinux-elf-243a8f70d28ac922df7855301496727a743ab469.tar.gz syslinux-elf-243a8f70d28ac922df7855301496727a743ab469.tar.xz syslinux-elf-243a8f70d28ac922df7855301496727a743ab469.zip |
Clean up the reset stack macro further; incorporate segment reset
as well as enable interrupts.
Diffstat (limited to 'abort.inc')
-rw-r--r-- | abort.inc | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -46,11 +46,7 @@ abort_check: ; SI = offset (in _text) of error message to print ; abort_load: - mov ax,cs ; Restore CS = DS = ES - mov ds,ax - mov es,ax - RESET_STACK ; AX must = 0 - sti + RESET_STACK_AND_SEGS AX call cwritestr ; Expects SI -> error msg ; Return to the command prompt |