Changeset f651e80 in mainline for kernel/arch/ia32/src/smp/smp.c
- Timestamp:
- 2009-01-08T12:07:38Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7447572
- Parents:
- c571f42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/smp/smp.c
rc571f42 rf651e80 76 76 FRAME_ATOMIC | FRAME_KA); 77 77 if (!l_apic_address) 78 panic(" cannot allocate address for l_apic\n");78 panic("Cannot allocate address for l_apic."); 79 79 80 80 io_apic_address = (uintptr_t) frame_alloc(ONE_FRAME, 81 81 FRAME_ATOMIC | FRAME_KA); 82 82 if (!io_apic_address) 83 panic(" cannot allocate address for io_apic\n");83 panic("Cannot allocate address for io_apic."); 84 84 85 85 if (config.cpu_count > 1) { … … 158 158 sizeof(struct descriptor), FRAME_ATOMIC | FRAME_LOW_4_GiB); 159 159 if (!gdt_new) 160 panic(" couldn't allocate memory for GDT\n");160 panic("Cannot allocate memory for GDT."); 161 161 162 162 memcpy(gdt_new, gdt, GDT_ITEMS * sizeof(struct descriptor));
Note:
See TracChangeset
for help on using the changeset viewer.