maxv
cdf8841dbc
Mmh, fix len, mh_size includes the malloc header, but we don't redzone it.
2019-03-07 18:32:10 +00:00
maxv
4977f2eb4a
Micro optimizations:
...
- Compress x86_rexpref, x86_regmodrm, x86_opcode and x86_instr.
- Cache-align the register, opcode and group tables.
- Modify the opcode tables to have 256 entries, and avoid a lookup.
2019-03-07 15:47:34 +00:00
maxv
de0599b900
Rename the internal NVMM HVA table entries from "segment" to "hmapping",
...
less confusing. Also fix the error handling in nvmm_hva_unmap().
2019-03-07 15:22:21 +00:00
maxv
b0d29546d4
Parse EXC_NMI on nvmm-intel, and don't return NVMM_EXIT_INVALID if we
...
received a host NMI, otherwise the guest could get killed if an NMI comes
in, typically when the host runs tprof at the same time.
Already handled on nvmm-amd.
2019-03-07 15:06:37 +00:00
christos
aefefd4dcd
add SIOCS80211CHANNEL special handling in monitor mode (from OpenBSD)
2019-03-07 14:55:49 +00:00
maxv
1c8fe94a56
Introduce a new set of PTE bits, with a different naming convention.
...
PG_V -> PTE_P /* Present */
PG_RW -> PTE_W /* Write */
PG_u -> PTE_U /* User */
PG_WT -> PTE_PWT /* Write-Through */
PG_N -> PTE_PCD /* Cache-Disable */
PG_U -> PTE_A /* Accessed */
PG_M -> PTE_D /* Dirty */
PG_PAT -> PTE_PAT /* PAT on 4KB Pages */
PG_PS -> PTE_PS /* Large Page Size */
PG_G -> PTE_G /* Global Translation */
PG_AVAIL1 -> PTE_AVL1 /* Ignored by Hardware */
PG_AVAIL2 -> PTE_AVL2 /* Ignored by Hardware */
PG_AVAIL3 -> PTE_AVL3 /* Ignored by Hardware */
PG_LGPAT -> PTE_LGPAT /* PAT on Large Pages */
PG_NX -> PTE_NX /* No Execute */
Until now we were using "PG_BIT". The "BIT" part of the naming did not
follow the x86 naming convention in the spec, and was very confusing. We
don't want the "PG_" part of it either, because UVM has similar flags
(ie PG_BUSY).
2019-03-07 14:40:35 +00:00
roy
c784e53c88
Case to uintptr_t instead of using __BIT to fix 32-bit builds.
2019-03-07 14:39:21 +00:00
msaitoh
48fb522ffd
Fix previous. Pass phy_id correctly.
2019-03-07 14:02:16 +00:00
msaitoh
2cee260851
Use pmf(9).
2019-03-07 14:00:25 +00:00
maxv
53821357af
Drop PG_RO, PG_KR and PG_PROT, they are useless and create confusion.
2019-03-07 13:26:24 +00:00
maxv
3f3f05d76c
Style, and remove useless comments.
2019-03-07 13:02:13 +00:00
maxv
e3c7f940e9
Remove getsombuf(), unused.
2019-03-07 12:29:14 +00:00
maxv
6b068aa46b
style
2019-03-07 12:22:43 +00:00
roy
c9433660b0
rbtree: Use __BIT macro to avoid a lot of compiler warnings
2019-03-07 12:07:42 +00:00
roy
452b6fbdca
rbtree(3): Implement _FOREACH_SAFE macros
...
And _NEXT and _PREV as well.
2019-03-07 12:05:54 +00:00
hannken
21e56f354b
Change vn_openchk() to fail VNON and VBAD with error ENXIO.
...
Reported-by: syzbot+d66b1be08516a4d2d2b2@syzkaller.appspotmail.com
Reported-by: syzbot+c5eaef5a8af535c3b217@syzkaller.appspotmail.com
2019-03-07 11:09:48 +00:00
hannken
cc5ff99872
Change "fli_alias" to point to the corresponding "fstrans_lwp_info".
...
Fix fstrans_clear_lwp_info() list traversal, remove already advanced
the list pointer.
2019-03-07 11:09:10 +00:00
nonaka
fb2893f832
Use IDTVEC instead of NENTRY for handle_hyperv_hypercall.
2019-03-07 10:16:07 +00:00
mrg
531a6cc390
build libutil_ul and link it into fontconfig. this should not change
...
the output as no functions will be consumed by fontconfig yet, but
will be used in an update shortly.
2019-03-07 03:56:15 +00:00
mrg
e35ff3d389
build glue libuuid_ul from util-linux's libuuid, with renamed functions,
...
as a private library so that fontconfig can link it in.
provide a randutils.h compat as the generic util-linux one is GPL.
2019-03-07 03:53:51 +00:00
msaitoh
390a0b6a01
Regen.
2019-03-07 03:27:14 +00:00
msaitoh
4f794ab358
Add SMSC(Microchip) LAN911X and LAN75XX.
2019-03-07 03:26:53 +00:00
jakllsch
e8b82306fc
Add RK3399 PCIe host bridge support.
...
Not enabled yet due to occasional hangs during boot, and needing
__BUS_SPACE_HAS_PROBING_METHODS enabled.
Uses slightly non-standard DT bindings to avoid suboptimality of the
Linux binding. This allows for much more flexibility and efficency
in allotment of the limited apertures into PCI spaces.
2019-03-07 00:35:22 +00:00
jakllsch
45eecda71a
Enable WSDISPLAY_SCROLLSUPPORT in evbarm GENERICs.
2019-03-06 19:36:59 +00:00
jakllsch
a500c860ee
Hint more strongly that "#if maybenever" is also "#if notyet".
2019-03-06 19:16:53 +00:00
jakllsch
4a04e829d9
Fix GPIO line for NanoPi NEO Plus2 status LED.
2019-03-06 19:09:36 +00:00
nakayama
db885abd27
Centralize pam definitions and tabify.
2019-03-06 12:40:23 +00:00
mrg
2601d52e06
regen for xkeyboard-config 2.26.
2019-03-06 11:05:18 +00:00
msaitoh
56270bf575
Make m_devget()'s 3rd argument to 0 again.
2019-03-06 08:08:25 +00:00
martin
f079cca48c
Apply fix for CVE-2016-3189 bzip2: heap use after free in bzip2recover
2019-03-06 07:21:55 +00:00
mrg
f493a0ad6c
don't use ERE in sed. fortunately, thes strings are all at the
...
end of the line so we can anchor them with (make processed) $$.
i now have fonts that i can see again in xdm.
2019-03-06 05:59:25 +00:00
mrg
93017991ff
- clean up a little and avoid leaving partial files
...
- put SEDSCRIPTS into FILES vs CONFIGFILES, so they're install properly
2019-03-06 05:21:50 +00:00
mrg
6a0755298a
make ext2fs rev1 the default. this enables LARGEFILES support.
2019-03-06 05:11:13 +00:00
mrg
18ed869019
merge our changes and their changes across the last few xdm releases.
2019-03-06 05:08:21 +00:00
msaitoh
9eb035bca7
Regen.
2019-03-06 04:46:41 +00:00
msaitoh
83400b926a
Add SMSC(now Microchip) LAN8741A and LAN8742
2019-03-06 04:46:17 +00:00
christos
bfcbfec000
make this work:
...
- fix sed rules
- change our own copy of Xresources from cpp to sed
2019-03-06 04:43:50 +00:00
christos
ccff5bf8b4
remove trailing escape
2019-03-06 03:38:30 +00:00
christos
47db741ad7
more pam fixes
2019-03-06 02:44:05 +00:00
christos
f0d208fdc0
add joins
2019-03-06 01:20:15 +00:00
christos
6d126600fa
fix build
2019-03-06 01:13:38 +00:00
christos
76d4ffd600
Sync with installed files.
2019-03-05 22:51:36 +00:00
christos
2cb70116d4
Jemalloc initializes mutexes before we become threaded and expects to use
...
them later.
2019-03-05 22:49:38 +00:00
christos
2aea8519e2
Fix debugging compilation
2019-03-05 22:45:11 +00:00
christos
15db7ac5db
Add some XXX for things I need to fix later, and fix some of the hard-coding.
2019-03-05 22:39:21 +00:00
christos
2460de9976
fix const cast with custom "unconst"
2019-03-05 22:37:39 +00:00
christos
4fcb57530e
revert previous; not needed.
2019-03-05 22:35:45 +00:00
christos
bfbf98e5ee
Check that the previous link exists before merging it.
...
XXX: Is that right? Fixing this makes the h_resolve test work.
2019-03-05 15:18:59 +00:00
jmcneill
3280fea88e
Add bcm2837-rpi-cm3-io3.dts, rk3399-ficus.dts, rk3399-gru-bob.dts, rk3399-roc-pc.dts, rk3399-rock960.dts, sun50i-h5-bananapi-m2-plus-v1.2.dts, sun50i-h5-bananapi-m2-plus.dts, sun50i-h6-orangepi-one-plus.dts
2019-03-05 11:44:22 +00:00
jmcneill
89bc157299
Add meson8b-ec100.dts, sun8i-h3-bananapi-m2-plus-v1.2.dts, sun8i-h3-orangepi-zero-plus2.dts, tegra124-apalis-v1.2-eval.dts
2019-03-05 11:41:13 +00:00