Q:
in the file : startup/lib/ppc/cstart.s
What does the cmd "boot_regs: .space 32*4" mean?
What is the reg "boot_regs" used for?
A:
It reserves space for saving the 32 4 byte GPR contents. Some ROM monitors pass information in the registers when they transfer control to startup. The startup saves the initial register values so that routines later on can see what they were and make use of them (e.g. of_call() in openfirmware.c).
Related Attachments
None Found
Please contact us with your questions or concerns.