Op 20100402 om 23:21 schreef Michael Brown: > On Friday 02 April 2010 11:48:48 Geert Stappers wrote: > > What should I do to "early print strings"? > > Use the various print_xxx functions in libprefix.S, which are already > available to you.
|diff --git a/src/arch/i386/prefix/mbr.S b/src/arch/i386/prefix/mbr.S |index adfe204..ae37337 100644 |--- a/src/arch/i386/prefix/mbr.S |+++ b/src/arch/i386/prefix/mbr.S |@@ -5,6 +5,11 @@ | .org 0 | | mbr: |+ movw $outROM, %si |+ movw $0x0000, %di |+ jmp 1 |+outROM: .asciz "out ROM, in gPXE\r\n" |+1: call print_message | movw $exec_sector, %bp | jmp find_active_partition | exec_sector: Results in a hang while executing on qemu. |diff --git a/src/arch/i386/prefix/mbr.S b/src/arch/i386/prefix/mbr.S |index adfe204..ae37337 100644 |--- a/src/arch/i386/prefix/mbr.S |+++ b/src/arch/i386/prefix/mbr.S |@@ -5,6 +5,11 @@ | .org 0 | | mbr: |+ movw $outROM, %si |+ movw $0x0000, %di |+ jmp 1 |+outROM: .asciz "out ROM, in gPXE\r\n" |+1: call print_RANDOM_label | movw $exec_sector, %bp | jmp find_active_partition | exec_sector: Same result, not even a build error message. What should I do to tell the build system, that I mean with 'print_message' in file mbr.S the global label 'print_message' in file libprefix.S? Groeten Geert Stappers _______________________________________________ gPXE mailing list [email protected] http://etherboot.org/mailman/listinfo/gpxe
