Commit Graph

240698 Commits

Author SHA1 Message Date
pooka
00e5ca99e7 regen rump kernel interfaces for header change.
(they were already manually edited for a prior commit, so not much change)
2016-01-26 23:25:40 +00:00
pooka
9187c84558 "rump_private.h" -> <rump-sys/kern.h> 2016-01-26 23:24:55 +00:00
pooka
a3ffdb865d generate privhdrs to new location 2016-01-26 23:22:22 +00:00
pooka
bf54b2f752 include rumpif private headers from <rump-sys> 2016-01-26 23:21:18 +00:00
pooka
6bb5142288 Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories.  Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
2016-01-26 23:12:14 +00:00
christos
7481a22a73 The new acpi code tries to read the pci configuration registers in the
acpi_probe() phase, before acpi_softc is allocated. Detect this and use
a NULL chipset handle instead of crashing.
2016-01-26 22:52:14 +00:00
christos
3873a83aa9 back to binutils.old now that it works. 2016-01-26 21:19:20 +00:00
christos
8da1014947 adjust to the Makefile fixes. 2016-01-26 21:18:43 +00:00
christos
eaa6761b21 Sync with binutils. 2016-01-26 19:38:09 +00:00
christos
62d79eec21 Centralize the definition of TOP/DIST and cleanup a little. 2016-01-26 19:37:46 +00:00
christos
4a9e204fe8 back to use binutils since the path is hard-coded everywhere! 2016-01-26 19:09:56 +00:00
christos
9f077b2395 use EXTERNAL_FOO_SUBDIR 2016-01-26 17:48:56 +00:00
christos
7f2bcc7a02 use EXTERNAL_GDB_SUBDIR 2016-01-26 17:48:31 +00:00
christos
22253bc332 use EXTERNAL_BINUTILS_SUBDIR 2016-01-26 17:47:35 +00:00
christos
4bab817c32 external binutils and gdb variables. 2016-01-26 17:47:06 +00:00
christos
2cbc086649 switch to binutils.old 2016-01-26 17:37:51 +00:00
christos
3feacbccbd import the HEAD of binutils as binutils.old 2016-01-26 17:25:55 +00:00
christos
ed70d74604 PR/50712: David Binderman: Fix memory leaks. 2016-01-26 16:23:27 +00:00
christos
3d64af45d4 PR/50711: David Binderman: Fix memory leak on error 2016-01-26 16:05:18 +00:00
christos
d066f94a02 PR/50710: David Binderman: Fix memory leak. 2016-01-26 16:04:12 +00:00
christos
0448bcb7e1 PR/50694: David Binderman: Fix wrong pasto constant. 2016-01-26 16:02:50 +00:00
christos
bfcb7feefd PR/50693: David Binderman: Fix constant pasto. 2016-01-26 16:01:45 +00:00
christos
3e91a03fcb PR/50692: David Binderman: Set the right wake up bits. 2016-01-26 16:00:12 +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
martin
1ef77d7e7c David Binderman in PR bin/50714: fix memory leak 2016-01-26 14:08:58 +00:00
martin
4d3ac9f239 David Binderman in PR bin/50713: fix memory leaks 2016-01-26 14:05:29 +00:00
dholland
fad3375067 typo in comment 2016-01-26 06:27:38 +00:00
knakahara
51f4870974 eliminate variable argument in encapsw 2016-01-26 06:00:10 +00:00
knakahara
b546d5277b implement encapsw instead of protosw and uniform prototype.
suggested and advised by riastradh@n.o, thanks.

BTW, It seems in_stf_input() had bugs...
2016-01-26 05:58:05 +00:00
christos
a695a26e4a fix fd leak 2016-01-26 02:54:25 +00:00
riastradh
1c131ab803 Note limited extent for reference to the pserialized object. 2016-01-26 01:09:56 +00:00
riastradh
6ed125fe67 Suggest the cacheline-aligned global struct idiom. 2016-01-26 01:05:17 +00:00
christos
238b2aa5d3 uses _KERNTYPES 2016-01-25 21:58:02 +00:00
christos
d6c122e06f earm (iyonix and zaurus) don't have cpu_counter.h 2016-01-25 21:56:27 +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
76cb47a568 PR/50701: Martijn van Buul: Adjust MS Confort Mouse 6000 2016-01-25 18:37:38 +00:00
christos
b7f89b8a5f we don't have va_mask 2016-01-25 18:20:16 +00:00
christos
c441eba884 Don't expose kernel structs to userland. 2016-01-25 18:14:40 +00:00
christos
e447d67050 prefer <sys/cpu.h> instead of <machine/cpu.h> 2016-01-25 18:14:04 +00:00
christos
ea4e3ce399 Include <bsd.own.mk> before setting any MK variables, so that /etc/mk.conf
is processed first, and it's settings don't override ours.
2016-01-25 18:00:26 +00:00
christos
59576f8618 Undo previous changes; the debug libraries were installed because of a bug
in the Makefiles... (Setting MKDEBUGLIB in /etc/mk.conf overrides some
Makefile settings)
2016-01-25 17:59:35 +00:00
christos
cb9f529bfe use __register_t 2016-01-25 16:44:42 +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
5cd51c24fd spell empty. 2016-01-25 15:37:21 +00:00
christos
27b99e4279 Handle also the earm{ev,hf}... 2016-01-25 13:31:48 +00:00
martin
1a00ad55ce Map "earm" to armv5 2016-01-25 12:44:52 +00:00
pooka
18353ae21f prop_dictionary_t hasn't been needed here in, um, 5 years, so remove
the type madness.
2016-01-25 12:25:38 +00:00