mp_ktss[mycpu] = &mpt->ktss;
mp_gdt[mycpu] = mpt->gdt;
mp_idt[mycpu] = mpt->idt;
mp_ktss[mycpu] = &mpt->ktss;
mp_gdt[mycpu] = mpt->gdt;
mp_idt[mycpu] = mpt->idt;
sizeof(ldt));
bzero((char *)&mpt->ktss,
sizeof(struct i386_tss));
sizeof(ldt));
bzero((char *)&mpt->ktss,
sizeof(struct i386_tss));
mpt = (struct mp_desc_table *) phystokv(avail_start);
avail_start = round_page((vm_offset_t)avail_start +
sizeof(struct mp_desc_table)*(cpu_count-1));
mpt = (struct mp_desc_table *) phystokv(avail_start);
avail_start = round_page((vm_offset_t)avail_start +
sizeof(struct mp_desc_table)*(cpu_count-1));