Commit Graph

236080 Commits

Author SHA1 Message Date
matt
b140ef278c No more sysmapsize. 2015-06-11 15:48:57 +00:00
matt
74c5c005f8 Use (uint64_t) to avoid 32-bit overflow 2015-06-11 15:43:36 +00:00
macallan
1af69ec73b use kcpuset_isset() 2015-06-11 15:38:18 +00:00
matt
ff6371c723 u_int32_t -> uint32_t 2015-06-11 15:36:26 +00:00
matt
957e288d74 Fix a type from kcpuset transition.
Deal with kcpuset_ffs return value a little more cleanly.
2015-06-11 15:15:27 +00:00
matt
078e3d0fa5 XXX cast NBPG to vaddr_t to avoid promotion to unsigned long. 2015-06-11 15:13:34 +00:00
matt
c525e41f98 Declare or #define avail_start and avail_end as appropriate 2015-06-11 15:11:13 +00:00
matt
34ff9ed42b Add avail_start, avail_end declarations. 2015-06-11 15:08:27 +00:00
matt
e3ec8c0595 Add tlb_asid_t 2015-06-11 14:32:16 +00:00
matt
9b83c0f5e6 Add struct pmap_limits and pm_{min,max}addr from uvm/pmap/map.h and use it to
store avail_start, avail_end, virtual_start, and virtual_end.
Remove iospace and let emips just bump pmap_limits.virtual_start to get the
VA space it needs.
pmap_segtab.c is almost identical to uvm/pmap/pmap_segtab.c now.  It won't
be long until we switch to the uvm/pmap one.
2015-06-11 08:22:08 +00:00
matt
bd7a43d981 Add stuff from mips_param.h that the .S files need. 2015-06-11 08:16:47 +00:00
matt
43b5e772f9 Move declaration of avail_start, avail_end to <machine/kloader.h> 2015-06-11 08:14:38 +00:00
matt
9861f869d0 Use PMAP_MAP_POOLPAGE instead of POOL_PHYSTOV since we use PMAP_UNMAP_POOLPAGE.
Use PMAP_ALLOC_POOLPAGE instead of pmap_md_alloc_poolpage.
Cleanup some panic messages.
2015-06-11 08:04:44 +00:00
matt
a74e1552fa Add PRIxPTE and pte_value(pt_entry_t) for printing the value of a PTE.
Add pte_zero_p(pt_entry_t) to check that a PTE has been zeroed.
2015-06-11 08:01:50 +00:00
matt
0e0edb604f Don't include <machine/param.h> in .S files, get the needed values from assym.h
Define NBPG as UL to avoid integer over with NBXSEG on LP64 systems.
(.S files don't like numbers with UL appended to them).
2015-06-11 07:30:10 +00:00
matt
f7b8434b14 Don't call kcpuset_intersecting_p and then kcpuset_ffs_intersecting since
that the last will tell use what we need to know.
2015-06-11 05:28:42 +00:00
matt
b9c0826d5d Add virtual_start to pmap_limits. This allows MD to steal address space
before pmap_bootstrap.
2015-06-11 05:27:07 +00:00
matt
d8c91f91dd Constify nibbletab 2015-06-11 05:22:55 +00:00
matt
c21818097f Add a few MIPS32 R3 bits 2015-06-11 05:15:49 +00:00
matt
d99aa73f39 Force *stackp to (uintptr_t) before possibly moving to a smaller pointer size. 2015-06-11 02:54:00 +00:00
alnsn
1ad4508f49 Include <i386/sljit_machdep.h> for i386 compat build. 2015-06-10 23:16:27 +00:00
matt
87b8846905 mci_cache_virtual_alias is bool so use true and false, not 1 and 0. 2015-06-10 22:40:37 +00:00
matt
021704511f Match sd and ld in addition to wd. 2015-06-10 22:33:06 +00:00
matt
f75f4dcfbb Avoid using curpcb (use lwp_getpcb(curlwp)) instead. 2015-06-10 22:32:32 +00:00
matt
fcf879e0bf Transition from __cpuset_t to kcpuset_t *. This brings the local pmap one
step closer to uvm/pmap, its eventual replacement.  Tested on ERLITE MP kernel.
2015-06-10 22:31:00 +00:00
roy
ffa75d47bd Teach mdnsd about IN_IFF_NOTREADY and IN_IFF_DETACHED. 2015-06-10 16:32:42 +00:00
hannken
180a9009d6 ufs_inactive: take UFS_WAPBL_BEGIN() before calling chkiq().
Should fix PR kern/49948 (quota panic)
2015-06-10 15:28:27 +00:00
msaitoh
30a8e712ee Remove extra if_start() in wm_ioctl(). 2015-06-10 12:14:59 +00:00
matt
41d36ec93d Add entry for MIPS 1074K 2015-06-10 05:03:59 +00:00
matt
306c71a065 Add MIPS 1074K 2015-06-10 05:03:41 +00:00
ozaki-r
95529645e4 Add missing cleanup 2015-06-10 03:29:37 +00:00
matt
97627a755d #include <sys/cpu.h> or <mips/cpuregs.h> as needed 2015-06-09 22:50:50 +00:00
matt
92013fbfdf #include <sys/cpu.h> and/or <mips/cpuregs.h> as needed. 2015-06-09 22:49:55 +00:00
matt
2f1df9346b #include <sys/cpu.h> 2015-06-09 22:48:54 +00:00
matt
ba3b277170 #include <sys/cpu.h> or <mips/cpuregs.h> as needed 2015-06-09 22:47:59 +00:00
matt
b3a5c5652b #include <mips/cpuregs.h> 2015-06-09 22:47:12 +00:00
matt
20ca0a94c9 #include <sys/cpu.h> and/or <mips/cpuregs.h> + other include fixes 2015-06-09 22:46:36 +00:00
matt
343f6c784a #include <sys/sched.h> for yield(); 2015-06-09 21:42:21 +00:00
matt
6be453da00 Regen. 2015-06-09 21:41:55 +00:00
matt
4d6f9a09ac Add xxMarvell E6060 6-port 10/100 Fast Ethernet Switch 2015-06-09 21:41:23 +00:00
matt
95fee2b199 #include either <sys/cpu.h> or <mips/cpuregs.h> as needed 2015-06-09 20:23:53 +00:00
macallan
b21f450d9d yet another cpuregs.h 2015-06-09 17:53:25 +00:00
macallan
04c3c50ebb another cpuregs.h 2015-06-09 16:29:01 +00:00
macallan
8005322523 more cpuregs.h 2015-06-09 16:10:48 +00:00
macallan
ec31a2edcd include cpuregs.h 2015-06-09 15:58:38 +00:00
matt
605a1ecfb0 Fix mips_fixup_zero_relative to have a third argument (ignored).
When reading COP0 EBASE, verify that the fixed bits have the right value.
2015-06-09 15:01:05 +00:00
matt
f697a6dc1e Fix corruption of EntryHi (restored from wrong register). 2015-06-09 14:40:42 +00:00
martin
e44e5ead26 Fix period handling 2015-06-09 12:46:37 +00:00
martin
da3a80aaef Reenable preemption before returning an error when trying to set the
watchdog to an invalid period.
2015-06-09 12:10:08 +00:00
skrll
c62023da75 Use armreg_auxctl_{read,write} instead of inline asm.
No functional change.
2015-06-09 10:44:55 +00:00