microwatt: Implement boot helper

This commit is contained in:
Joel Stanley 2020-06-09 18:40:21 +09:30
parent fe9b42facf
commit e6909e2978
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
.section .text, "ax", @progbits
.global boot_helper
// void boot_helper(unsigned long r1, unsigned long r2, unsigned long r3, unsigned long addr)
boot_helper:
nop # FIXME
mtctr %r6,
bctrl
ba 0