- - Rewritten startup code. GDT, IDT and TSS moved away from zero page.
[AROS.git] / arch / i386-pc / kernel / reboot.s
blob7fd61ef6423c291e4074b686e05e300265973dcd
1 # One more important place. We come here upon warm restart.
2 # Here we set the stack pointer to some safe place and use core_Kick
3 # to run kernel_cstart() routine with our old boot taglist.
5 .globl core_Reboot
6 .type core_Reboot, @function
7 core_Reboot:
8 cli
9 cld
10 movl $0x1000, %esp
11 movl BootMsg, %eax
12 leal kernel_cstart, %ebx
13 pushl %ebx
14 pushl %eax
15 jmp core_Kick