Rev 2101 | Rev 3386 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2101 | Rev 3071 | ||
---|---|---|---|
Line 182... | Line 182... | ||
182 | case MADT_L_APIC_NMI: |
182 | case MADT_L_APIC_NMI: |
183 | case MADT_L_APIC_ADDR_OVRD: |
183 | case MADT_L_APIC_ADDR_OVRD: |
184 | case MADT_IO_SAPIC: |
184 | case MADT_IO_SAPIC: |
185 | case MADT_L_SAPIC: |
185 | case MADT_L_SAPIC: |
186 | case MADT_PLATFORM_INTR_SRC: |
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 | break; |
188 | break; |
189 | 189 | ||
190 | default: |
190 | default: |
191 | if (h->type >= MADT_RESERVED_SKIP_BEGIN && h->type <= MADT_RESERVED_SKIP_END) { |
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 | if (h->type >= MADT_RESERVED_OEM_BEGIN) { |
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 | break; |
197 | break; |
198 | } |
198 | } |
199 | } |
199 | } |
200 | } |
200 | } |
Line 232... | Line 232... | ||
232 | } |
232 | } |
233 | 233 | ||
234 | void madt_intr_src_ovrd_entry(struct madt_intr_src_ovrd *override, uint32_t index) |
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)); |
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", |
237 | printf("MADT: ignoring %s entry: bus=%" PRIu8 ", source=%" PRIu8 ", global_int=%" PRIu32 ", flags=%#" PRIx16 "\n", |
238 | entry[override->header.type], override->bus, override->source, |
238 | entry[override->header.type], override->bus, override->source, |
239 | override->global_int, override->flags); |
239 | override->global_int, override->flags); |
240 | } |
240 | } |
241 | 241 | ||
242 | #endif /* CONFIG_SMP */ |
242 | #endif /* CONFIG_SMP */ |