aboutsummaryrefslogtreecommitdiffstats
path: root/ui.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ui.inc')
-rw-r--r--ui.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/ui.inc b/ui.inc
index 0d7cc408..c656a0c1 100644
--- a/ui.inc
+++ b/ui.inc
@@ -439,6 +439,20 @@ kernel_corrupt: mov si,err_notkernel
;
; Anything else is assumed to be a Linux kernel.
;
+ section .bss
+ alignb 4
+Kernel_EAX resd 1
+Kernel_SI resw 1
+
+ section .text
+kernel_good_saved:
+ ; Alternate entry point for which the return from
+ ; searchdir is stored in memory. This is used for
+ ; COMBOOT function INT 22h, AX=0016h.
+ mov si,[Kernel_SI]
+ mov eax,[Kernel_EAX]
+ mov dx,[Kernel_EAX+2]
+
kernel_good:
pusha
mov si,KernelName