diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-04-13 19:43:26 +1000 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-04-13 19:43:26 +1000 |
commit | dbf7115a326fa70ac3e4ca87497c7e21c6642b45 (patch) | |
tree | 6af884cf4dbe8db63ffb7628487a1b4f7ea9db5e /arch/i386/lib/realmode.c | |
parent | e413554f9df28b383eeb8e8e5de35848b15d74aa (diff) |
x86: Code cleanup
Make the copyright notices in the x86 files consistent and update them with
proper attributions for recent updates
Also fix a few comment style/accuracy and whitespace/blank line issues
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/i386/lib/realmode.c')
-rw-r--r-- | arch/i386/lib/realmode.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/i386/lib/realmode.c b/arch/i386/lib/realmode.c index 2dda95b064..5be827c66b 100644 --- a/arch/i386/lib/realmode.c +++ b/arch/i386/lib/realmode.c @@ -1,6 +1,6 @@ /* * (C) Copyright 2002 - * Daniel Engström, Omicron Ceti AB, daniel@omicron.se + * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se> * * See file CREDITS for list of people who contributed to this * project. @@ -26,10 +26,8 @@ #include <asm/ptrace.h> #include <asm/realmode.h> - #define REALMODE_MAILBOX ((char*)0xe00) - extern ulong __realmode_start; extern ulong __realmode_size; extern char realmode_enter; @@ -57,13 +55,11 @@ int enter_realmode(u16 seg, u16 off, struct pt_regs *in, struct pt_regs *out) { /* setup out thin bios emulation */ - if (bios_setup()) { + if (bios_setup()) return -1; - } - if (realmode_setup()) { + if (realmode_setup()) return -1; - } in->eip = off; in->xcs = seg; |