Commit Graph

61657 Commits

Author SHA1 Message Date
matt
7be314e397 Make _BSD_CLOCK_T_ unsigned int so it's the same for IPL32 and LP64
environments.  We don't really have a powerpc64 native userland
and the mips64 native userland is IPL32 so this shouldn't affect anything.
2015-06-17 13:52:51 +00:00
macallan
a7056d583e .set mips3 for __mips_o32
now o32 kernels boot again on my O2
2015-06-16 18:12:18 +00:00
martin
b6a5b34df0 Remove options NFS_V2_ONLY 2015-06-16 09:37:48 +00:00
matt
d8c167db5e This needs to define PRIxPTE too. 2015-06-16 06:51:16 +00:00
matt
dab5e7602c #include <sys/cpu.h> for curlwp 2015-06-15 16:53:17 +00:00
martin
cdb4c2869d Slightly optimize the ITLB usage on secondary processors 2015-06-15 07:48:08 +00:00
matt
425f2c7414 Add decoder for ehb. Fix ins/ext instruction decoding 2015-06-15 02:55:02 +00:00
martin
b0de4087c8 Do not hardcode the assumption that .data and .bss fit together in a single
4 MB page. This allows booting kernels with options USB_DEBUG again.
2015-06-14 19:05:27 +00:00
martin
5dd05e8b9a Bump version now that we can load kernels with sizeof(.data)+sizeof(.bss)> 4 MB 2015-06-14 18:40:10 +00:00
martin
158ff069a0 Fix available length calculation in kvamap_extract when reusing existing
mappings.
2015-06-14 16:20:44 +00:00
martin
5bf724d9b4 Add disarm support 2015-06-14 08:32:02 +00:00
phx
86f1c74589 Use all the changes from
http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/vmparam.diff
after a discussion on port-m68k. I tested them on several Amiga models
and they seem to work fine.
This gives us the maximum virtual memory space for a process under the
current 512MB pmap limitation.
Also bump VM_KERNEL_PT_PAGES to allow up to 2 GB RAM.
2015-06-13 23:55:18 +00:00
mlelstv
5d01999423 btoc is already rounding up to click size, use predefined ctod macro
to translate to disk blocks.
2015-06-13 07:35:50 +00:00
matt
49e70f47cc Add back sysmapsize 2015-06-12 16:28:39 +00:00
palle
655b9807ec sun4v: Avoid using ASI_PHYS_NON_CACHED/ASI_PHYS_NON_CACHED_LITTLE in sparc_bus_map() since they are deprecated according to the UA2005 docs. Using the ASI_PRIMARY/ASI_PRIMARY_LITTLE seems to work. ok martin@ 2015-06-11 21:00:05 +00:00
matt
f804672e3b Remove PMAP_POOLPAGE_DEBUG latent code since it never worked. 2015-06-11 15:58:49 +00:00
khorben
64a1eb60ad Also document the "splash" command in boot(8) 2015-06-11 15:56:53 +00:00
matt
ff7750a4ef Define (but not use) separate kernel and user pagetables.
Move to the new names.
2015-06-11 15:50:17 +00:00
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
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
c21818097f Add a few MIPS32 R3 bits 2015-06-11 05:15:49 +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
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
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
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