freebsd-dev/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
_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_dma_impl.h bus_dma: Deduplicate locking helper functions. 2022-01-05 13:50:40 -08:00
bus_dma.h
bus.h
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
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
endian.h Consolidate machine/endian.h definitions 2021-03-26 19:00:22 -03:00
exec.h
float.h
floatingpoint.h
fpe.h
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
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
metadata.h
minidump.h
ofw_machdep.h
param.h Remove the riscv64sf architecture. 2023-04-12 11:09:27 -07:00
pcb.h
pcpu_aux.h
pcpu.h riscv: implement db_show_mdpcpu() 2022-07-05 11:51:14 -03: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
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
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
sf_buf.h
sigframe.h
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