/SPARTAN/trunk/arch/ia32/src/ia32.c |
---|
45,7 → 45,7 |
#include <arch/interrupt.h> |
void arch_init(void) |
void arch_pre_mm_init(void) |
{ |
pm_init(); |
/SPARTAN/trunk/arch/ia32/src/asm.s |
---|
129,6 → 129,9 |
push %ebp |
movl %esp,%ebp |
pusha |
push %ds |
push %es |
# we must fill the data segment registers |
movw $16,%ax |
142,6 → 145,9 |
call trap_dispatcher |
addl $8,%esp |
pop %es |
pop %ds |
popa |
pop %ebp |
314,7 → 320,7 |
.global utext |
utext: |
0: |
movl $0xdeadbeaf, %eax |
# movl $0xdeadbeaf, %eax |
int $48 |
jmp 0b |
# not reached |