Deleted Added
full compact
pcb.h (188860) pcb.h (189100)
1/*-
2 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
3 * Copyright (C) 1995, 1996 TooLs GmbH.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 15 unchanged lines hidden (view full) ---

24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 *
31 * $NetBSD: pcb.h,v 1.4 2000/06/04 11:57:17 tsubai Exp $
1/*-
2 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
3 * Copyright (C) 1995, 1996 TooLs GmbH.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 15 unchanged lines hidden (view full) ---

24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 *
31 * $NetBSD: pcb.h,v 1.4 2000/06/04 11:57:17 tsubai Exp $
32 * $FreeBSD: head/sys/powerpc/include/pcb.h 188860 2009-02-20 17:48:40Z nwhitehorn $
32 * $FreeBSD: head/sys/powerpc/include/pcb.h 189100 2009-02-27 12:08:24Z raj $
33 */
34
35#ifndef _MACHINE_PCB_H_
36#define _MACHINE_PCB_H_
37
38typedef int faultbuf[25];
39
40struct pcb {

--- 24 unchanged lines hidden (view full) ---

65
66 union {
67 struct {
68 register_t usr; /* USER_SR segment */
69 } aim;
70 struct {
71 register_t ctr;
72 register_t xer;
33 */
34
35#ifndef _MACHINE_PCB_H_
36#define _MACHINE_PCB_H_
37
38typedef int faultbuf[25];
39
40struct pcb {

--- 24 unchanged lines hidden (view full) ---

65
66 union {
67 struct {
68 register_t usr; /* USER_SR segment */
69 } aim;
70 struct {
71 register_t ctr;
72 register_t xer;
73 register_t dbcr0;
73 } booke;
74 } pcb_cpu;
75};
76
77#ifdef _KERNEL
78
79struct trapframe;
80
81#ifndef curpcb
82extern struct pcb *curpcb;
83#endif
84
85extern struct pmap *curpm;
86extern struct proc *fpuproc;
87
88void makectx(struct trapframe *, struct pcb *);
89
90#endif
91#endif /* _MACHINE_PCB_H_ */
74 } booke;
75 } pcb_cpu;
76};
77
78#ifdef _KERNEL
79
80struct trapframe;
81
82#ifndef curpcb
83extern struct pcb *curpcb;
84#endif
85
86extern struct pmap *curpm;
87extern struct proc *fpuproc;
88
89void makectx(struct trapframe *, struct pcb *);
90
91#endif
92#endif /* _MACHINE_PCB_H_ */