Changeset f651e80 in mainline for kernel/arch/ia32xen/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/ia32xen/src/smp/smp.c
rc571f42 rf651e80 73 73 l_apic_address = (uintptr_t) frame_alloc(ONE_FRAME, FRAME_ATOMIC | FRAME_KA); 74 74 if (!l_apic_address) 75 panic(" cannot allocate address for l_apic\n");75 panic("Cannot allocate address for l_apic."); 76 76 77 77 io_apic_address = (uintptr_t) frame_alloc(ONE_FRAME, FRAME_ATOMIC | FRAME_KA); 78 78 if (!io_apic_address) 79 panic(" cannot allocate address for io_apic\n");79 panic("Cannot allocate address for io_apic."); 80 80 81 81 if (config.cpu_count > 1) { … … 144 144 */ 145 145 if (!(gdt_new = (struct descriptor *) malloc(GDT_ITEMS * sizeof(struct descriptor), FRAME_ATOMIC))) 146 panic(" couldn't allocate memory for GDT\n");146 panic("Cannot allocate memory for GDT."); 147 147 148 148 memcpy(gdt_new, gdt, GDT_ITEMS * sizeof(struct descriptor));
Note:
See TracChangeset
for help on using the changeset viewer.