From 91810ddf798be6067dd4a42dd4c708573645987d Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Wed, 30 Jul 2014 13:53:04 +1000 Subject: device/oprom/realmode: Sanitize header inclusion Alphabetise includes to avoid duplication. Change-Id: I7fa6998cd736bad2bab4a6b1a65d48a21d6220d9 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/6415 Tested-by: build bot (Jenkins) Reviewed-by: Isaac Christensen --- src/device/oprom/realmode/x86.c | 22 +++++++++++----------- src/device/oprom/realmode/x86.h | 2 +- src/device/oprom/realmode/x86_interrupts.c | 10 ++++++---- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c index 7dec2587bf..fc3c40c789 100644 --- a/src/device/oprom/realmode/x86.c +++ b/src/device/oprom/realmode/x86.c @@ -18,26 +18,26 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include -#include - #include +#include #include -#include -#include +#include #include #include -#include -#include +#include +#include #include +#include +#include +#include #include -#include "x86.h" +#include #include -#include + /* we use x86emu's register file representation */ #include -#include -#include + +#include "x86.h" /* The following symbols cannot be used directly. They need to be fixed up * to point to the correct address location after the code has been copied diff --git a/src/device/oprom/realmode/x86.h b/src/device/oprom/realmode/x86.h index a811a5621e..a0c7a9002c 100644 --- a/src/device/oprom/realmode/x86.h +++ b/src/device/oprom/realmode/x86.h @@ -52,4 +52,4 @@ int int12_handler(void); int int16_handler(void); int int1a_handler(void); -#endif +#endif /* __DEVICE_OPROM_REALMODE_X86_H__ */ diff --git a/src/device/oprom/realmode/x86_interrupts.c b/src/device/oprom/realmode/x86_interrupts.c index 1ee6979696..56a9b1b5df 100644 --- a/src/device/oprom/realmode/x86_interrupts.c +++ b/src/device/oprom/realmode/x86_interrupts.c @@ -19,17 +19,19 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include +#include +#include #include #include #include #include -#include -#include -#include -#include "x86.h" + /* we use x86emu's register file representation */ #include +#include "x86.h" + // errors go in AH. Just set these up so that word assigns // will work. KISS. enum { -- cgit v1.2.3