Subversion Repositories HelenOS-historic

Compare Revisions

Regard whitespace Rev 273 → Rev 268

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