Fix bogus instances of writestr_early
authorH. Peter Anvin <hpa@zytor.com>
Sun, 15 Jun 2008 17:42:01 +0000 (10:42 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 15 Jun 2008 17:42:01 +0000 (10:42 -0700)
Fix a set of bogus calls to writestr_early instead of writestr.

core/comboot.inc
core/localboot.inc
core/parseconfig.inc
core/writestr.inc

index aede9de..40f8817 100644 (file)
@@ -397,7 +397,7 @@ comapi_nop:
 comapi_writestr:
                mov ds,P_ES
                mov si,P_BX
-               call writestr_early
+               call writestr
                clc
                ret
 
index 6282257..ae54737 100644 (file)
@@ -30,7 +30,7 @@ local_boot:
                mov fs,dx
                mov gs,dx
                mov si,localboot_msg
-               call writestr_early
+               call writestr
                cmp ax,-1
                je .int18
 
index dfd380f..2ef9c3a 100644 (file)
@@ -328,7 +328,7 @@ pc_label:   call commit_vk                  ; Commit any current vkernel
 ; "say" command
 ;
 pc_say:                call pc_getline                 ; "say" command
-               call writestr_early
+               call writestr
                jmp crlf                        ; tailcall
 
 ;
@@ -410,7 +410,7 @@ commit_vk:
                ret
 .overflow:
                mov si,vk_overflow_msg
-               call writestr_early
+               call writestr
                ret
 
                section .data
index 65e37c9..4adc6bf 100644 (file)
@@ -32,7 +32,8 @@ crlf:         push ax
 ; writestr: write a null-terminated string to the console, saving
 ;            registers on entry.
 ;
-; Note: writestr_early and writestr are distinct in SYSLINUX (only)
+; Note: writestr_early and writestr are distinct in
+; SYSLINUX and EXTLINUX, but not PXELINUX and ISOLINUX
 ;
 writestr:
                pushfd