Add comment explaining struct reg and struct fpreg must match the trapframe.

Approved by:	grehan (mentor)
This commit is contained in:
Suleiman Souhlal 2004-07-29 13:39:27 +00:00
parent 009a0e433b
commit a6e340aabe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132838

View File

@ -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;