opnsense-src/sys/riscv/include
Konstantin Belousov 1e0e335b0f amd64: fix PKRU and swapout interaction
When vm_map_remove() is called from vm_swapout_map_deactivate_pages()
due to swapout, PKRU attributes for the removed range must be kept
intact.  Provide a variant of pmap_remove(), pmap_map_delete(), to
allow pmap to distinguish between real removes of the UVA mappings
and any other internal removes, e.g. swapout.

For non-amd64, pmap_map_delete() is stubbed by define to pmap_remove().

Reported by:	andrew
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D39556
2023-04-15 02:53:59 +03:00
..
_align.h
_bus.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
_inttypes.h
_limits.h
_stdint.h riscv: Fix sig_atomic_t limit definitions 2023-03-22 16:23:22 +00:00
_types.h Reduce code duplication in machine/_types.h 2021-06-14 16:30:16 +01:00
asm.h Add .cfi_{start,end}proc for RISC-V assembly functions 2020-11-26 17:37:22 +00:00
atomic.h riscv: fix errors in some atomic type aliases 2021-03-04 16:59:58 -04:00
bus.h Add missing assignment forgotten in r365899 2020-09-20 15:11:52 +00:00
bus_dma.h Provide a template for busdma code for RISC-V. 2019-05-07 13:41:43 +00:00
bus_dma_impl.h bus_dma: Deduplicate locking helper functions. 2022-01-05 13:50:40 -08:00
clock.h
counter.h riscv: small counter(9) improvements 2020-12-11 20:01:45 +00:00
cpu.h Simplify swi for bus_dma. 2021-12-28 13:51:25 -08:00
cpufunc.h riscv: Use generic CSR macros for writing SATP 2022-03-01 09:39:43 -05:00
db_machdep.h riscv: improve exception code naming 2020-10-24 20:57:13 +00:00
dump.h minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
efi.h
elf.h riscv: improve parsing of riscv,isa property strings 2022-10-28 13:28:08 -03:00
encoding.h Add RISC-V instructions encoding. 2018-08-13 16:07:18 +00:00
endian.h Consolidate machine/endian.h definitions 2021-03-26 19:00:22 -03:00
exec.h
float.h
floatingpoint.h
fpe.h Various fixes for floating point on RISC-V. 2018-09-19 23:45:18 +00:00
frame.h dtrace: Fix RISC-V user stack unwinder 2023-02-06 15:26:53 -04:00
gdb_machdep.h riscv: gdb(4) support 2022-01-10 13:40:12 -04:00
ieeefp.h libc: Provide sub fp(s|g)etmask() implementations for RISC-V 2020-08-03 12:48:51 +00:00
in_cksum.h machine/in_cksum.h: don't include sys/cdefs.h 2022-04-18 21:02:19 +01:00
intr.h
kdb.h Introduce kdb-level watchpoint functions 2021-03-29 12:05:43 -03:00
machdep.h riscv: eliminate physmap global 2022-04-07 12:26:59 -03:00
md_var.h Simplify swi for bus_dma. 2021-12-28 13:51:25 -08:00
memdev.h riscv: Add memmmap so we can mmap /dev/mem 2020-10-01 15:04:55 +00:00
metadata.h RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
minidump.h Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
ofw_machdep.h
param.h Remove the riscv64sf architecture. 2023-04-12 11:09:27 -07:00
pcb.h Remove unused fields from struct pcb. 2020-01-30 19:15:27 +00:00
pcpu.h riscv: implement db_show_mdpcpu() 2022-07-05 11:51:14 -03:00
pcpu_aux.h Correct padding length for RISC-V PCPU data. 2020-08-12 18:45:36 +00:00
pmap.h amd64: fix PKRU and swapout interaction 2023-04-15 02:53:59 +03:00
pmc_mdep.h
proc.h Move kstack_contains() and GET_STACK_USAGE() to MD machine/stack.h 2023-02-02 00:59:26 +02:00
procctl.h amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00
profile.h Remove checks for <sys/cdefs.h> being included. 2022-04-12 10:06:18 -07:00
psl.h
pte.h riscv: Add various pmap definitions needed to support SV48 mode 2022-03-01 09:39:43 -05:00
ptrace.h
reg.h riscv: Make machine/regs.h self-contained 2021-11-23 21:21:17 -07:00
reloc.h
resource.h Enable NEW_PCIB on riscv. 2020-01-24 16:50:51 +00:00
riscvreg.h riscv: Add support for enabling SV48 mode 2022-03-01 09:39:44 -05:00
runq.h
sbi.h riscv: add SBI system reset extension 2021-01-27 19:19:54 -04:00
setjmp.h Fix setjmp for RISC-V: 2018-07-23 09:54:28 +00:00
sf_buf.h
sigframe.h Follow arm[32] and sparc64 KAPI and provide the FreeBSD standard spelling 2019-01-29 20:10:27 +00:00
signal.h
smp.h
stack.h kstack_contains(): account for struct pcb on stack 2023-02-02 00:59:27 +02:00
stdarg.h
sysarch.h
tls.h Add <machine/tls.h> header to hold MD constants and helpers for TLS. 2021-12-09 13:17:13 -08:00
trap.h
ucontext.h
vdso.h riscv: Implement non-stub __vdso_gettc and __vdso_gettimekeep 2021-07-05 16:16:53 +01:00
vm.h
vmparam.h riscv: Avoid passing invalid addresses to pmap_fault() 2022-07-28 14:33:39 -04:00