NetBSD/sys/arch/i386/include
thorpej b0dc085df7 Move the TSS selector out of the PCB and put it into mdproc. We
need to access this when we have the proclist locked for reading,
and thus cannot store it in the PCB (which may be swapped out).

As part of this, call pmap_activate() from cpu_switch() to switch
to the new address space, and refresh the PCB's copy of the LDT
selector from the pmap structure (see above paragraph).  We need
to do this for MP support anyhow.

Fixes a "panic: spinlock_switchcheck: CPU 0 has 1 spin locks" via
gdt_compact() reported by Nathan Williams.
2000-08-16 04:44:35 +00:00
..
pc
ansi.h G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_. 2000-06-27 05:53:22 +00:00
aout_machdep.h
apmvar.h add some v1.2 bits, comment out the APM_IOC_DEV_CTL ioctl which I didn't 1999-08-17 19:05:53 +00:00
asm.h Add a WEAK_ALIAS() macro. 2000-06-23 12:18:45 +00:00
bios32.h Basic interface to BIOS32. Separated from UCHIYAMA Yasushi's PCI BIOS 1999-11-17 00:55:50 +00:00
bioscall.h Clean up bios_reg a little, and add support for accessing 2000-07-12 22:58:12 +00:00
bootinfo.h Actually define the ACPI memory map entry (bi_memmap_entry). 2000-06-02 18:27:47 +00:00
bswap.h Include <sys/bswap.h> for function prototypes. i386, pc532 and vax 1999-08-21 05:39:51 +00:00
bus.h Define bus_space_*_stream_N functions as their non-stream counterparts. 2000-07-31 22:43:46 +00:00
byte_swap.h This code has nothing to do with UCB. 2000-03-16 14:15:26 +00:00
cdefs.h Garbage-collect. 1999-03-20 01:40:25 +00:00
coff_machdep.h Move a bunch of the COFF definitions into exec_coff.h, so they can be used by 2000-06-04 16:23:59 +00:00
conf.h Assign copyright to TNF. 1998-09-05 15:28:06 +00:00
cpu.h Implement CLKF_INTR(), to count interrupt time separately. 2000-06-04 21:27:38 +00:00
cpufunc.h The assembler understands rdmsr, wrmsr, rdtsc, and rdpmc, so there's 2000-03-28 19:17:29 +00:00
cputypes.h Add CPUVENDOR_IDT and CPU_C6. 1998-10-15 13:40:33 +00:00
db_machdep.h remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:44:03 +00:00
disklabel.h Use the MI <sys/disklabel_mbr.h>, not our own machine-dependent 1999-01-27 20:54:56 +00:00
eisa_machdep.h Add functions to read EISA configuration data for MEM, IRQ, DMA, and IO. 2000-08-11 00:43:18 +00:00
elf_machdep.h Move dl* function definitions to libc on ELF. 2000-04-02 15:35:47 +00:00
endian_machdep.h In the `MY THAT'S GROSS' department... 2000-03-17 00:09:18 +00:00
endian.h In the `MY THAT'S GROSS' department... 2000-03-17 00:09:18 +00:00
float.h
frame.h Assign my copyrights to TNF. 1998-08-15 04:57:50 +00:00
freebsd_machdep.h Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
gdt.h Move the TSS selector out of the PCB and put it into mdproc. We 2000-08-16 04:44:35 +00:00
ibcs2_machdep.h Move COFF_LDPGSZ to ibcs2_machdep.h. Fix nmagic loader to deal with 2000-06-21 05:45:15 +00:00
ieee.h Add an ieee.h. 1999-03-10 08:13:01 +00:00
ieeefp.h
int_types.h change intptr_t and uintptr_t to long and unsigned long respectively. This 2000-07-16 02:18:11 +00:00
intr.h make spl-lowering functions return void. 2000-06-08 23:03:13 +00:00
ipkdb.h Make IPKDB working again. 2000-03-22 20:58:25 +00:00
isa_machdep.h Implement the more flexiable `evcnt' interface as discussed (briefly) on 2000-06-04 19:14:14 +00:00
isapnp_machdep.h kill __P in these files. (I had to look at them anyway with an eye for 2000-06-01 00:04:50 +00:00
joystick.h
kcore.h
limits.h Preparation for the future introduction of multibyte locale. 2000-08-08 22:31:13 +00:00
loadfile_machdep.h Allow loading of kernels larger than (16-1)M. 1999-11-30 12:02:13 +00:00
lock.h Let each platform typedef the new __cpu_simple_lock_t, which should 2000-05-02 04:41:04 +00:00
Makefile Add <machine/int_types.h>, which provides namespace-pure definitions 2000-06-26 15:42:16 +00:00
math.h Improve namespace test macros a bit. 2000-02-05 14:04:36 +00:00
mca_machdep.h move struct sys_config from mca_machdep.c to mca_machdep.h 2000-07-09 10:35:11 +00:00
mouse.h
npx.h add prototypes for the assembly functions that moved to locore.s 1999-01-26 14:25:02 +00:00
param.h cast to u_long before casting to u_int to appease lint. 2000-08-13 22:45:01 +00:00
pcb.h Move the TSS selector out of the PCB and put it into mdproc. We 2000-08-16 04:44:35 +00:00
pccons.h sort the dependencies between terminal devices a bit and add consistency 1999-02-06 18:46:21 +00:00
pci_machdep.h add "#define I386_PCI_INTERRUPT_LINE_NO_CONNECTION 0xff" 2000-07-18 11:00:35 +00:00
pio.h Make the inline asm conform to what gcc thinks they should look like (per 2000-03-13 21:10:24 +00:00
pmap.h Disable pmap_copy() for now. 2000-06-15 13:35:27 +00:00
proc.h Move the TSS selector out of the PCB and put it into mdproc. We 2000-08-16 04:44:35 +00:00
profile.h Delint. 2000-01-22 22:40:58 +00:00
psl.h
pte.h
ptrace.h
rbus_machdep.h Remove unnecessary function arguments. 2000-06-06 08:20:06 +00:00
reg.h
rnd.h Return the full width of the counter here. 2000-07-02 21:05:14 +00:00
segments.h add GDT segments for pnpbios use 1999-11-12 18:37:29 +00:00
setjmp.h Need 13 longs for jmp_buf; signal mask is 128 bits now. 1998-09-14 21:31:52 +00:00
signal.h oops, missed one. 1998-09-14 02:50:12 +00:00
specialreg.h Add/correct some MSRs, from Intel Architecture Software Developer's Manual, 2000-03-27 23:15:57 +00:00
spkr.h
stdarg.h Use __GNUC_PREREQ__(). 2000-05-05 00:20:22 +00:00
svr4_machdep.h Move prototypes to mi code; add MD constant for padding 1999-01-21 23:11:45 +00:00
sysarch.h
trap.h
tss.h
types.h Replace "timestamp" with "counter" in previous change, to avoid any 2000-06-06 01:33:15 +00:00
varargs.h Only use __builtin_va_alist_t if using GCC 2.96 or later. Fixes 2000-05-12 23:49:11 +00:00
vm86.h
vmparam.h Fix integer overflow in calculation of VM_MAX_KERNEL_BUF. 2000-06-18 18:29:04 +00:00