Changes to locore.S needing review
Warner Losh
IMP at bsdimp.com
Fri May 11 18:09:52 UTC 2012
I'd like to get a review on the locore.S part of the changes that I'm making to support booting from a Linux boot loader directly for the kernel. My arm assembler knowledge is somewhat weak, so I hope I haven't botched anything.
The changes conditionally save r0, r1 and r2 away for the early boot, then put them in a structure to pass to board_init(). It also tries to clean up the register usage a bit so I can save away these values in registers and I don't have to worry about storing values.
Please let me know what you think.
Warner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1
Type: application/octet-stream
Size: 3389 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20120511/443b30b0/1.obj
More information about the freebsd-arm
mailing list