diff options
Diffstat (limited to 'util/x86emu/yabel')
-rw-r--r-- | util/x86emu/yabel/biosemu.c | 6 | ||||
-rw-r--r-- | util/x86emu/yabel/compat/functions.c | 2 | ||||
-rw-r--r-- | util/x86emu/yabel/debug.c | 2 | ||||
-rw-r--r-- | util/x86emu/yabel/debug.h | 2 | ||||
-rw-r--r-- | util/x86emu/yabel/device.c | 4 | ||||
-rw-r--r-- | util/x86emu/yabel/device.h | 2 | ||||
-rw-r--r-- | util/x86emu/yabel/interrupt.c | 4 | ||||
-rw-r--r-- | util/x86emu/yabel/io.c | 2 | ||||
-rw-r--r-- | util/x86emu/yabel/mem.c | 4 | ||||
-rw-r--r-- | util/x86emu/yabel/pmm.c | 2 | ||||
-rw-r--r-- | util/x86emu/yabel/vbe.c | 4 |
11 files changed, 17 insertions, 17 deletions
diff --git a/util/x86emu/yabel/biosemu.c b/util/x86emu/yabel/biosemu.c index ca486138ba99..27387d04f0ec 100644 --- a/util/x86emu/yabel/biosemu.c +++ b/util/x86emu/yabel/biosemu.c @@ -13,7 +13,7 @@ #include <string.h> #include <types.h> -#if !COREBOOT_V2 +#ifndef COREBOOT_V2 #include <cpu.h> #endif @@ -21,7 +21,7 @@ #include <x86emu/x86emu.h> #include <x86emu/regs.h> -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "../x86emu/prim_ops.h" #else #include <x86emu/prim_ops.h> // for push_word @@ -34,7 +34,7 @@ #include "device.h" #include "pmm.h" -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "compat/rtas.h" #else #include <rtas.h> diff --git a/util/x86emu/yabel/compat/functions.c b/util/x86emu/yabel/compat/functions.c index 6702dcc76d32..2f4e0525b105 100644 --- a/util/x86emu/yabel/compat/functions.c +++ b/util/x86emu/yabel/compat/functions.c @@ -14,7 +14,7 @@ */ #include <types.h> -#if !COREBOOT_V2 +#ifndef COREBOOT_V2 #include <config.h> #endif #include <device/device.h> diff --git a/util/x86emu/yabel/debug.c b/util/x86emu/yabel/debug.c index c3768fcc5aa4..e3374ba8c88c 100644 --- a/util/x86emu/yabel/debug.c +++ b/util/x86emu/yabel/debug.c @@ -10,7 +10,7 @@ * IBM Corporation - initial implementation *****************************************************************************/ -#if !COREBOOT_V2 +#ifndef COREBOOT_V2 #include <cpu.h> #endif diff --git a/util/x86emu/yabel/debug.h b/util/x86emu/yabel/debug.h index de44c36b761b..987029afc6d9 100644 --- a/util/x86emu/yabel/debug.h +++ b/util/x86emu/yabel/debug.h @@ -19,7 +19,7 @@ extern u32 debug_flags; extern void x86emu_dump_xregs(void); /* printf is not available in coreboot... use printk */ -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include <console/console.h> #else #include <console.h> diff --git a/util/x86emu/yabel/device.c b/util/x86emu/yabel/device.c index 515531eb0e05..82619848e0ee 100644 --- a/util/x86emu/yabel/device.c +++ b/util/x86emu/yabel/device.c @@ -12,7 +12,7 @@ #include "device.h" -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "compat/rtas.h" #else #include "rtas.h" @@ -396,7 +396,7 @@ biosemu_dev_init(struct device * device) { u8 rval = 0; //init bios_device struct -#if COREBOOT_V2 +#ifdef COREBOOT_V2 DEBUG_PRINTF("%s\n", __func__); #else DEBUG_PRINTF("%s(%s)\n", __func__, device->dtsname); diff --git a/util/x86emu/yabel/device.h b/util/x86emu/yabel/device.h index c8e78db88607..1dad9e213cf7 100644 --- a/util/x86emu/yabel/device.h +++ b/util/x86emu/yabel/device.h @@ -14,7 +14,7 @@ #define DEVICE_LIB_H #include <types.h> -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include <arch/byteorder.h> #include "compat/of.h" #else diff --git a/util/x86emu/yabel/interrupt.c b/util/x86emu/yabel/interrupt.c index 39708984f6e4..62f8c25b4966 100644 --- a/util/x86emu/yabel/interrupt.c +++ b/util/x86emu/yabel/interrupt.c @@ -10,7 +10,7 @@ * IBM Corporation - initial implementation *****************************************************************************/ -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "compat/rtas.h" #else #include <rtas.h> @@ -23,7 +23,7 @@ #include "pmm.h" #include <x86emu/x86emu.h> -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "../x86emu/prim_ops.h" #else #include <x86emu/prim_ops.h> diff --git a/util/x86emu/yabel/io.c b/util/x86emu/yabel/io.c index a3d9f40c0c4c..a69e5e66cddd 100644 --- a/util/x86emu/yabel/io.c +++ b/util/x86emu/yabel/io.c @@ -11,7 +11,7 @@ *****************************************************************************/ #include <types.h> -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "compat/rtas.h" #include "compat/time.h" #else diff --git a/util/x86emu/yabel/mem.c b/util/x86emu/yabel/mem.c index af096bf3e5a2..6e6d40373895 100644 --- a/util/x86emu/yabel/mem.c +++ b/util/x86emu/yabel/mem.c @@ -11,14 +11,14 @@ *****************************************************************************/ #include <types.h> -#if !COREBOOT_V2 +#ifndef COREBOOT_V2 #include <cpu.h> #endif #include "debug.h" #include "device.h" #include "x86emu/x86emu.h" #include "biosemu.h" -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "compat/time.h" #else #include <time.h> diff --git a/util/x86emu/yabel/pmm.c b/util/x86emu/yabel/pmm.c index 0186db92f566..fe7a3f4722db 100644 --- a/util/x86emu/yabel/pmm.c +++ b/util/x86emu/yabel/pmm.c @@ -10,7 +10,7 @@ ****************************************************************************/ #include <x86emu/x86emu.h> -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "../x86emu/prim_ops.h" #else #include <x86emu/prim_ops.h> diff --git a/util/x86emu/yabel/vbe.c b/util/x86emu/yabel/vbe.c index 5fbf36c63f88..5033c543d810 100644 --- a/util/x86emu/yabel/vbe.c +++ b/util/x86emu/yabel/vbe.c @@ -12,7 +12,7 @@ #include <string.h> #include <types.h> -#if !COREBOOT_V2 +#ifndef COREBOOT_V2 #include <cpu.h> #endif @@ -20,7 +20,7 @@ #include <x86emu/x86emu.h> #include <x86emu/regs.h> -#if COREBOOT_V2 +#ifdef COREBOOT_V2 #include "../x86emu/prim_ops.h" #else #include <x86emu/prim_ops.h> // for push_word |