pcb.h (129309) | pcb.h (131905) |
---|---|
1/*- 2 * Copyright (c) 2003 Peter Wemm. 3 * Copyright (c) 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91 | 1/*- 2 * Copyright (c) 2003 Peter Wemm. 3 * Copyright (c) 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91 |
34 * $FreeBSD: head/sys/amd64/include/pcb.h 129309 2004-05-16 22:43:57Z peter $ | 34 * $FreeBSD: head/sys/amd64/include/pcb.h 131905 2004-07-10 19:56:00Z marcel $ |
35 */ 36 37#ifndef _AMD64_PCB_H_ 38#define _AMD64_PCB_H_ 39 40/* 41 * AMD64 process control block 42 */ --- 30 unchanged lines hidden (view full) --- 73#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */ 74#define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */ 75#define PCB_FULLCTX 0x80 /* full context restore on sysret */ 76 77 caddr_t pcb_onfault; /* copyin/out fault recovery */ 78}; 79 80#ifdef _KERNEL | 35 */ 36 37#ifndef _AMD64_PCB_H_ 38#define _AMD64_PCB_H_ 39 40/* 41 * AMD64 process control block 42 */ --- 30 unchanged lines hidden (view full) --- 73#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */ 74#define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */ 75#define PCB_FULLCTX 0x80 /* full context restore on sysret */ 76 77 caddr_t pcb_onfault; /* copyin/out fault recovery */ 78}; 79 80#ifdef _KERNEL |
81struct trapframe; 82 83void makectx(struct trapframe *, struct pcb *); |
|
81void savectx(struct pcb *); 82#endif 83 84#endif /* _AMD64_PCB_H_ */ | 84void savectx(struct pcb *); 85#endif 86 87#endif /* _AMD64_PCB_H_ */ |