Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 67 → Rev 68

/SPARTAN/trunk/arch/ia32/src/smp/mps.c
469,7 → 469,7
* Prepare new GDT for CPU in question.
*/
if (!(gdt_new = (struct descriptor *) malloc(GDT_ITEMS*sizeof(struct descriptor))))
panic(PANIC "couldn't allocate memory for GDT\n");
panic("couldn't allocate memory for GDT\n");
 
memcopy(gdt, gdt_new, GDT_ITEMS*sizeof(struct descriptor));
gdtr.base = (__address) gdt_new;