commit | e77a16e07a595de7eafa55e7fb95a1376c9827a1 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Fri Feb 22 21:16:36 2008 -0800 |
committer | H. Peter Anvin <hpa@zytor.com> | Fri Feb 22 21:16:36 2008 -0800 |
tree | 3182659c96276b5b3864279986346a733445160b | |
parent | bd7a247baaeec472f7dbff56b4f38ba760651759 [diff] |
Make sure we don't use any upper-memory stack during shuffle We want to make sure everything stays below 7C00h during the shuffle_and_boot operation.
diff --git a/bootsect.inc b/bootsect.inc index c1c850c..afb458e 100644 --- a/bootsect.inc +++ b/bootsect.inc
@@ -153,6 +153,10 @@ pop bx ; Copy from... pop ax ; Copy list count + ; Make extra sure we don't continue to use any stack + ; in high memory. + mov dword [PMESP],StackTop + cli mov cx,es mov ss,cx