
this provides basic console support using the ARC bios routines theu uartarcs driver. and has native seeq ethernet driver which was written by reading the 2ed devseq driver as i have no documentation on the hardware. mmu and trap code is based on the routerboard kernel.
8 lines
164 B
ArmAsm
8 lines
164 B
ArmAsm
TEXT _main(SB), $8
|
|
MOVW $setR30(SB), R30
|
|
MOVW $boot(SB), R1
|
|
ADDU $12, R29, R2 /* get a pointer to 0(FP) */
|
|
MOVW R1, 4(R29)
|
|
MOVW R2, 8(R29)
|
|
JAL startboot(SB)
|
|
|