summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-04-24 06:56:37 +0000
committerEric Biederman <ebiederm@xmission.com>2003-04-24 06:56:37 +0000
commit8cd55d7f4a90d8c1499dddd319db12e6c4942e51 (patch)
treecee2fc53133217f7d907aed49124124782f9d542 /src/arch/i386/boot
parent5899fd82aa2f5c3855eb6630f702f3239b6b7015 (diff)
- More attempts to leave irqs in a working state.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@796 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/boot')
-rw-r--r--src/arch/i386/boot/pirq_routing.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/i386/boot/pirq_routing.c
index a7325c42ac..a6d2c26557 100644
--- a/src/arch/i386/boot/pirq_routing.c
+++ b/src/arch/i386/boot/pirq_routing.c
@@ -5,21 +5,21 @@
#ifdef DEBUG
void check_pirq_routing_table(void)
{
- const u8 *addr;
+ const uint8_t *addr;
const struct irq_routing_table *rt;
int i;
- u8 sum;
+ uint8_t sum;
printk_info("Checking IRQ routing tables...\n");
-#ifdef(IRQ_SLOT_COUNT)
+#if defined(IRQ_SLOT_COUNT)
if (sizeof(intel_irq_routing_table) != intel_irq_routing_table.size) {
printk_warning("Inconsistent IRQ routing table size\n");
}
#endif
rt = &intel_irq_routing_table;
- addr = (u8 *)rt;
+ addr = (uint8_t *)rt;
sum = 0;
for (i = 0; i < rt->size; i++)
@@ -60,10 +60,10 @@ void check_pirq_routing_table(void)
int verify_copy_pirq_routing_table(unsigned long addr)
{
int i;
- u8 *rt_orig, *rt_curr;
+ uint8_t *rt_orig, *rt_curr;
- rt_curr = (u8*)addr;
- rt_orig = (u8*)&intel_irq_routing_table;
+ rt_curr = (uint8_t*)addr;
+ rt_orig = (uint8_t*)&intel_irq_routing_table;
printk_info("Verifing priq routing tables copy at 0x%x...", addr);
for (i = 0; i < intel_irq_routing_table.size; i++) {
if (*(rt_curr + i) != *(rt_orig + i)) {