mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 05:51:37 +03:00
Use internal real-mode stack from non-returnable prefixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user