Operating systems, development tools, and professional
services for connected embedded systems
Home
Support

Knowledge Base

BSPs and drivers
Community resources
Documentation library
Questions?
Contact us
Feedback?
Online suggestion box

What does the cmd "boot_regs: .space 32*4" mean?
 
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.

 
©2013 QNX Software Systems Limited, a subsidiary of BlackBerry.   BlackBerry Logo