jandberg
e09dd753e1
Fix some awkward language in manpage and code comments.
2016-02-06 20:20:18 +00:00
palle
cd467f86fe
sun4v: extend dmmu_set_secondary_context() to handle both sun4u and sun4v. ok martin@
2016-02-03 20:33:52 +00:00
martin
be2b75ed4e
New rawrite32 version out (small bugfixes)
2016-02-03 15:06:25 +00:00
christos
ba3275f8a0
PR/50748: David Binderman: check bounds before dereference
2016-02-03 05:27:53 +00:00
christos
386b5e25f6
one more.
2016-02-02 20:16:59 +00:00
christos
f09f85eee3
more relocations.
2016-02-02 20:16:08 +00:00
christos
a0e0372037
Add more relocation constants
2016-02-02 20:13:59 +00:00
skrll
fc42e17ef4
Fix up bcm283[56] bus_space(4) to really use bus addresses for
...
peripherals, etc
Simplifies the code in various places and uses the abstraction in
more places. (bcm2835_gpio_subr.c still doesn't)
2016-02-02 13:55:50 +00:00
christos
d3f9dfe250
PR/50740: David Binderman: Provide a copy constructor.
2016-02-01 17:44:19 +00:00
christos
0b5365f66d
PR/50737: David Binderman: Check bounds before dereferencing.
2016-02-01 17:39:41 +00:00
christos
ff4ea0ba8c
PR/50736: David Binderman: Check bounds before dereferencing.
2016-02-01 17:38:31 +00:00
christos
0a67dc8231
PR/50735: David Binderman: Check bounds before dereferencing.
2016-02-01 17:37:39 +00:00
christos
fa11e0c528
include bsd.init.mk to get Makefile.inc
2016-01-31 15:32:12 +00:00
christos
f56c05e9f6
remove the MKPIE and MKCTF no hack, and move it to the .mk files
2016-01-31 15:29:04 +00:00
christos
cb09bfac79
Disable PIE and CTF for standalone code
...
XXX: Must be done centrally, and there must be a better way.
2016-01-31 02:16:28 +00:00
palle
46d16bc240
Fixed typo in sparc64_send_ipi_sun4u(): sun4v -> sun4u
2016-01-30 22:47:06 +00:00
christos
736ee7ee51
compile full symbol table for CTF so FBT can get function arguments.
2016-01-30 04:12:38 +00:00
riastradh
461b4ecf4d
Always initialize error.
...
Found by joerg.
2016-01-30 00:00:56 +00:00
christos
83d04d3aa0
use __register.
2016-01-29 21:45:00 +00:00
christos
8ce1ba1c05
fix printf formats
2016-01-29 02:40:22 +00:00
macallan
91d5ecf2d2
first shot at SMP support, very much broken and experimental
...
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
2016-01-29 01:54:13 +00:00
htodd
522bc88a7d
Fix build break.
2016-01-28 23:50:04 +00:00
jnemeth
3f338bf379
move #ifdef notyet to encompass all relevant parts
2016-01-28 06:52:55 +00:00
christos
f234372d77
Add support for grub to find the ACPI root table pointer via a bootinfo entry
...
from grub.
From: https://mail-index.netbsd.org/tech-kern/2014/05/22/msg017119.html
2016-01-28 01:09:56 +00:00
christos
c2094a0c66
fix previous commit that ate all 4's, and add aprint_btinfo()
2016-01-28 01:08:43 +00:00
christos
aba0964ef0
just whitespace.
2016-01-28 00:18:27 +00:00
hannken
3d8ae9d74d
Operation pmap_pp_clear_attrs() may remove the "used" attribute from a page
...
that is still cached in the TLB of other CPUs.
Call pmap_tlb_shootnow() here before enabling preemption to clear the
TLB entries on other CPUs.
Should prevent tmpfs data corruption under load.
Ok: Chuck Silvers
2016-01-26 14:34:50 +00:00
christos
238b2aa5d3
uses _KERNTYPES
2016-01-25 21:58:02 +00:00
christos
58941b580c
protect locore.
2016-01-25 21:54:14 +00:00
christos
31ee5a7a9a
use :Q to quote variables properly.
2016-01-25 18:55:25 +00:00
christos
c441eba884
Don't expose kernel structs to userland.
2016-01-25 18:14:40 +00:00
christos
49d73c6b61
Move the ipl_cookie_t definition earlier, since the mutex internal impl
...
uses it.
2016-01-25 16:41:06 +00:00
christos
9789416488
Need _KERNTYPES for round_page() vaddr_t.
2016-01-25 16:34:52 +00:00
christos
48bda0e905
This is a mess:
...
-> sys/mutex.h -> sys/intr.h -> machine/intr.h -> footbridge/footbridge_intr.h
-> arm/cpu.h -> sys/cpu_data.h -> sys/sched.h -> sys/time.h -> sys/timevar.h
-> sys/systm.h -> sys/param.h -> uvm_param.h -> sys/resourcevar.h
Now sys/resourcevar.h needs a concrete definition of kmutex_t, and
although we started including sys/mutex.h we never got to include
machine/mutex.h which actually defines it, since the footbridge_intr.h
took us for a long ride. Take the easy way out and include
arm/mutex.h in footbridge_intr.h so that we get the definition we
need.
2016-01-25 16:30:42 +00:00
christos
2f34b929f6
use __register_t
2016-01-24 20:02:38 +00:00
christos
2b7829fe47
expose __register32_t for frame.h
2016-01-24 19:49:35 +00:00
christos
512ffbb6fc
expose __vaddr_t for segments.h since it is a userland api.
2016-01-24 18:21:50 +00:00
christos
0496cf4b33
use __paddr_t since this is a userland API.
2016-01-24 16:47:50 +00:00
christos
55745840fb
use namespace protected types.
2016-01-24 16:13:19 +00:00
christos
f7947ff0c1
expose label_t for _KMEMUSER
2016-01-24 16:08:05 +00:00
christos
5dc68936fa
expose __fpregister_t too, merge definitions.
2016-01-24 16:00:45 +00:00
christos
d6d783a302
use namespace protected types.
2016-01-24 16:00:29 +00:00
christos
d84c286204
expose the kernel types for standalone code.
2016-01-23 22:31:19 +00:00
christos
d77af8a6d9
We'll define the kernel types for standalone code.
2016-01-23 22:29:29 +00:00
christos
0512edd781
revert previous, we'll do differently
2016-01-23 22:28:09 +00:00
christos
0d5ae2fd97
Add -D_KERNTYPES
2016-01-23 22:20:45 +00:00
christos
8cd0a7d1e0
Rename the cpu_id() define to cpu_idnum() so that it does not conflict with
...
dtrace and friends.
2016-01-23 21:39:17 +00:00
christos
ffeb8dbf4e
Define _KERNTYPES for things that need it.
2016-01-23 21:22:45 +00:00
christos
4d497c90e6
Hide {p,v}{addr,size}_t and register_t (and a couple more types that
...
are machine-specific) from userland unless _KERNEL/_KMEMUSER and a
new _KERNTYPES variables is defined. The _KERNTYPES should be fixed
for many subsystems that should not be using it (rump)...
2016-01-23 21:22:13 +00:00
riz
9ed3ff4a08
Enable KDTRACE_HOOKS on i386 and amd64 GENERIC.
2016-01-22 21:56:56 +00:00