Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 272 → Rev 273

/SPARTAN/trunk/arch/amd64/src/boot/boot.S
66,10 → 66,7
jnc no_long_mode
 
# Load gdtr, idtr
lgdt gdtr_inst
# Load idtr, but it contains mess - we should not get interrupt
# anyway
lidt idtr_inst
lgdt bsp_bootstrap_gdtr
movl %cr0,%eax
orl $0x1,%eax
154,11 → 151,11
.quad ptl_1 + (PTL_WRITABLE | PTL_PRESENT)
 
.global gdtr_inst
gdtr_inst:
bsp_bootstrap_gdtr:
.word gdtselector(GDT_ITEMS)
.long KA2PA(gdt)
 
.global idtr_inst
idtr_inst:
.word idtselector(IDT_ITEMS)
.long KA2PA(idt)
.global ap_bootstrap_gdtr
ap_bootstrap_gdtr:
.word gdtselector(GDT_ITEMS)
.long KA2PA(gdt)