1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Jayachandran C. 0f6d5fdb54 Move MIPS_MAX_TLB_ENTRIES definition from cpuregs.h to tlb.c
Having MIPS_MAX_TLB_ENTRIES defined to 128 is misleading, since it used
to be 64 in older releases of MIPS architecture (where it could be read
from Config1) and can be much more than 128 for the newer processors.

For now, move the definition to the only file using it (mips/mips/tlb.c)
and define MIPS_MAX_TLB_ENTRIES depending on the MIPS cpu defined. Also
add few checks so that we do not write beyond the end of the tlb_state
array.

This fixes a kernel data corruption seen in Netlogic XLP, which was casued
by tlb_save() writing beyond the end of tlb_state array when breaking into
debugger.
2013-04-12 17:22:12 +00:00
..
amd64 Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' 2013-04-12 16:25:03 +00:00
arm Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' 2013-04-12 16:25:03 +00:00
boot The CELL fields can be various integer types depending on the platform 2013-04-07 05:53:42 +00:00
bsm Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
cam Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' 2013-04-12 16:25:03 +00:00
cddl DTrace: option for time-ordered output 2013-04-11 16:24:36 +00:00
compat Regen. 2013-04-02 05:30:52 +00:00
conf Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' 2013-04-12 16:25:03 +00:00
contrib Forcibly defining _KERNEL is bad idea. Toss some code so that ip_var.h 2013-04-08 19:20:27 +00:00
crypto
ddb
dev Add pciids of the T5 based cards. The ones that I haven't tested with 2013-04-11 23:40:05 +00:00
fs Prepare to replace the buf splay with a trie: 2013-04-06 22:21:23 +00:00
gdb
geom Make it possible to submit FLUSH bios through geom_dev strategy. This 2013-04-06 10:32:06 +00:00
gnu/fs/reiserfs
i386 Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' 2013-04-12 16:25:03 +00:00
ia64 Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' 2013-04-12 16:25:03 +00:00
isa
kern Fix kenv behavior when there is no static environment 2013-04-12 15:58:53 +00:00
kgssapi
libkern Add __aeabi_memset to libkern, implemented using memset, as clang may 2013-03-16 23:11:55 +00:00
mips Move MIPS_MAX_TLB_ENTRIES definition from cpuregs.h to tlb.c 2013-04-12 17:22:12 +00:00
modules Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' 2013-04-12 16:25:03 +00:00
net Fix build. 2013-04-10 08:09:25 +00:00
net80211 Add VNET wrappers around the rest of the ieee80211 rtsock messages. 2013-03-20 02:42:52 +00:00
netatalk
netgraph Attempt to clean up spacing and long lines. 2013-04-12 08:52:19 +00:00
netinet Reflect removing of the counter_u64_subtract() function in the macro. 2013-04-12 16:29:15 +00:00
netinet6 Free memory after deleting an address policy entry. 2013-04-12 07:59:54 +00:00
netipsec Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. 2013-04-09 07:11:22 +00:00
netipx
netnatm
netpfil Fix ipfw rule validation partially broken by r248552. 2013-04-01 11:28:52 +00:00
netsmb
nfs Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
nfsclient Fix remainder calculation when biosize is not a power of 2 2013-03-19 13:06:11 +00:00
nfsserver
nlm
ofed Check for SS_NBIO in the socket state field rather than socket buffer 2013-04-03 20:31:10 +00:00
opencrypto
pc98 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
pci
powerpc Generate a LINT for powerpc and for powerpc64. 2013-04-11 22:18:20 +00:00
rpc Fix a potential socket leak in the NFS server. If a client closes its 2013-04-08 19:03:01 +00:00
security
sparc64 Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' 2013-04-12 16:25:03 +00:00
sys Add sbuf_start_section() and sbuf_end_section() functions, which can 2013-04-11 19:49:18 +00:00
teken
tools
ufs Prepare to replace the buf splay with a trie: 2013-04-06 22:21:23 +00:00
vm Convert UMA code to C99 uintXX_t types. 2013-04-09 17:43:48 +00:00
x86 Make the code to check if VMX is enabled more readable by using macros 2013-04-11 04:29:45 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen
Makefile