mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue