mos/lab1/init/start.S

17 lines
343 B
ArmAsm
Raw Permalink Normal View History

2023-02-26 22:08:47 +08:00
#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) */