pcpu.h (e796e00de3aa249ff8a138d12c2c89177fd61260) | pcpu.h (287e61c39fb0133a57095482898b40905f19fb84) |
---|---|
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.4 1998/05/17 23:08:02 tegge Exp $ | 26 * $Id: globaldata.h,v 1.5 1998/05/28 09:30:02 phk 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 * --- 9 unchanged lines hidden (view full) --- 44 struct pcb *curpcb; 45 struct i386tss common_tss; 46 struct timeval switchtime; 47#ifdef VM86 48 struct segment_descriptor common_tssd; 49 u_int private_tss; 50 u_int my_tr; 51#endif | 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 * --- 9 unchanged lines hidden (view full) --- 44 struct pcb *curpcb; 45 struct i386tss common_tss; 46 struct timeval switchtime; 47#ifdef VM86 48 struct segment_descriptor common_tssd; 49 u_int private_tss; 50 u_int my_tr; 51#endif |
52#ifdef USER_LDT 53 int currentldt; 54#endif |
|
52#ifdef SMP 53 u_int cpuid; 54 u_int cpu_lockid; 55 u_int other_cpus; 56 pd_entry_t *my_idlePTD; 57 u_int ss_eflags; 58 pt_entry_t *prv_CMAP1; 59 pt_entry_t *prv_CMAP2; --- 42 unchanged lines hidden --- | 55#ifdef SMP 56 u_int cpuid; 57 u_int cpu_lockid; 58 u_int other_cpus; 59 pd_entry_t *my_idlePTD; 60 u_int ss_eflags; 61 pt_entry_t *prv_CMAP1; 62 pt_entry_t *prv_CMAP2; --- 42 unchanged lines hidden --- |