summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/gptboot.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-11 21:39:59 +0000
committerpeter <peter@FreeBSD.org>2002-05-11 21:39:59 +0000
commitf9b8106499856cbe85fa205e4448f0bf10b4cf48 (patch)
treed97d7d03416459d900f0003d0bbad4a4ddc09aa5 /sys/boot/i386/gptboot/gptboot.c
parent9b110cfade29b1b5f79ac073d1939f8dde64487e (diff)
downloadFreeBSD-src-f9b8106499856cbe85fa205e4448f0bf10b4cf48.zip
FreeBSD-src-f9b8106499856cbe85fa205e4448f0bf10b4cf48.tar.gz
Use a crowbar and duct-tape to make boot2 fit again. This gets it down
to 4 bytes free. I removed a printf (the Keyboard yes/no) since it is of marginal value and sed'ed the generated asm output to remove the unwanted aligns. There's probably a better way to gain a few extra bytes than losing the printf. Shortening strings is probably a better option but this should get us over the hurdle.
Diffstat (limited to 'sys/boot/i386/gptboot/gptboot.c')
-rw-r--r--sys/boot/i386/gptboot/gptboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/gptboot/gptboot.c b/sys/boot/i386/gptboot/gptboot.c
index 68aa057..849bd22 100644
--- a/sys/boot/i386/gptboot/gptboot.c
+++ b/sys/boot/i386/gptboot/gptboot.c
@@ -456,7 +456,7 @@ parse(char *arg)
}
if (opts & 1 << RBX_PROBEKBD) {
i = *(uint8_t *)PTOV(0x496) & 0x10;
- printf("Keyboard: %s\n", i ? "yes" : "no");
+ /* printf("Keyboard: %s\n", i ? "yes" : "no"); XXX GCC31 size */
if (!i)
opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL;
opts &= ~(1 << RBX_PROBEKBD);
OpenPOWER on IntegriCloud