diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/emulation/qemu-x86/northbridge.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/emulation/qemu-x86/northbridge.c b/src/cpu/emulation/qemu-x86/northbridge.c index 7c3c18095c..44fb1ce598 100644 --- a/src/cpu/emulation/qemu-x86/northbridge.c +++ b/src/cpu/emulation/qemu-x86/northbridge.c @@ -8,6 +8,7 @@ #include <bitops.h> #include "chip.h" #include "northbridge.h" +#include <delay.h> static void ram_resource(device_t dev, unsigned long index, unsigned long basek, unsigned long sizek) @@ -157,9 +158,9 @@ struct chip_operations cpu_emulation_qemu_x86_ops = { .enable_dev = enable_dev, }; -void udelay(int usecs) +void udelay(unsigned usecs) { - int i; + unsigned i; for(i = 0; i < usecs; i++) inb(0x80); } |