summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/prefix/dskprefix.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/prefix/dskprefix.S')
-rw-r--r--src/arch/i386/prefix/dskprefix.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/i386/prefix/dskprefix.S b/src/arch/i386/prefix/dskprefix.S
index 9b1ebaaf..1a48716a 100644
--- a/src/arch/i386/prefix/dskprefix.S
+++ b/src/arch/i386/prefix/dskprefix.S
@@ -350,6 +350,10 @@ msg1end:
start_runtime:
call install
+ /* Set up real-mode stack */
+ movw %bx, %ss
+ movw $_estack16, %sp
+
/* Jump to .text16 segment */
pushw %ax
pushw $1f