diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-04-19 07:28:04 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-04-19 07:28:04 +0000 |
| commit | 6f1e6c97deaf0c02d8bee74f600c5b05788c157e (patch) | |
| tree | 7a603fe7ad1503d496086ceb3c5535610948aee9 | |
| parent | ea8c29e94beb87f7c66da57a18dd306c505d3544 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/machdep.c | 5 | ||||
| -rw-r--r-- | sys/amd64/include/pcb.h | 4 | ||||
| -rw-r--r-- | sys/i386/i386/machdep.c | 5 | ||||
| -rw-r--r-- | sys/i386/include/pcb.h | 4 |
4 files changed, 10 insertions, 8 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index d5132926da89..d1ce2e8ccd1d 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.180 1996/04/05 03:36:02 ache Exp $ + * $Id: machdep.c,v 1.181 1996/04/06 01:06:04 davidg Exp $ */ #include "npx.h" @@ -936,7 +936,8 @@ boot(howto) } else { if (howto & RB_DUMP) { if (!cold) { - savectx(&dumppcb); + int foo; + savectx(&dumppcb, &foo); dumppcb.pcb_ptd = rcr3(); dumpsys(); } diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h index 2fe3d8ad1971..b833b9bac20a 100644 --- a/sys/amd64/include/pcb.h +++ b/sys/amd64/include/pcb.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91 - * $Id: pcb.h,v 1.11 1996/03/02 19:37:45 peter Exp $ + * $Id: pcb.h,v 1.12 1996/04/18 21:34:53 phk Exp $ */ #ifndef _I386_PCB_H_ @@ -79,7 +79,7 @@ struct md_coredump { #ifdef KERNEL extern struct pcb *curpcb; /* our current running pcb */ -int savectx __P((struct pcb*, int *)); +void savectx __P((struct pcb*, int *)); #endif #endif /* _I386_PCB_H_ */ diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index d5132926da89..d1ce2e8ccd1d 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.180 1996/04/05 03:36:02 ache Exp $ + * $Id: machdep.c,v 1.181 1996/04/06 01:06:04 davidg Exp $ */ #include "npx.h" @@ -936,7 +936,8 @@ boot(howto) } else { if (howto & RB_DUMP) { if (!cold) { - savectx(&dumppcb); + int foo; + savectx(&dumppcb, &foo); dumppcb.pcb_ptd = rcr3(); dumpsys(); } diff --git a/sys/i386/include/pcb.h b/sys/i386/include/pcb.h index 2fe3d8ad1971..b833b9bac20a 100644 --- a/sys/i386/include/pcb.h +++ b/sys/i386/include/pcb.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91 - * $Id: pcb.h,v 1.11 1996/03/02 19:37:45 peter Exp $ + * $Id: pcb.h,v 1.12 1996/04/18 21:34:53 phk Exp $ */ #ifndef _I386_PCB_H_ @@ -79,7 +79,7 @@ struct md_coredump { #ifdef KERNEL extern struct pcb *curpcb; /* our current running pcb */ -int savectx __P((struct pcb*, int *)); +void savectx __P((struct pcb*, int *)); #endif #endif /* _I386_PCB_H_ */ |
