Commit Graph

263305 Commits

Author SHA1 Message Date
kre
0ebdf0f8fc Add some tests to detect the presence of a bug in sh reported by
Martijn Dekker (private e-mail.)   Variable expansions that are
double quoted result in literal characters (nver pattern matching
meta chars.)  This includes '\' (that one was the bug.)
[On the other hand, a variable in a case pattern expansion that is
unquoted, produces a pattern, and in that the \ character can be
used to excape other pattern meta-chars (and itself.]

This addition will cause the case_matching test case to fail (two
of the newly added sub-tests fail) until fixes to /bin/sh are made.
(That is comiung soon, the code exists already.)
2018-11-18 01:24:44 +00:00
uwe
d2a41e949e Oops, revert previous. Wrong tree. 2018-11-18 01:23:57 +00:00
uwe
e573989caa Comment out LIBDPLIBS so that this can be built outside of the tree. 2018-11-18 01:22:49 +00:00
uwe
e156886d4b Rename cellcmp() and linecmp() to celleq() and lineeq() respectively
and make them static.
2018-11-18 01:19:29 +00:00
uwe
291b9ad5db quickch - fix inverted checks.
I have to admit I have no idea what's going on here, but HAVE_WCHAR
code here inverted the sense of linecmp and cellcmp checks w.r.t the
!HAVE_WCHAR variant just above it.  Cf. also all other similar #ifdefs
in this file.

Found through source code inspection, not really tested.
2018-11-18 01:05:30 +00:00
uwe
02236eecfb cellcmp - use logical && not bitwise & 2018-11-18 00:45:44 +00:00
scole
cbffbb52de change "InterruptNumber" to "irq" to fix compilation 2018-11-17 20:53:35 +00:00
jmcneill
716c8fba44 TX/RX FIFO are looking for 32-bit samples, so add play/rec filters. 2018-11-17 20:36:23 +00:00
jmcneill
4f89b900f4 Handle different burst bits for h3/a64 2018-11-17 20:35:41 +00:00
uwe
48b40dde51 Add commented out options WSEMUL_DEFAULT="\"vt100\""
If WSEMUL_SUN is enabled it becomes the default emulation which is
most likely not what we want here.
2018-11-17 20:29:49 +00:00
jmcneill
cd4cb201e4 Serialize RSB requests. 2018-11-17 19:30:51 +00:00
martin
b70953c52d Add default for debug sets size 2018-11-17 19:22:48 +00:00
jakllsch
c30db22845 use aprint_debug() rather than aprint_error() rk_cru_clock_get_rate() 2018-11-17 16:51:51 +00:00
maxv
07310f302a Don't forget to set 'prot' when the guest has paging disabled. 2018-11-17 16:11:33 +00:00
kre
1a05c81cde Attempt to appease gcc and unbreak i386 build. Should be NFC. 2018-11-17 07:06:25 +00:00
cherry
26c2e0b109 Use hypervisor provided interface to unmask specific ports.
Although at first glance this looks suboptimal, the unmask operation
fast path does not use hypervisor_unmask_event(). Instead, it directly
operates on the mask and pending bit arrays to provide what would
effectively be an "auto mask/eoi" semantic.

This change is thus not in the fast path, and has the advantage of
performance improvements since cross CPU state updates etc. is handled
within the hypervisor instead of domU IPIs.
2018-11-17 05:26:46 +00:00
rjs
2c11721e78 Add xname to footbridge_pci_intr_establish(). 2018-11-17 01:45:25 +00:00
kamil
bddc143f5b Move two entries in TODO.sanitizers to be done later (post -9 branch)
- develop fts(3) interceptors (MSan, for ls(1), find(1), mtree(8)
 - investigate and address the libcxx failing tests on NetBSD
2018-11-17 01:08:55 +00:00
jmcneill
a4591317ca Use intr_establish_xname 2018-11-17 00:17:54 +00:00
jmcneill
b6a8084fcb Use intr_establish_xname 2018-11-16 23:24:28 +00:00
jmcneill
9156525d68 Use acpi_intr_establish 2018-11-16 23:18:00 +00:00
jmcneill
f62244a84d Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.
2018-11-16 23:05:50 +00:00
jmcneill
f608d0812d Add MD functions for establishing and disestablishing interrupt handlers. 2018-11-16 23:03:55 +00:00
scole
4c8f1ccfba PR toolchain/53710
allow 64bit target to compile on 32bit host

Ok'ed by <christos>
2018-11-16 20:49:08 +00:00
martin
a67ab68028 Now that size estimates are not way off anymore, only double the size
for the minimal suggested partition.
2018-11-16 19:55:18 +00:00
martin
7a2eea57bf Sync install size estimates with current reality 2018-11-16 19:54:03 +00:00
jmcneill
118f5d8840 Add intr_establish_xname stub 2018-11-16 19:46:52 +00:00
jakllsch
201aaa4d77 make pcihost_intr_evcnt static, like the other functions 2018-11-16 19:32:01 +00:00
kre
b8df536590 Belated Condolonces on the loss of your m_devget() copy argument.
In sympathy we offer you a welcome to 8.99.26
2018-11-16 17:18:29 +00:00
martin
a7088d468b Bump image size 2018-11-16 17:07:42 +00:00
martin
a1b609db0f Bump space for ramdisk image 2018-11-16 17:07:10 +00:00
jmcneill
664652b0fe Restore acpi_pci_ignore_boot_config lost in previous commit 2018-11-16 15:41:27 +00:00
jmcneill
cce19cc266 Add intr_establish_xname support to arm and expose it to intrctl 2018-11-16 15:06:21 +00:00
tsutsui
730f9ec0e6 Fix boot failure from installation floppies. PR port-macppc/53103
Also bump version to denote a visible fix.
Should be pulled up to netbsd-8 and netbsd-7.
2018-11-16 14:58:54 +00:00
mlelstv
dd276a2ec2 The test for regular file was wrong.
From yarl on freenode, thanks!
2018-11-16 13:55:17 +00:00
martin
9dff62c0b5 Adjust for libcurses bump 2018-11-16 13:02:52 +00:00
ryo
b3731ba225 fix type of argument for va_arg; don't round to 32bit. 2018-11-16 10:51:08 +00:00
blymn
a887f4aff9 Fix for PR lib/52063
Many thanks to  Onno van der Linden (o.vd.linden@quicknet.nl) for providing
the bulk of the patch that fixes the issue.
2018-11-16 10:12:00 +00:00
blymn
9e52bb661f Bump libcurses minor version due to fix for lib/52063 2018-11-16 10:09:29 +00:00
ozaki-r
4dae353ba2 rtadvd: use %u to print unsigned variables 2018-11-16 08:57:10 +00:00
manu
b553c427d4 Use reclaim2 to fix reclaim/lookup race conditions
The PUFFS reclaim operation had a race condition with lookups: we could
be asked to lookup a node, then to reclaim it before lookup completion.
At lookup completion, we would then create a leaked node.

Enter the PUFFS reclaim2 operation, which features a nlookup argument.
That let us count how many lookups are pending and avoid the above
described scenario. It also makes the codes simplier.
2018-11-16 02:39:02 +00:00
manu
b108c62b50 Build fix
From David H. Gutteridge
2018-11-16 00:34:50 +00:00
jmcneill
8921709252 If the bootloader specifies a boot mac-address, use it to find the root device. 2018-11-15 23:53:40 +00:00
jmcneill
a158dd7e2e Add support for loading kernels over NFS. 2018-11-15 23:52:33 +00:00
jakllsch
269297e942 Correctly handle signed/unsigned quantities in kernel HID parser.
Should fix PR kern/53605.
2018-11-15 23:01:45 +00:00
jdolecek
fa57652bf8 remove #ifdef DEBUG printf, it seems to have outlived it's usefulness 2018-11-15 22:15:43 +00:00
scole
1651344f1f enable some incorrectly commented-out code 2018-11-15 20:39:18 +00:00
scole
a9d15dd126 change "PCB" to "pcb" 2018-11-15 20:06:23 +00:00
jmcneill
8ae4ffc8e7 A64 timer errata can cause the timer to fire too soon, so skip KASSERT here too. 2018-11-15 17:15:52 +00:00
riastradh
392573537a No need to write any initializer here, casted or otherwise.
(Sorry about the build breakage; thanks, kre!)
2018-11-15 16:58:56 +00:00