diff --git a/sys/boot/pc98/kgzldr/Makefile b/sys/boot/pc98/kgzldr/Makefile index 22f0cb4d8dfc..ec7e33d19d76 100644 --- a/sys/boot/pc98/kgzldr/Makefile +++ b/sys/boot/pc98/kgzldr/Makefile @@ -15,16 +15,10 @@ AFLAGS+=--defsym PC98=1 CLEANFILES=${FILES} -M4?= m4 - BOOT_COMCONSOLE_PORT?= 0x238 M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT} kgzldr.o: ${OBJS} ${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS} -.s.o: - (cd ${.CURDIR}; ${M4} ${M4FLAGS} ../../i386/kgzldr/kgzldr.m4 ${.IMPSRC}) |\ - ${AS} ${AFLAGS} -o ${.TARGET} - .include diff --git a/sys/boot/pc98/kgzldr/crt.s b/sys/boot/pc98/kgzldr/crt.s index 31ffce4e240c..a1d37a4ff9f7 100644 --- a/sys/boot/pc98/kgzldr/crt.s +++ b/sys/boot/pc98/kgzldr/crt.s @@ -46,11 +46,11 @@ .set BDA_POS,0x450 # Cursor position .endif - .globl _(crt_putchr) + .globl crt_putchr # void crt_putchr(int c) -_(crt_putchr): movb 0x4(%esp,1),%al # Get character +crt_putchr: movb 0x4(%esp,1),%al # Get character pusha # Save xorl %ecx,%ecx # Zero for loops movb $SCR_MAT,%ah # Mode/attribute