Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 24 → Rev 26

/SPARTAN/trunk/arch/mips/src/mips.c
30,7 → 30,7
#include <arch/cp0.h>
#include <arch/exception.h>
 
void arch_init(void)
void arch_pre_mm_init(void)
{
/*
* Switch to BEV normal level so that exception vectors point to the kernel.
/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