Deleted Added
full compact
pcpu.h (258002) pcpu.h (259284)
1/*-
2 * Copyright (c) 1999 Luoqi Chen <luoqi@freebsd.org>
3 * Copyright (c) Peter Wemm <peter@netplex.com.au>
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:

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 1999 Luoqi Chen <luoqi@freebsd.org>
3 * Copyright (c) Peter Wemm <peter@netplex.com.au>
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:

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/powerpc/include/pcpu.h 258002 2013-11-11 17:37:50Z nwhitehorn $
27 * $FreeBSD: head/sys/powerpc/include/pcpu.h 259284 2013-12-13 02:37:35Z jhibbits $
28 */
29
30#ifndef _MACHINE_PCPU_H_
31#define _MACHINE_PCPU_H_
32
33#include <machine/cpufunc.h>
34#include <machine/slb.h>
35#include <machine/tlb.h>

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

44 struct thread *pc_vecthread; /* current vec user */ \
45 uintptr_t pc_hwref; \
46 uint32_t pc_pir; \
47 int pc_bsp; \
48 volatile int pc_awake; \
49 uint32_t pc_ipimask; \
50 register_t pc_tempsave[CPUSAVE_LEN]; \
51 register_t pc_disisave[CPUSAVE_LEN]; \
28 */
29
30#ifndef _MACHINE_PCPU_H_
31#define _MACHINE_PCPU_H_
32
33#include <machine/cpufunc.h>
34#include <machine/slb.h>
35#include <machine/tlb.h>

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

44 struct thread *pc_vecthread; /* current vec user */ \
45 uintptr_t pc_hwref; \
46 uint32_t pc_pir; \
47 int pc_bsp; \
48 volatile int pc_awake; \
49 uint32_t pc_ipimask; \
50 register_t pc_tempsave[CPUSAVE_LEN]; \
51 register_t pc_disisave[CPUSAVE_LEN]; \
52 register_t pc_dbsave[CPUSAVE_LEN];
52 register_t pc_dbsave[CPUSAVE_LEN]; \
53 void *pc_restore;
53
54#define PCPU_MD_AIM32_FIELDS \
55 /* char __pad[0] */
56
57#define PCPU_MD_AIM64_FIELDS \
58 struct slb pc_slb[64]; \
59 struct slb **pc_userslb; \
60 register_t pc_slbsave[18]; \

--- 104 unchanged lines hidden ---
54
55#define PCPU_MD_AIM32_FIELDS \
56 /* char __pad[0] */
57
58#define PCPU_MD_AIM64_FIELDS \
59 struct slb pc_slb[64]; \
60 struct slb **pc_userslb; \
61 register_t pc_slbsave[18]; \

--- 104 unchanged lines hidden ---