pcb.h (113023) | pcb.h (131905) |
---|---|
1/*- 2 * Copyright (c) 2001 Jake Burkholder. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2001 Jake Burkholder. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/sparc64/include/pcb.h 113023 2003-04-03 18:28:03Z jake $ | 26 * $FreeBSD: head/sys/sparc64/include/pcb.h 131905 2004-07-10 19:56:00Z marcel $ |
27 */ 28 29#ifndef _MACHINE_PCB_H_ 30#define _MACHINE_PCB_H_ 31 32#include <machine/frame.h> 33 34#define MAXWIN 8 --- 9 unchanged lines hidden (view full) --- 44 uint64_t pcb_flags; 45 uint64_t pcb_nsaved; 46 uint64_t pcb_pc; 47 uint64_t pcb_sp; 48 uint64_t pcb_pad[4]; 49} __aligned(64); 50 51#ifdef _KERNEL | 27 */ 28 29#ifndef _MACHINE_PCB_H_ 30#define _MACHINE_PCB_H_ 31 32#include <machine/frame.h> 33 34#define MAXWIN 8 --- 9 unchanged lines hidden (view full) --- 44 uint64_t pcb_flags; 45 uint64_t pcb_nsaved; 46 uint64_t pcb_pc; 47 uint64_t pcb_sp; 48 uint64_t pcb_pad[4]; 49} __aligned(64); 50 51#ifdef _KERNEL |
52void makectx(struct trapframe *, struct pcb *); |
|
52int savectx(struct pcb *pcb); 53#endif 54 55#endif /* !_MACHINE_PCB_H_ */ | 53int savectx(struct pcb *pcb); 54#endif 55 56#endif /* !_MACHINE_PCB_H_ */ |