1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/sys/i386/i386
Alan Cox 97dbe5e48e MFamd64 with few changes:
1. Add support for automatic promotion of 4KB page mappings to 2MB page
   mappings.  Automatic promotion can be enabled by setting the tunable
   "vm.pmap.pg_ps_enabled" to a non-zero value.  By default, automatic
   promotion is disabled.  Tested by: kris

2. To date, we have assumed that the TLB will only set the PG_M bit in a
   PTE if that PTE has the PG_RW bit set.  However, this assumption does
   not hold on recent processors from Intel.  For example, consider a PTE
   that has the PG_RW bit set but the PG_M bit clear.  Suppose this PTE
   is cached in the TLB and later the PG_RW bit is cleared in the PTE,
   but the corresponding TLB entry is not (yet) invalidated.
   Historically, upon a write access using this (stale) TLB entry, the
   TLB would observe that the PG_RW bit had been cleared and initiate a
   page fault, aborting the setting of the PG_M bit in the PTE.  Now,
   however, P4- and Core2-family processors will set the PG_M bit before
   observing that the PG_RW bit is clear and initiating a page fault.  In
   other words, the write does not occur but the PG_M bit is still set.

   The real impact of this difference is not that great.  Specifically,
   we should no longer assert that any PTE with the PG_M bit set must
   also have the PG_RW bit set, and we should ignore the state of the
   PG_M bit unless the PG_RW bit is set.
2008-03-27 04:34:17 +00:00
..
apic_vector.s Evidently FreeBSD has long relied on the compiler to treat structures 2006-12-17 05:07:01 +00:00
atomic.c
autoconf.c
bios.c style nit 2007-04-19 09:18:51 +00:00
bioscall.s
bpf_jit_machdep.c
bpf_jit_machdep.h
busdma_machdep.c If busdma is being used to realign dynamic buffers and the alignment is set to 2008-02-12 16:24:30 +00:00
db_disasm.c
db_interface.c
db_trace.c Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
dump_machdep.c Teach the dump and minidump code to respect the maxioszie attribute of 2008-02-15 06:26:25 +00:00
elan-mmcr.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
elf_machdep.c Allow FreeBSD's native ELF image activators to execute shared libraries the 2007-05-22 02:22:58 +00:00
exception.s Kernel and hwpmc(4) support for callchain capture. 2007-12-07 08:20:17 +00:00
gdb_machdep.c
genassym.c MFP4: Add assembly language symbols used by hwpmc(4)'s callchain capture. 2007-11-23 03:03:30 +00:00
geode.c Add support for PC Engines ALIX boards. 2008-02-10 19:14:42 +00:00
i686_mem.c The variable MTRR registers actually have variable-sized PhysBase and 2008-03-12 22:09:19 +00:00
identcpu.c - Remove the old smp cpu topology specification with a new, more flexible 2008-03-02 07:58:42 +00:00
in_cksum.c Fold multiple asm statements into one so that the compiler at a certain 2007-10-20 22:18:42 +00:00
initcpu.c Support the VIA C7 Eden CPU and treat it just like a C7 Esther. We may 2008-02-25 22:42:33 +00:00
intr_machdep.c Simplify the interrupt code a bit: 2008-03-17 22:42:01 +00:00
io_apic.c Move a warning under bootverbose as no machines that trigger it have ended 2007-06-05 18:57:48 +00:00
io.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
k6_mem.c Add missed parentheses 2008-03-13 09:52:48 +00:00
legacy.c Rework how the nexus(4) device works on x86 to better handle the idea of 2008-03-13 20:39:04 +00:00
local_apic.c In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
locore.s Drastically simplify the i386 pcpu backend by merging parts of the 2007-11-13 23:00:24 +00:00
longrun.c
machdep.c In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
mem.c
minidump_machdep.c Teach the dump and minidump code to respect the maxioszie attribute of 2008-02-15 06:26:25 +00:00
mp_clock.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
mp_machdep.c In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
mp_watchdog.c Add a new 'why' argument to kdb_enter(), and a set of constants to use 2007-12-25 17:52:02 +00:00
mpboot.s
mptable_pci.c Revamp the MSI/MSI-X code a bit to achieve two main goals: 2007-05-02 17:50:36 +00:00
mptable.c In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
msi.c Update copyright attribution. 2007-10-24 21:16:22 +00:00
nexus.c Implement a BUS_BIND_INTR() method in the bus interface to bind an IRQ 2008-03-20 21:24:32 +00:00
perfmon.c
pmap.c MFamd64 with few changes: 2008-03-27 04:34:17 +00:00
ptrace_machdep.c
stack_machdep.c Remove duplicate $FreeBSD$ tag. 2007-12-02 21:07:49 +00:00
support.s Assign sizes to assembly language support functions. 2007-08-22 05:06:14 +00:00
swtch.s Assign sizes to assembly language support functions. 2007-08-22 05:06:14 +00:00
symbols.raw
sys_machdep.c Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
trap.c The "free-lance" timer in the i8254 is only used for the speaker 2008-03-26 20:09:21 +00:00
tsc.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
uio_machdep.c
vm86.c Evidently FreeBSD has long relied on the compiler to treat structures 2006-12-17 05:07:01 +00:00
vm86bios.s Evidently FreeBSD has long relied on the compiler to treat structures 2006-12-17 05:07:01 +00:00
vm_machdep.c In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00