freebsd-src/sys/i386/include
Alan Cox e9a3f7852d Modestly increase the maximum allowed size of the kmem map on i386.
Also, express this new maximum as a fraction of the kernel's address
space size rather than a constant so that increasing KVA_PAGES will
automatically increase this maximum.  As a side-effect of this change,
kern.maxvnodes will automatically increase by a proportional amount.

While I'm here ensure that this change doesn't result in an unintended
increase in maxpipekva on i386.  Calculate maxpipekva based upon the
size of the kernel address space and the amount of physical memory
instead of the size of the kmem map.  The memory backing pipes is not
allocated from the kmem map.  It is allocated from its own submap of
the kernel map.  In short, it has no real connection to the kmem map.
(In fact, the commit messages for the maxpipekva auto-sizing talk
about using the kernel map size, cf. r117325 and r117391, even though
the implementation actually used the kmem map size.)  Although the
calculation is now done differently, the resulting value for
maxpipekva should remain almost the same on i386.  However, on amd64,
the value will be reduced by 2/3.  This is intentional.  The recent
change to VM_KMEM_SIZE_SCALE on amd64 for the benefit of ZFS also had
the unnecessary side-effect of increasing maxpipekva.  This change is
effectively restoring maxpipekva on amd64 to its prior value.

Eliminate init_param3() since it is no longer used.
2011-03-23 16:38:29 +00:00
..
pc - Teach vesa(4) and dpms(4) about x86emu. [1] 2009-09-09 09:50:31 +00:00
xen Make "options XENHVM" compile for i386, not just amd64 -- a largely 2011-01-04 14:49:54 +00:00
_align.h Merge amd64/i386 _align.h by aligning on the size of register_t (copied 2010-11-26 10:59:20 +00:00
_bus.h
_inttypes.h Copy powerpc/include/_inttypes.h to x86 and replace i386/amd64/pc98 2011-01-08 18:09:48 +00:00
_limits.h Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
_stdint.h On mixed 32/64 bit architectures (mips, powerpc) use __LP64__ rather than 2011-01-08 12:43:05 +00:00
_types.h On 32 bit architectures define (u)int64_t as (unsigned) long long instead 2011-01-08 11:47:55 +00:00
acpica_machdep.h Extract the code to find and map the MADT ACPI table during early kernel 2009-09-23 15:42:35 +00:00
apicvar.h Refactor timer management code with priority to one-shot operation mode. 2010-09-13 07:25:35 +00:00
apm_bios.h Move identical copies of apm_bios.h to sys/x86/include, replace them with 2010-11-11 19:36:21 +00:00
apm_segments.h
asm.h
asmacros.h Integrate support for xen in to i386 common code. 2008-08-15 20:51:31 +00:00
atomic.h Inform a compiler which asm statements in the x86 implementation of 2010-12-18 16:41:11 +00:00
bootinfo.h Add EFI boot info fields. 2010-04-07 18:52:51 +00:00
bus.h Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
bus_dma.h
clock.h Deprecate rarely used tsc_is_broken. Instead, we zero out tsc_freq because 2011-03-10 20:02:58 +00:00
cpu.h Rework r219679. Always check CPU class at run-time to make it predictable. 2011-03-16 16:09:08 +00:00
cpufunc.h Change the parameter passed to the inline assembly to u_short 2010-09-03 14:25:17 +00:00
cputypes.h Introduce cpu_vendor_id and replace a lot of strcmp(cpu_vendor, "..."). 2008-11-26 19:25:13 +00:00
cserial.h
db_machdep.h
elan_mmcr.h
elf.h Add AT_STACKPROT elf aux vector. Will be used to inform rtld about the 2011-01-07 14:22:34 +00:00
endian.h - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
exec.h
float.h
floatingpoint.h
frame.h
gdb_machdep.h
ieeefp.h
if_wl_wavelan.h
in_cksum.h Clobber "cc" instead of using volatile; remove obsolete register keyword. 2009-06-13 14:00:10 +00:00
intr_machdep.h Add a facility for associating optional descriptions with active interrupt 2009-10-15 14:54:35 +00:00
ioctl_bt848.h
ioctl_meteor.h
iodev.h - Extract the IODEV_PIO interface from ia64 and make it MI. 2010-04-28 15:38:01 +00:00
kdb.h
legacyvar.h strict kobj signatures: fix legacy i386 pcib_write_config impl 2009-06-11 17:06:31 +00:00
limits.h
md_var.h Remove unused i586 optimized bcopy/bzero/etc implementations that utilize 2010-06-23 10:40:28 +00:00
memdev.h Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
metadata.h A simple rewrite of biossmap.c: 2009-04-15 17:31:22 +00:00
minidump.h
mp_watchdog.h
nexusvar.h
npx.h Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs() 2010-11-26 14:50:42 +00:00
param.h Add a new sysctl for reporting all of the supported page sizes. 2009-09-18 17:04:57 +00:00
pcaudioio.h
pcb.h Remove the support for int13 FPU exception reporting on i386. It is 2010-06-23 11:12:58 +00:00
pcb_ext.h
pci_cfgreg.h Extend the support for PCI-e memory mapped configuration space access: 2008-08-22 02:14:23 +00:00
pcpu.h Make "options XENHVM" compile for i386, not just amd64 -- a largely 2011-01-04 14:49:54 +00:00
perfmon.h
pmap.h Fix whitespace nit. 2011-02-22 14:58:14 +00:00
pmc_mdep.h - Support for uncore counting events: one fixed PMC with the uncore 2010-04-02 13:23:49 +00:00
ppireg.h
privatespace.h
proc.h Reorganize syscall entry and leave handling. 2010-05-23 18:32:02 +00:00
profile.h Use intr_disable() and intr_restore() instead of frobbing the flags register 2010-10-25 15:28:03 +00:00
psl.h
ptrace.h
reg.h To avoid excessive code duplication create wrapper for fill regs 2011-02-16 17:50:21 +00:00
reloc.h
resource.h
runq.h
segments.h Make i386_set_ldt work on i386/XEN, step 5/5. 2010-12-31 17:42:25 +00:00
setjmp.h
sf_buf.h As was done in r195820 for amd64, use clflush for flushing cache lines 2009-07-29 08:49:58 +00:00
sigframe.h
signal.h Sync definitions for struct sigcontext for i386 and amd64 architectures 2009-04-01 13:44:28 +00:00
smapi.h
smp.h Add a new ipi_cpu() function to the MI IPI API that can be used to send an 2010-08-06 15:36:59 +00:00
speaker.h
specialreg.h specialreg.h: add definitions for some useful bits found in CPUID.6 EAX and ECX 2010-11-23 13:55:30 +00:00
stack.h
stdarg.h
sysarch.h
timerreg.h
trap.h Add two DTrace trap type values. Used by fasttrap. 2010-08-24 13:13:24 +00:00
tss.h
ucontext.h Add all segment registers for the amd64 CPU to struct reg and mcontext. 2009-04-01 12:44:17 +00:00
varargs.h
vm.h Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
vm86.h Increase maximum number of page table entries per VM86 context from 8 to 24 2010-08-25 21:13:23 +00:00
vmparam.h Modestly increase the maximum allowed size of the kmem map on i386. 2011-03-23 16:38:29 +00:00
xbox.h