3 #define AP_MAGIC (0x12481020)
6 .global KiDoubleFaultStack
8 .global _kernel_stack_top
9 .global _kernel_trap_stack
10 .global _kernel_trap_stack_top
16 /* guard page for the kernel stack */
24 /* guard page for the trap stack */
29 _kernel_trap_stack_top:
35 .globl KiSystemStartup
36 .globl KiRosPrepareForSystemStartup
41 * Set a normal MSR value
48 * Reserve space for the floating point save area.
50 addi 1,1,-SIZEOF_FX_SAVE_AREA
52 /* Bye bye asm land! */
55 /* Load the initial kernel stack */
56 lis 1,_kernel_stack_top@ha
57 ori 1,1,_kernel_stack_top@l
58 addi 1,1,-SIZEOF_FX_SAVE_AREA
60 /* Call the main kernel initialization */
61 bl KiRosPrepareForSystemStartup
68 .globl KeSynchronizeExecution
70 KeSynchronizeExecution: