Deleted Added
full compact
pcpu.h (72219) pcpu.h (72276)
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 72219 2001-02-09 14:25:22Z jhb $
26 * $FreeBSD: head/sys/amd64/include/pcpu.h 72276 2001-02-10 02:20:34Z 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

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

58 struct timeval gd_switchtime;
59 struct i386tss gd_common_tss;
60 int gd_switchticks;
61 struct segment_descriptor gd_common_tssd;
62 struct segment_descriptor *gd_tss_gdt;
63 int gd_currentldt; /* only used for USER_LDT */
64 u_int gd_cpuid;
65 u_int gd_other_cpus;
27 */
28
29#ifndef _MACHINE_GLOBALDATA_H_
30#define _MACHINE_GLOBALDATA_H_
31
32#include <machine/segments.h>
33#include <machine/tss.h>
34

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

58 struct timeval gd_switchtime;
59 struct i386tss gd_common_tss;
60 int gd_switchticks;
61 struct segment_descriptor gd_common_tssd;
62 struct segment_descriptor *gd_tss_gdt;
63 int gd_currentldt; /* only used for USER_LDT */
64 u_int gd_cpuid;
65 u_int gd_other_cpus;
66 u_int gd_astpending;
67 SLIST_ENTRY(globaldata) gd_allcpu;
68 int gd_witness_spin_check;
69#ifdef KTR_PERCPU
70#ifdef KTR
71 volatile int gd_ktr_idx;
72 char *gd_ktr_buf;
73 char gd_ktr_buf_data[KTR_SIZE];
74#endif

--- 27 unchanged lines hidden ---
66 SLIST_ENTRY(globaldata) gd_allcpu;
67 int gd_witness_spin_check;
68#ifdef KTR_PERCPU
69#ifdef KTR
70 volatile int gd_ktr_idx;
71 char *gd_ktr_buf;
72 char gd_ktr_buf_data[KTR_SIZE];
73#endif

--- 27 unchanged lines hidden ---