aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/boot/pc98/kgzldr/Makefile6
-rw-r--r--sys/boot/pc98/kgzldr/crt.s4
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/boot/pc98/kgzldr/Makefile b/sys/boot/pc98/kgzldr/Makefile
index 22f0cb4d8dfc8..ec7e33d19d768 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 <bsd.prog.mk>
diff --git a/sys/boot/pc98/kgzldr/crt.s b/sys/boot/pc98/kgzldr/crt.s
index 31ffce4e240ca..a1d37a4ff9f7a 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