From 7894fcd21732dd2ddfbb9beca52d037a62ed11f4 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Thu, 25 Aug 2016 09:13:00 -0400 Subject: =?UTF-8?q?Remove=20trailing=20white=20space=20with:=20=20for=20f?= =?UTF-8?q?=20in=20*.{h,c};=20do=20sed=20-i=20.sed=20's/[[:blank:]]*$//'?= =?UTF-8?q?=20$f;=20done=20(Thanks=20to=20Nicol=C3=A1s=20Wolovick)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uart.c') diff --git a/uart.c b/uart.c index 576e254..257384a 100644 --- a/uart.c +++ b/uart.c @@ -22,7 +22,7 @@ uartinit(void) // Turn off the FIFO outb(COM1+2, 0); - + // 9600 baud, 8 data bits, 1 stop bit, parity off. outb(COM1+3, 0x80); // Unlock divisor outb(COM1+0, 115200/9600); @@ -42,7 +42,7 @@ uartinit(void) inb(COM1+0); picenable(IRQ_COM1); ioapicenable(IRQ_COM1, 0); - + // Announce that we're here. for(p="xv6...\n"; *p; p++) uartputc(*p); -- cgit v1.2.3