17 lines
343 B
ArmAsm
17 lines
343 B
ArmAsm
|
#include <asm/asm.h>
|
||
|
#include <mmu.h>
|
||
|
|
||
|
.text
|
||
|
EXPORT(_start)
|
||
|
.set at
|
||
|
.set reorder
|
||
|
/* disable interrupts */
|
||
|
mtc0 zero, CP0_STATUS
|
||
|
|
||
|
/* hint: you can reference the memory layout in include/mmu.h */
|
||
|
/* set up the kernel stack */
|
||
|
/* Exercise 1.3: Your code here. (1/2) */
|
||
|
|
||
|
/* jump to mips_init */
|
||
|
/* Exercise 1.3: Your code here. (2/2) */
|