summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2010-04-21 14:35:31 +0200
committerMichael Brown2010-04-21 14:38:18 +0200
commit483c3c06ab17f799ae02041ac0dd992142bcc305 (patch)
tree84c9141ac53a1d443ead4fe04e267061caee2807 /src/arch
parent[prefix] Default to 1MB mark as fallback high memory load point (diff)
downloadipxe-483c3c06ab17f799ae02041ac0dd992142bcc305.tar.gz
ipxe-483c3c06ab17f799ae02041ac0dd992142bcc305.tar.xz
ipxe-483c3c06ab17f799ae02041ac0dd992142bcc305.zip
[romprefix] Provide indication of successful call to install_prealloc
The existing "iPXE starting execution" message indicates that the BEV (or INT19) was invoked, but gives no indication on whether or not the iPXE source was successfully retrieved (e.g. from PMM). Split the "starting execution message" into "starting execution...ok"; the "ok" indicates that the main iPXE body was successfully decompressed and relocated. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/prefix/romprefix.S16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/arch/i386/prefix/romprefix.S b/src/arch/i386/prefix/romprefix.S
index 3fec7327..6c9b4b0f 100644
--- a/src/arch/i386/prefix/romprefix.S
+++ b/src/arch/i386/prefix/romprefix.S
@@ -593,7 +593,7 @@ exec: /* Set %ds = %cs */
movw $prodstr, %si
xorw %di, %di
call print_message
- movw $exec_message, %si
+ movw $exec_message_pre_install, %si
call print_message
/* Store magic word on BIOS stack and remember BIOS %ss:sp */
@@ -612,6 +612,11 @@ exec: /* Set %ds = %cs */
call alloc_basemem
call install_prealloc
+ /* Print message indicating successful installation */
+ movw $exec_message_post_install, %si
+ xorw %di, %di
+ call print_message
+
/* Set up real-mode stack */
movw %bx, %ss
movw $_estack16, %sp
@@ -644,9 +649,12 @@ exec: /* Set %ds = %cs */
int $0x18
.previous
-exec_message:
- .asciz " starting execution\n"
- .size exec_message, . - exec_message
+exec_message_pre_install:
+ .asciz " starting execution..."
+ .size exec_message_pre_install, . - exec_message_pre_install
+exec_message_post_install:
+ .asciz "ok\n"
+ .size exec_message_post_install, . - exec_message_post_install
/* Wait for key press specified by %bl (masked by %bh)
*