I think we should clean up memory allocation. There are multiple places in the code where RAMTOP is used as an offset into ram and cast to a struct.
I think if something is important enough that it needs to be allocated separately from the stack, it should show up in the ldscripts, not just in the code.
What's important enough? K8 page tables for APs? EHCI debug? Sysinfo structs?
Signed-off-by: Myles Watson mylesgw@gmail.com
Thanks, Myles