Add comment explaining struct reg and struct fpreg must match the trapframe.
Approved by: grehan (mentor)
This commit is contained in:
parent
009a0e433b
commit
a6e340aabe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132838
@ -4,6 +4,7 @@
|
||||
#ifndef _POWERPC_REG_H_
|
||||
#define _POWERPC_REG_H_
|
||||
|
||||
/* Must match struct trapframe */
|
||||
struct reg {
|
||||
register_t fixreg[32];
|
||||
register_t lr;
|
||||
@ -13,6 +14,7 @@ struct reg {
|
||||
register_t pc;
|
||||
};
|
||||
|
||||
/* Must match pcb.pcb_fpu */
|
||||
struct fpreg {
|
||||
double fpreg[32];
|
||||
double fpscr;
|
||||
|
Loading…
Reference in New Issue
Block a user