Deleted Added
full compact
pcpu.h (75256) pcpu.h (76078)
1/*-
2 * Copyright (c) Peter Wemm <peter@netplex.com.au>
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) Peter Wemm <peter@netplex.com.au>
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/amd64/include/pcpu.h 75256 2001-04-06 07:20:27Z jhb $
26 * $FreeBSD: head/sys/amd64/include/pcpu.h 76078 2001-04-27 19:28:25Z jhb $
27 */
28
29#ifndef _MACHINE_GLOBALDATA_H_
30#define _MACHINE_GLOBALDATA_H_
31
32#include <machine/segments.h>
33#include <machine/tss.h>
34

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

69#ifdef KTR
70 volatile int gd_ktr_idx;
71 char *gd_ktr_buf;
72 char gd_ktr_buf_data[KTR_SIZE];
73#endif
74#endif
75};
76
27 */
28
29#ifndef _MACHINE_GLOBALDATA_H_
30#define _MACHINE_GLOBALDATA_H_
31
32#include <machine/segments.h>
33#include <machine/tss.h>
34

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

69#ifdef KTR
70 volatile int gd_ktr_idx;
71 char *gd_ktr_buf;
72 char gd_ktr_buf_data[KTR_SIZE];
73#endif
74#endif
75};
76
77SLIST_HEAD(cpuhead, globaldata);
78extern struct cpuhead cpuhead;
79
80#ifdef SMP
81/*
82 * This is the upper (0xff800000) address space layout that is per-cpu.
83 * It is setup in locore.s and pmap.c for the BSP and in mp_machdep.c for
84 * each AP. genassym helps export this to the assembler code.
85 */
86struct privatespace {
87 /* page 0 - data page */

--- 13 unchanged lines hidden ---
77#ifdef SMP
78/*
79 * This is the upper (0xff800000) address space layout that is per-cpu.
80 * It is setup in locore.s and pmap.c for the BSP and in mp_machdep.c for
81 * each AP. genassym helps export this to the assembler code.
82 */
83struct privatespace {
84 /* page 0 - data page */

--- 13 unchanged lines hidden ---