summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/libsa/exec_i386.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-30 14:06:30 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-30 14:06:30 +0000
commit73b501f9e7b72dd509a9b8d60ced65be3db8742b (patch)
treee40fc6ac31e5a0ca4a03181deaebbbe70ae1cdcd /sys/arch/amd64/stand/libsa/exec_i386.c
parent2f004055b83f45bdf36995e319dea3b4435d14d0 (diff)
Apply a bunch of style(9) and whitespace fixes to i386/amd64 libsa, making
the code actually diffable. No binary change.
Diffstat (limited to 'sys/arch/amd64/stand/libsa/exec_i386.c')
-rw-r--r--sys/arch/amd64/stand/libsa/exec_i386.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/arch/amd64/stand/libsa/exec_i386.c b/sys/arch/amd64/stand/libsa/exec_i386.c
index cdce6ac2cd4..4da5dad8062 100644
--- a/sys/arch/amd64/stand/libsa/exec_i386.c
+++ b/sys/arch/amd64/stand/libsa/exec_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_i386.c,v 1.11 2012/10/27 15:43:42 jsing Exp $ */
+/* $OpenBSD: exec_i386.c,v 1.12 2012/10/30 14:06:29 jsing Exp $ */
/*
* Copyright (c) 1997-1998 Michael Shalayeff
@@ -44,7 +44,7 @@
#endif
typedef void (*startfuncp)(int, int, int, int, int, int, int, int)
- __attribute__ ((noreturn));
+ __attribute__ ((noreturn));
char *bootmac = NULL;
@@ -112,9 +112,11 @@ run_loadfile(u_long *marks, int howto)
entry = marks[MARK_ENTRY] & 0x0fffffff;
printf("entry point at 0x%lx [%x, %x, %x, %x]\n", entry,
- ((int *)entry)[0], ((int *)entry)[1], ((int *)entry)[2], ((int *)entry)[3]);
+ ((int *)entry)[0], ((int *)entry)[1],
+ ((int *)entry)[2], ((int *)entry)[3]);
+
/* stack and the gung is ok at this point, so, no need for asm setup */
- (*(startfuncp)entry)(howto, bootdev, BOOTARG_APIVER,
- marks[MARK_END], extmem, cnvmem, ac, (int)av);
+ (*(startfuncp)entry)(howto, bootdev, BOOTARG_APIVER, marks[MARK_END],
+ extmem, cnvmem, ac, (int)av);
/* not reached */
}