svn commit: r240341 - head/sys/boot/i386/loader
Andriy Gapon
avg at FreeBSD.org
Tue Sep 11 06:15:56 UTC 2012
Author: avg
Date: Tue Sep 11 06:15:55 2012
New Revision: 240341
URL: http://svn.freebsd.org/changeset/base/240341
Log:
a bit of trailing whitespace cleanup
MFC after: 1 week
Modified:
head/sys/boot/i386/loader/main.c
Modified: head/sys/boot/i386/loader/main.c
==============================================================================
--- head/sys/boot/i386/loader/main.c Tue Sep 11 06:14:03 2012 (r240340)
+++ head/sys/boot/i386/loader/main.c Tue Sep 11 06:15:55 2012 (r240341)
@@ -322,13 +322,13 @@ command_heap(int argc, char *argv[])
}
/* ISA bus access functions for PnP, derived from <machine/cpufunc.h> */
-static int
+static int
isa_inb(int port)
{
u_char data;
-
- if (__builtin_constant_p(port) &&
- (((port) & 0xffff) < 0x100) &&
+
+ if (__builtin_constant_p(port) &&
+ (((port) & 0xffff) < 0x100) &&
((port) < 0x10000)) {
__asm __volatile("inb %1,%0" : "=a" (data) : "id" ((u_short)(port)));
} else {
@@ -341,9 +341,9 @@ static void
isa_outb(int port, int value)
{
u_char al = value;
-
- if (__builtin_constant_p(port) &&
- (((port) & 0xffff) < 0x100) &&
+
+ if (__builtin_constant_p(port) &&
+ (((port) & 0xffff) < 0x100) &&
((port) < 0x10000)) {
__asm __volatile("outb %0,%1" : : "a" (al), "id" ((u_short)(port)));
} else {
More information about the svn-src-head
mailing list