skrll
b3b36747d3
Apply -fno-delete-null-pointer-checks so PAGE0 is handled correctly
...
netinstall.lif works again
2018-11-13 21:22:37 +00:00
skrll
e5167a0bf7
Trailing whitespace
2018-11-13 21:20:11 +00:00
skrll
32fb419ab7
On second/third thoughts we can use the pages before the kernel
...
everywhere.
2018-11-13 20:48:14 +00:00
jmcneill
77715e1a23
Fix intrctl for pics with non-0 irqbase
2018-11-13 20:24:48 +00:00
jdolecek
456ea4f981
use pci_intr_establish_xname()
2018-11-13 20:12:45 +00:00
jdolecek
f798e483bb
whitespace fix, NFC
2018-11-13 19:39:04 +00:00
jakllsch
a8e9e1a9cb
Add AXP803 current and maximum battery capacity sensors
2018-11-13 19:06:05 +00:00
scole
5b582482a6
Mention macppc 601 needs to use separate boot floppies, kernels, and specific kernel on CD
2018-11-13 18:48:25 +00:00
jakllsch
eec37234f1
Use semantically-correct "_lo" in AXP_ADC_RAW macro.
2018-11-13 18:27:32 +00:00
bouyer
a5c25858d1
Skip mbr for xbd and raid devices, as it was before Nov. 5 commits.
...
anita xen installs should work again.
2018-11-13 17:22:04 +00:00
mlelstv
3118701f5e
Fix some error handling, json support, keyring handling.
2018-11-13 14:52:30 +00:00
skrll
9f7f145236
Fix/add KASSERTS to work with a system of MAXCPUS. Add some comments to
...
explain things.
Discussed with rmind
2018-11-13 11:06:19 +00:00
mlelstv
be56c11f44
Framebuffer definitions for multiboot protocol.
2018-11-13 11:01:54 +00:00
mlelstv
d8bcdfdb84
use generic usbdevices.config
2018-11-13 11:00:55 +00:00
mlelstv
819a20c4d5
compute interrupt timer depending on bus clock.
2018-11-13 10:51:49 +00:00
mlelstv
695baa5ba5
Fix race in attachment.
2018-11-13 10:35:32 +00:00
jmcneill
d838922e97
Save a few pages by only allocating LPI pending tables for "ncpu" instead of "MAXCPU" CPUs.
2018-11-13 10:33:03 +00:00
mrg
b5c3365f79
only warn once per call to uvm_pglistalloc_simple() if waiting.
2018-11-13 10:31:01 +00:00
mlelstv
7fc8c73ad7
Handle abort paths gracefully on detach.
2018-11-13 10:30:57 +00:00
jmcneill
393f75b302
Physical end should be the end of the last range, not the first.
2018-11-13 10:30:35 +00:00
martin
53fe79071f
Too much magic involved - revert previous.
2018-11-13 09:24:37 +00:00
martin
94c721a4e0
Need some minimalistic support for additional things that ../Makefile
...
requires, even if we do nothing here
2018-11-13 09:14:14 +00:00
martin
9b49821e7c
Move conditionals for libnvmm to subdir makefile, requested boy mrg.
2018-11-13 09:00:08 +00:00
maxv
f0cdb4272b
Fix kernel info leak. There are 2 bytes of padding in struct if_msghdr.
...
[ 944.607323] kleak: Possible leak in copyout: [len=176, leaked=2]
[ 944.617335] #0 0xffffffff80b7c44a in kleak_note <netbsd>
[ 944.627332] #1 0xffffffff80b7c4ca in kleak_copyout <netbsd>
[ 944.627332] #2 0xffffffff80c91698 in sysctl_iflist_if <netbsd>
[ 944.637336] #3 0xffffffff80c91d3c in sysctl_iflist <netbsd>
[ 944.647343] #4 0xffffffff80c93855 in sysctl_rtable <netbsd>
[ 944.647343] #5 0xffffffff80b5b328 in sysctl_dispatch <netbsd>
[ 944.657346] #6 0xffffffff80b5b62e in sys___sysctl <netbsd>
[ 944.667354] #7 0xffffffff8025ab3c in sy_call <netbsd>
[ 944.667354] #8 0xffffffff8025ad6e in sy_invoke <netbsd>
[ 944.677365] #9 0xffffffff8025adf4 in syscall <netbsd>
2018-11-13 07:45:43 +00:00
maxv
0b8018b8b9
Fix kernel info leak. There are 2x4 bytes of padding in struct itimerval.
...
[ 738.451860] kleak: Possible leak in copyout: [len=32, leaked=8]
[ 738.481840] #0 0xffffffff80b7c42a in kleak_note <netbsd>
[ 738.491821] #1 0xffffffff80b7c4aa in kleak_copyout <netbsd>
[ 738.501806] #2 0xffffffff80b6154e in sys___getitimer50 <netbsd>
[ 738.511778] #3 0xffffffff80b61e39 in sys___setitimer50 <netbsd>
[ 738.521781] #4 0xffffffff8025ab3c in sy_call <netbsd>
[ 738.521781] #5 0xffffffff8025ad6e in sy_invoke <netbsd>
[ 738.531808] #6 0xffffffff8025adf4 in syscall <netbsd>
2018-11-13 07:16:33 +00:00
maxv
875892b9bd
Fix kernel info leak. There are 4 bytes of padding in struct kevent.
...
[ 287.537676] kleak: Possible leak in copyout: [len=40, leaked=4]
[ 287.537676] #0 0xffffffff80b7c41a in kleak_note <netbsd>
[ 287.547673] #1 0xffffffff80b7c49a in kleak_copyout <netbsd>
[ 287.557677] #2 0xffffffff80b1d32d in kqueue_scan.isra.1.constprop.2 <netbsd>
[ 287.557677] #3 0xffffffff80b1dc6a in kevent1 <netbsd>
[ 287.567683] #4 0xffffffff80b1dcb0 in sys___kevent50 <netbsd>
[ 287.567683] #5 0xffffffff8025ab3c in sy_call <netbsd>
[ 287.577688] #6 0xffffffff8025ad6e in sy_invoke <netbsd>
[ 287.587693] #7 0xffffffff8025adf4 in syscall <netbsd>
2018-11-13 06:58:14 +00:00
maya
c587647461
Revert my own rev 1.2, the missing include was only when building the 32-bit
...
compat library, we no longer do this.
2018-11-13 06:57:14 +00:00
ryo
926a162de8
turn on MODULAR by default on aarch64
2018-11-13 06:06:29 +00:00
scole
737f9c1026
add ppc601 kernel to macppc iso
2018-11-13 03:03:22 +00:00
jakllsch
2fb1e9d44c
Avoid using the "interrupt-map" table on our own interrupts.
...
This is needed by the rk3399.dtsi's pcie0 node, which needs to map its
interrupts an entity other than itself.
Suggested by jmcneill@
2018-11-13 01:06:37 +00:00
jdolecek
7804de8da0
pass correct status + error to *_atapi_phase_complete(), so that
...
the function is actually able to recognize when there was an error;
tested via reading a cd0 device in QEMU with ejected cdrom
bug was introduced with jdolecek-ncq branch
fixes PR kern/53724 by Andreas Gustafsson
2018-11-12 20:54:03 +00:00
scole
061a76feb8
install kernel for ppc601 floppies and iso
2018-11-12 20:07:47 +00:00
scole
9f49f956e1
Add scroll support, wsmouse
2018-11-12 20:03:42 +00:00
scole
395178c744
PR 51495/port-macppc
...
Allow ppc601 to boot off hard disk
2018-11-12 20:00:46 +00:00
jdolecek
65a96d6bf9
hold channel lock during whole ata_dmaerr()/ata_downgrade_mode() -
...
according to code inspection this is safe, none of the set_modes
hooks execute anything which would be taking the lock
adresses PR kern/53714 by Andreas Gustafsson
2018-11-12 18:51:01 +00:00
maxv
767a8c0176
Add a comment explaining an important rule. Just to better highlight that
...
this rule is actually not respected.
2018-11-12 18:10:36 +00:00
nakayama
996407034c
No need to install shared libraries to /lib.
2018-11-12 17:46:53 +00:00
jmcneill
193d42dd58
Support building kernels with ACPI and no PCI.
2018-11-12 12:56:05 +00:00
jmcneill
5e66c54237
Only attach v2m if PCI support is present
2018-11-12 12:41:03 +00:00
martin
c0f5d6f2fc
Do not build a compat i386 version of libnvmm.
2018-11-12 09:25:42 +00:00
hannken
975d5a9381
Re-enable {send,recv}mmsg now they are working.
2018-11-12 09:21:45 +00:00
hannken
c52c8444f2
sys_recvmmsg: don't defer an error that already gets returned.
2018-11-12 09:21:13 +00:00
maxv
36bb644b47
Fix buffer overflow, which can lead to severe information leak. Detected
...
by kASan.
2018-11-12 06:55:03 +00:00
maxv
52b3c20338
Fix inverted logic, which leads to buffer overflow. Detected by kASan.
2018-11-12 06:53:43 +00:00
riastradh
ae35b062b5
Make fenv.h optional for this test to unbreak the vax build.
2018-11-12 05:02:00 +00:00
msaitoh
550ab7f76a
Regen.
2018-11-12 04:37:54 +00:00
msaitoh
33e125745f
Add some Intel 100 series and C230 series devices.
2018-11-12 04:37:26 +00:00
knakahara
96d91f815c
Fix ALTQ on gif(4). Reported and tested by Anthony Mallet, advised by Greg Troxel, thanks.
...
l2tp(4) and ipsecif(4) don't support ALTQ yet. So, they don't require this fix.
XXX pullup-8
2018-11-12 03:37:33 +00:00
christos
2888de0106
Improve examples and netmask information (from Dan Plassche)
2018-11-12 00:56:26 +00:00
christos
782f459947
FILES section from Dan Plassche
2018-11-12 00:50:54 +00:00