diff options
author | mp <mp@FreeBSD.org> | 2001-09-20 00:47:17 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2001-09-20 00:47:17 +0000 |
commit | a2e5cb9c1ece11bd25f867c25e6f34022389125f (patch) | |
tree | c07dd541ea7e2e8cf948e0f0147a7d96d38bf958 /sys/powerpc/include/frame.h | |
parent | 7418b6f0974dece312233d4ca5fd06777377bf9c (diff) | |
download | FreeBSD-src-a2e5cb9c1ece11bd25f867c25e6f34022389125f.zip FreeBSD-src-a2e5cb9c1ece11bd25f867c25e6f34022389125f.tar.gz |
Update PowerPC MD code to compile and do initial bootstrap based on
recent changes (KSE and VM requiring physmem to be setup).
Reviewed by: benno, jhb, julian
Diffstat (limited to 'sys/powerpc/include/frame.h')
-rw-r--r-- | sys/powerpc/include/frame.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/powerpc/include/frame.h b/sys/powerpc/include/frame.h index 927c574..3865de4 100644 --- a/sys/powerpc/include/frame.h +++ b/sys/powerpc/include/frame.h @@ -63,8 +63,7 @@ struct trapframe { * This is to ensure alignment of the stackpointer */ #define FRAMELEN roundup(sizeof(struct trapframe) + 8, 16) -#define trapframe(p) ((struct trapframe *)((char *)(p)->p_addr \ - + USPACE - FRAMELEN + 8)) +#define trapframe(td) ((td)->td_frame) struct switchframe { register_t sp; |