Changeset f4c2b6a in mainline for kernel/genarch/src/acpi/madt.c
- Timestamp:
- 2008-06-03T14:59:48Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4fb51
- Parents:
- b63f8569
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/acpi/madt.c
rb63f8569 rf4c2b6a 127 127 int madt_irq_to_pin(unsigned int irq) 128 128 { 129 ASSERT(irq < sizeof(isa_irq_map) /sizeof(int));129 ASSERT(irq < sizeof(isa_irq_map) / sizeof(int)); 130 130 return isa_irq_map[irq]; 131 131 } … … 185 185 case MADT_L_SAPIC: 186 186 case MADT_PLATFORM_INTR_SRC: 187 printf("MADT: skipping %s entry (type=% zd)\n", entry[h->type], h->type);187 printf("MADT: skipping %s entry (type=%" PRIu8 ")\n", entry[h->type], h->type); 188 188 break; 189 189 190 190 default: 191 191 if (h->type >= MADT_RESERVED_SKIP_BEGIN && h->type <= MADT_RESERVED_SKIP_END) { 192 printf("MADT: skipping reserved entry (type=% zd)\n", h->type);192 printf("MADT: skipping reserved entry (type=%" PRIu8 ")\n", h->type); 193 193 } 194 194 if (h->type >= MADT_RESERVED_OEM_BEGIN) { 195 printf("MADT: skipping OEM entry (type=% zd)\n", h->type);195 printf("MADT: skipping OEM entry (type=%" PRIu8 ")\n", h->type); 196 196 } 197 197 break; … … 234 234 void madt_intr_src_ovrd_entry(struct madt_intr_src_ovrd *override, uint32_t index) 235 235 { 236 ASSERT(override->source < sizeof(isa_irq_map) /sizeof(int));237 printf("MADT: ignoring %s entry: bus=% zd, source=%zd, global_int=%zd, flags=%#hx\n",236 ASSERT(override->source < sizeof(isa_irq_map) / sizeof(int)); 237 printf("MADT: ignoring %s entry: bus=%" PRIu8 ", source=%" PRIu8 ", global_int=%" PRIu32 ", flags=%#" PRIx16 "\n", 238 238 entry[override->header.type], override->bus, override->source, 239 239 override->global_int, override->flags);
Note:
See TracChangeset
for help on using the changeset viewer.