summaryrefslogtreecommitdiff
path: root/lib_i386/zimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_i386/zimage.c')
-rw-r--r--lib_i386/zimage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_i386/zimage.c b/lib_i386/zimage.c
index 190d46e..9d33b2d 100644
--- a/lib_i386/zimage.c
+++ b/lib_i386/zimage.c
@@ -220,8 +220,8 @@ void boot_zimage(void *setup_base)
memset(&regs, 0, sizeof(struct pt_regs));
regs.xds = (u32)setup_base >> 4;
- regs.xss = 0x8e00;
- regs.esp = 0x200;
+ regs.xss = 0x9000;
+ regs.esp = 0x9000;
regs.eflags = 0;
enter_realmode(((u32)setup_base+SETUP_START_OFFSET)>>4, 0, &regs, &regs);
}