Rev 822 | Rev 1266 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 822 | Rev 1196 | ||
---|---|---|---|
Line 174... | Line 174... | ||
174 | case MADT_L_APIC_NMI: |
174 | case MADT_L_APIC_NMI: |
175 | case MADT_L_APIC_ADDR_OVRD: |
175 | case MADT_L_APIC_ADDR_OVRD: |
176 | case MADT_IO_SAPIC: |
176 | case MADT_IO_SAPIC: |
177 | case MADT_L_SAPIC: |
177 | case MADT_L_SAPIC: |
178 | case MADT_PLATFORM_INTR_SRC: |
178 | case MADT_PLATFORM_INTR_SRC: |
179 | printf("MADT: skipping %s entry (type=%d)\n", entry[h->type], h->type); |
179 | printf("MADT: skipping %s entry (type=%zd)\n", entry[h->type], h->type); |
180 | break; |
180 | break; |
181 | 181 | ||
182 | default: |
182 | default: |
183 | if (h->type >= MADT_RESERVED_SKIP_BEGIN && h->type <= MADT_RESERVED_SKIP_END) { |
183 | if (h->type >= MADT_RESERVED_SKIP_BEGIN && h->type <= MADT_RESERVED_SKIP_END) { |
184 | printf("MADT: skipping reserved entry (type=%d)\n", h->type); |
184 | printf("MADT: skipping reserved entry (type=%zd)\n", h->type); |
185 | } |
185 | } |
186 | if (h->type >= MADT_RESERVED_OEM_BEGIN) { |
186 | if (h->type >= MADT_RESERVED_OEM_BEGIN) { |
187 | printf("MADT: skipping OEM entry (type=%d)\n", h->type); |
187 | printf("MADT: skipping OEM entry (type=%zd)\n", h->type); |
188 | } |
188 | } |
189 | break; |
189 | break; |
190 | } |
190 | } |
191 | 191 | ||
192 | 192 | ||
Line 226... | Line 226... | ||
226 | } |
226 | } |
227 | 227 | ||
228 | void madt_intr_src_ovrd_entry(struct madt_intr_src_ovrd *override, __u32 index) |
228 | void madt_intr_src_ovrd_entry(struct madt_intr_src_ovrd *override, __u32 index) |
229 | { |
229 | { |
230 | ASSERT(override->source < sizeof(isa_irq_map)/sizeof(int)); |
230 | ASSERT(override->source < sizeof(isa_irq_map)/sizeof(int)); |
231 | printf("MADT: ignoring %s entry: bus=%d, source=%d, global_int=%d, flags=%W\n", |
231 | printf("MADT: ignoring %s entry: bus=%zd, source=%zd, global_int=%zd, flags=%#hX\n", |
232 | entry[override->header.type], override->bus, override->source, |
232 | entry[override->header.type], override->bus, override->source, |
233 | override->global_int, override->flags); |
233 | override->global_int, override->flags); |
234 | } |
234 | } |
235 | 235 | ||
236 | #endif /* CONFIG_SMP */ |
236 | #endif /* CONFIG_SMP */ |