Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/i386/locore.s
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | |||||
bootinfo: .space BOOTINFO_SIZE /* bootinfo that we can handle */ | bootinfo: .space BOOTINFO_SIZE /* bootinfo that we can handle */ | ||||
.text | .text | ||||
/********************************************************************** | /********************************************************************** | ||||
* | * | ||||
* This is where the bootblocks start us, set the ball rolling... | * This is where the bootblocks start us, set the ball rolling... | ||||
* | * | ||||
*/ | */ | ||||
NON_GPROF_ENTRY(btext) | ENTRY(btext) | ||||
/* Tell the bios to warmboot next time */ | /* Tell the bios to warmboot next time */ | ||||
movw $0x1234,0x472 | movw $0x1234,0x472 | ||||
/* Set up a real frame in case the double return in newboot is executed. */ | /* Set up a real frame in case the double return in newboot is executed. */ | ||||
xorl %ebp,%ebp | xorl %ebp,%ebp | ||||
pushl %ebp | pushl %ebp | ||||
movl %esp, %ebp | movl %esp, %ebp | ||||
▲ Show 20 Lines • Show All 355 Lines • ▼ Show 20 Lines | 3: | ||||
ret | ret | ||||
END(identify_cpu) | END(identify_cpu) | ||||
#ifdef XENHVM | #ifdef XENHVM | ||||
/* Xen Hypercall page */ | /* Xen Hypercall page */ | ||||
.text | .text | ||||
.p2align PAGE_SHIFT, 0x90 /* Hypercall_page needs to be PAGE aligned */ | .p2align PAGE_SHIFT, 0x90 /* Hypercall_page needs to be PAGE aligned */ | ||||
NON_GPROF_ENTRY(hypercall_page) | ENTRY(hypercall_page) | ||||
.skip 0x1000, 0x90 /* Fill with "nop"s */ | .skip 0x1000, 0x90 /* Fill with "nop"s */ | ||||
#endif | #endif |