Deleted Added
full compact
pcpu.h (46129) pcpu.h (47081)
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 * $Id: globaldata.h,v 1.7 1999/02/22 15:13:34 bde Exp $
26 * $Id: globaldata.h,v 1.8 1999/04/28 01:04:00 luoqi Exp $
27 */
28
29/*
30 * This structure maps out the global data that needs to be kept on a
31 * per-cpu basis. genassym uses this to generate offsets for the assembler
32 * code, which also provides external symbols so that C can get at them as
33 * though they were really globals.
34 *

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

43 struct proc *gd_curproc;
44 struct proc *gd_npxproc;
45 struct pcb *gd_curpcb;
46 struct timeval gd_switchtime;
47 struct i386tss gd_common_tss;
48 int gd_switchticks;
49#ifdef VM86
50 struct segment_descriptor gd_common_tssd;
27 */
28
29/*
30 * This structure maps out the global data that needs to be kept on a
31 * per-cpu basis. genassym uses this to generate offsets for the assembler
32 * code, which also provides external symbols so that C can get at them as
33 * though they were really globals.
34 *

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

43 struct proc *gd_curproc;
44 struct proc *gd_npxproc;
45 struct pcb *gd_curpcb;
46 struct timeval gd_switchtime;
47 struct i386tss gd_common_tss;
48 int gd_switchticks;
49#ifdef VM86
50 struct segment_descriptor gd_common_tssd;
51 struct segment_descriptor *gd_tss_gdt;
51#endif
52#ifdef USER_LDT
53 int gd_currentldt;
54#endif
55#ifdef SMP
56 u_int gd_cpuid;
57 u_int gd_cpu_lockid;
58 u_int gd_other_cpus;

--- 37 unchanged lines hidden ---
52#endif
53#ifdef USER_LDT
54 int gd_currentldt;
55#endif
56#ifdef SMP
57 u_int gd_cpuid;
58 u_int gd_cpu_lockid;
59 u_int gd_other_cpus;

--- 37 unchanged lines hidden ---