Changeset 280a27e in mainline for genarch/src/acpi/matd.c


Ignore:
Timestamp:
2006-04-16T13:16:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50de918
Parents:
c624b96
Message:

Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • genarch/src/acpi/matd.c

    rc624b96 r280a27e  
    177177                        case MADT_L_SAPIC:
    178178                        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);
    180180                                break;
    181181
    182182                        default:
    183183                                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);
    185185                                }
    186186                                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);
    188188                                }
    189189                                break;
     
    229229{
    230230        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",
    232232                entry[override->header.type], override->bus, override->source,
    233233                override->global_int, override->flags);
Note: See TracChangeset for help on using the changeset viewer.