riastradh
9450499dab
sys/sleepq.h: Get cold from sys/kernel.h.
2022-10-26 23:24:59 +00:00
riastradh
6ce322d076
kern/subr_kcov.c: We already get cold from sys/kernel.h.
2022-10-26 23:24:21 +00:00
riastradh
e3a99b672e
sys/sched.h: New home for extern sched_pstats_ticks in kernel.
2022-10-26 23:24:09 +00:00
riastradh
b97699a4f0
sys: Put externs for time_adjtime and time_adjusted in .h files.
...
time_adjtime: sys/timex.h (defined in ntp code)
time_adjusted: sys/timevar.h (defined in non-ntp code)
(Not really sure this is a valuable distinction to maintain; there's
non-ntp code that uses time_adjtime too.)
2022-10-26 23:23:52 +00:00
riastradh
69581d3fed
kern/kern_synch.c: Get averunnable from sys/resource.h.
2022-10-26 23:23:28 +00:00
jschauma
14ecc37828
rephrase / clarify explanation of struct tm member normalization
2022-10-26 23:22:54 +00:00
riastradh
6e3cfe5a09
kern/kern_pax.c: Get maxsmap from sys/resourcevar.h.
2022-10-26 23:22:38 +00:00
riastradh
7fbe66c347
rwlock(9): Nix extern _rw_init in .c; use sys/rwlock.h.
2022-10-26 23:22:22 +00:00
riastradh
ed636a2cc7
sys/*: Get module_map consistently from sys/module.h.
2022-10-26 23:22:07 +00:00
riastradh
06c75c1ffd
mutex(9): Properly declare _mutex_init in sys/mutex.h.
2022-10-26 23:21:19 +00:00
riastradh
18d5b72e73
kern/kern_hook.c: Get exec_lock from sys/exec.h.
2022-10-26 23:21:06 +00:00
riastradh
1dd4eae2bd
kern/init_main.c: Get extern lwp0 from sys/lwp.h.
2022-10-26 23:20:47 +00:00
riastradh
bdc740e0de
kern/exec_elf.c: Get emul_netbsd from sys/proc.h.
2022-10-26 23:20:36 +00:00
jmcneill
760d372296
Since this node is a child of a syscon, the reg property doesn't fully
...
describe the device physical address. Use syscon accessors to read/write
clock registers instead.
2022-10-26 22:14:22 +00:00
andvar
a5139dfcb4
fix RCSID.
2022-10-26 22:13:09 +00:00
andvar
730fdfa601
nix double n, i or g in "ing", in comments and documentation.
2022-10-26 22:09:37 +00:00
andvar
49811c99f0
fix various typos in comments and makefs README file.
2022-10-26 21:56:19 +00:00
gutteridge
20837f7b63
grutil.c: fix grammar in a comment
2022-10-26 21:18:49 +00:00
jmcneill
e867d8fcc0
No need to constrain DMA tag to 32-bits on 32-bit platforms.
2022-10-26 20:54:52 +00:00
msaitoh
32ac1ccde3
Regen.
2022-10-26 14:50:46 +00:00
msaitoh
cefc25eb2b
Add AMD F17/Axh devices.
2022-10-26 14:50:26 +00:00
msaitoh
32eb930b17
Add AMD F17/1x and F17/9x CCP(PSP) support to amdccp(4).
2022-10-26 13:35:25 +00:00
msaitoh
01d8393939
Regen.
2022-10-26 13:23:09 +00:00
msaitoh
d8b5dc1aa1
Add some AMD 17h/9xh devices from OpenBSD.
2022-10-26 13:22:31 +00:00
jmcneill
1393b11606
Inherit MAC address from Devicetree "local-mac-address" property.
2022-10-26 11:31:11 +00:00
jmcneill
b6c267a199
Use generic Arasan SDHCI driver for Zynq-7000.
2022-10-26 10:55:23 +00:00
wiz
eaed868ea5
expat-2.5.0 out (CVE-2022-43680)
2022-10-26 10:38:48 +00:00
skrll
196ee94dc2
MI PMAP hardware page table walker support.
...
This is based on code given to me by Matt Thomas a long time ago with
many updates and bugs fixes from me.
2022-10-26 07:35:19 +00:00
msaitoh
f23a63c306
Add comment to ICH/PCH's lock stuff in wm_reset().
2022-10-26 06:36:39 +00:00
riastradh
4f91c309aa
vmwgfx(4): Partially adapt rbtree.
2022-10-25 23:39:13 +00:00
riastradh
a19ec08765
linux asm/vmware.h: Fill this in with hypercall asm.
...
Not sure if it's necessary to support vmcall or vmmcall -- if so,
need to deal with binary patching inline asm, ugh.
2022-10-25 23:39:01 +00:00
riastradh
99851fd018
linux asm/uaccess.h: strncpy_from_user
...
(which does not actually have strncpy semantics, naturally, from what
I can gather)
2022-10-25 23:38:33 +00:00
riastradh
5f4852e265
linux/frame.h: STACK_FRAME_NON_STANDARD
2022-10-25 23:38:02 +00:00
riastradh
6db1fce331
linux/kernel.h: S16_MIN, S32_MIN, S64_MIN
2022-10-25 23:37:36 +00:00
riastradh
60bf48dc00
linux/suspend.h: Stubs for (un)register_pm_notifier.
2022-10-25 23:37:24 +00:00
riastradh
daf90d8307
linux/pci.h: Stubs for pci_request/release_region(s).
2022-10-25 23:37:06 +00:00
riastradh
8b12ddb0ba
linux/idr.h: Update ida_* API.
2022-10-25 23:36:32 +00:00
riastradh
1328700703
vmwgfx(4): Hand-cruft threaded irq with a workqueue(9).
2022-10-25 23:36:21 +00:00
riastradh
41014dce70
drm: New IRQ_WAKE_THREAD constant.
...
Not really wired up to anything but helps reduce diffs -- driver is
responsible for making decisions based on it, corresponding to
Linux's built-in `threaded irq'.
2022-10-25 23:36:09 +00:00
riastradh
3c1156fd6e
vmwgfx(4): Port fd creation.
2022-10-25 23:35:57 +00:00
riastradh
677ff2f013
vmwgfx(4): Misc porting too.
...
- inl/outl -> bus_space_read/write
- struct device for DMA stuff -> bus_dma_tag_t
- spin_lock_destroy (and don't hold spin lock across kfree)
- driver load/unload, fops, &c.
- drm_irq_install/uninstall
2022-10-25 23:35:43 +00:00
riastradh
9f2db5d1f1
vmwgfx(4): Use bus_dma tag, not struct device, for dma_pool shims.
2022-10-25 23:35:29 +00:00
riastradh
57c465457f
vmwgfx(4): Convert fence_queue and fifo_queue to drm_waitqueue_t.
2022-10-25 23:34:05 +00:00
riastradh
e02149dab3
vmwgfx(4): Convert cmdbuf to drm_waitqueue_t.
2022-10-25 23:33:44 +00:00
riastradh
6c5ed79461
linux/spinlock.h: spin_lock_bh, spin_unlock_bh
...
Nothing special needed here; NetBSD mutex(9) at IPL_* giving spin
locks already blocks `BH' (i.e., softints -- although I'm not sure
softints are relevant to the one use of this in vmwgfx).
2022-10-25 23:33:29 +00:00
riastradh
752d42263c
linux asm/io.h: Side-load linux/vmalloc.h like Linux does.
2022-10-25 23:33:18 +00:00
riastradh
41a0e28382
linux/dmapool.h: Start filling out stubs.
2022-10-25 23:32:37 +00:00
riastradh
f0377a3a22
vmwgfx(4): dma_alloc/free_coherent -> bus_dma_*
2022-10-25 23:32:04 +00:00
riastradh
407655d7d1
linux/module.h: MODULE_VERSION
2022-10-25 23:31:49 +00:00
riastradh
77cb04f3dc
vmwgfx: Set some warning and config flags. Nix vmwgfx_fb.c for now.
2022-10-25 23:31:38 +00:00