diff options
author | Andreas Färber <andreas.faerber@web.de> | 2010-12-19 17:22:39 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-12-20 21:02:57 +0000 |
commit | f5095c639fe2861b6401be6e26fa3ffb9d30eba4 (patch) | |
tree | a1326f2b3e5b517588864c6bab45aa455b9bcd8a /hw/apic.c | |
parent | 4fd37a98d1248bae54a9f71ee1c252d2b2f1efd5 (diff) |
apic: Fix accidental use of SoftFloat uint32 type
softfloat.h's uint32 type has least-width semantics.
Surrounding code uses uint32_t, so use uint32_t here, too.
v4:
* Summary change.
v3:
* Split off.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/apic.c')
-rw-r--r-- | hw/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -765,7 +765,7 @@ static uint32_t apic_mem_readl(void *opaque, target_phys_addr_t addr) return val; } -static void apic_send_msi(target_phys_addr_t addr, uint32 data) +static void apic_send_msi(target_phys_addr_t addr, uint32_t data) { uint8_t dest = (addr & MSI_ADDR_DEST_ID_MASK) >> MSI_ADDR_DEST_ID_SHIFT; uint8_t vector = (data & MSI_DATA_VECTOR_MASK) >> MSI_DATA_VECTOR_SHIFT; |