diff options
author | Peter Wemm <peter@FreeBSD.org> | 1997-05-07 20:08:53 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1997-05-07 20:08:53 +0000 |
commit | 835834c085e6fbabaa36ccc041e4635a9dd1c6b8 (patch) | |
tree | feaf49c17ca11827603d4eb84502656429be2602 /sys/amd64 | |
parent | 8359d00f20b01ed3fd398d21437b2cf80779249f (diff) | |
download | src-835834c085e6fbabaa36ccc041e4635a9dd1c6b8.tar.gz src-835834c085e6fbabaa36ccc041e4635a9dd1c6b8.zip |
md_regs is now a struct trapframe *
Notes
Notes:
svn path=/head/; revision=25555
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/trap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 5350c8976733..0c37b9c7fbfe 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 - * $Id: trap.c,v 1.93 1997/04/26 11:45:28 peter Exp $ + * $Id: trap.c,v 1.94 1997/05/05 04:08:12 dyson Exp $ */ /* @@ -204,7 +204,7 @@ trap(frame) /* user trap */ sticks = p->p_sticks; - p->p_md.md_regs = (int *)&frame; + p->p_md.md_regs = &frame; switch (type) { case T_PRIVINFLT: /* privileged instruction fault */ @@ -856,7 +856,7 @@ syscall(frame) if (ISPL(frame.tf_cs) != SEL_UPL) panic("syscall"); - p->p_md.md_regs = (int *)&frame; + p->p_md.md_regs = &frame; params = (caddr_t)frame.tf_esp + sizeof(int); code = frame.tf_eax; if (p->p_sysent->sv_prepsyscall) { |