summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorssouhlal <ssouhlal@FreeBSD.org>2004-07-29 13:39:27 +0000
committerssouhlal <ssouhlal@FreeBSD.org>2004-07-29 13:39:27 +0000
commit382d8a7db30af3cd51ffd86e32fc98350419aeb0 (patch)
tree736b92e16cb2a68e50624af61735d36840ecfe92 /sys/powerpc
parenteb5ea5dd290e369c6ffac3ac518bc61822a2dc66 (diff)
downloadFreeBSD-src-382d8a7db30af3cd51ffd86e32fc98350419aeb0.zip
FreeBSD-src-382d8a7db30af3cd51ffd86e32fc98350419aeb0.tar.gz
Add comment explaining struct reg and struct fpreg must match the trapframe.
Approved by: grehan (mentor)
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/reg.h b/sys/powerpc/include/reg.h
index e188f02..6403655 100644
--- a/sys/powerpc/include/reg.h
+++ b/sys/powerpc/include/reg.h
@@ -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;
OpenPOWER on IntegriCloud