Use internal real-mode stack from non-returnable prefixes

This commit is contained in:
Michael Brown
2007-06-28 21:56:14 +01:00
parent 00473f0952
commit 045fb24557
3 changed files with 21 additions and 0 deletions

View File

@@ -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

View File

@@ -139,6 +139,10 @@ exec_vector:
call install
/* Set up real-mode stack */
movw %bx, %ss
movw $_estack16, %sp
/* Jump to .text16 segment */
pushw %ax
pushw $1f