Browse Source

[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>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
483c3c06ab
1 changed files with 12 additions and 4 deletions
  1. 12
    4
      src/arch/i386/prefix/romprefix.S

+ 12
- 4
src/arch/i386/prefix/romprefix.S View File

@@ -593,7 +593,7 @@ exec:	/* Set %ds = %cs */
593 593
 	movw	$prodstr, %si
594 594
 	xorw	%di, %di
595 595
 	call	print_message
596
-	movw	$exec_message, %si
596
+	movw	$exec_message_pre_install, %si
597 597
 	call	print_message
598 598
 
599 599
 	/* Store magic word on BIOS stack and remember BIOS %ss:sp */
@@ -612,6 +612,11 @@ exec:	/* Set %ds = %cs */
612 612
 	call	alloc_basemem
613 613
 	call	install_prealloc
614 614
 
615
+	/* Print message indicating successful installation */
616
+	movw	$exec_message_post_install, %si
617
+	xorw	%di, %di
618
+	call	print_message
619
+
615 620
 	/* Set up real-mode stack */
616 621
 	movw	%bx, %ss
617 622
 	movw	$_estack16, %sp
@@ -644,9 +649,12 @@ exec:	/* Set %ds = %cs */
644 649
 	int	$0x18
645 650
 	.previous
646 651
 
647
-exec_message:
648
-	.asciz	" starting execution\n"
649
-	.size exec_message, . - exec_message
652
+exec_message_pre_install:
653
+	.asciz	" starting execution..."
654
+	.size exec_message_pre_install, . - exec_message_pre_install
655
+exec_message_post_install:
656
+	.asciz	"ok\n"
657
+	.size exec_message_post_install, . - exec_message_post_install
650 658
 
651 659
 /* Wait for key press specified by %bl (masked by %bh)
652 660
  *

Loading…
Cancel
Save