Skip to content

Commit

Permalink
Add a serial console capable version of the FreeBSD boot manager. Thi…
Browse files Browse the repository at this point in the history
…s has

been lying around my tree(s) for the past year or so. It could do with TLC.

Requested by:	obrien
Sponsored by:	Weyland-Yutani Corporation
  • Loading branch information
bms committed Dec 8, 2003
1 parent 3f86283 commit 6536894
Show file tree
Hide file tree
Showing 3 changed files with 883 additions and 1 deletion.
10 changes: 9 additions & 1 deletion sys/boot/i386/boot0/Makefile
Expand Up @@ -31,6 +31,14 @@ boot0.o: boot0.s
${AS} ${AFLAGS} --defsym FLAGS=${BOOT_BOOT0_FLAGS} \
--defsym TICKS=${BOOT_BOOT0_TICKS} ${.IMPSRC} -o ${.TARGET}

CLEANFILES+= boot0.out boot0.o
boot0sio: boot0sio.o
${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o boot0sio.out boot0sio.o
objcopy -S -O binary boot0sio.out ${.TARGET}

boot0sio.o: boot0sio.s
${AS} ${AFLAGS} --defsym FLAGS=${BOOT_BOOT0_FLAGS} \
--defsym TICKS=${BOOT_BOOT0_TICKS} ${.IMPSRC} -o ${.TARGET}

CLEANFILES+= boot0.out boot0.o boot0sio.out boot0sio.o

.include <bsd.prog.mk>

0 comments on commit 6536894

Please sign in to comment.