Changeset f651e80 in mainline for kernel/arch/ia32/src/smp/smp.c


Ignore:
Timestamp:
2009-01-08T12:07:38Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7447572
Parents:
c571f42
Message:

Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/smp/smp.c

    rc571f42 rf651e80  
    7676            FRAME_ATOMIC | FRAME_KA);
    7777        if (!l_apic_address)
    78                 panic("cannot allocate address for l_apic\n");
     78                panic("Cannot allocate address for l_apic.");
    7979
    8080        io_apic_address = (uintptr_t) frame_alloc(ONE_FRAME,
    8181            FRAME_ATOMIC | FRAME_KA);
    8282        if (!io_apic_address)
    83                 panic("cannot allocate address for io_apic\n");
     83                panic("Cannot allocate address for io_apic.");
    8484
    8585        if (config.cpu_count > 1) {             
     
    158158                    sizeof(struct descriptor), FRAME_ATOMIC | FRAME_LOW_4_GiB);
    159159                if (!gdt_new)
    160                         panic("couldn't allocate memory for GDT\n");
     160                        panic("Cannot allocate memory for GDT.");
    161161
    162162                memcpy(gdt_new, gdt, GDT_ITEMS * sizeof(struct descriptor));
Note: See TracChangeset for help on using the changeset viewer.