freebsd-dev/sys/arm/arm
Mark Johnston 847ab36bf2 Include the psind in data returned by mincore(2).
Currently we use a single bit to indicate whether the virtual page is
part of a superpage.  To support a forthcoming implementation of
non-transparent 1GB superpages, it is useful to provide more detailed
information about large page sizes.

The change converts MINCORE_SUPER into a mask for MINCORE_PSIND(psind)
values, indicating a mapping of size psind, where psind is an index into
the pagesizes array returned by getpagesizes(3), which in turn comes
from the hw.pagesizes sysctl.  MINCORE_PSIND(1) is equal to the old
value of MINCORE_SUPER.

For now, two bits are used to record the page size, permitting values
of MAXPAGESIZES up to 4.

Reviewed by:	alc, kib
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D26238
2020-09-02 18:16:43 +00:00
..
autoconf.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcopy_page.S
bcopyinout_xscale.S Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
bcopyinout.S Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
blockio.S
bus_space_asm_generic.S
bus_space_base.c
bus_space_generic.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
busdma_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
copystr.S copystr(9): Move to deprecate (attempt #2) 2020-05-25 16:40:48 +00:00
cpu_asm-v6.S
cpufunc_asm_arm9.S Remove old CPU_ values from the arm cpufunc code. These have been removed. 2018-07-28 12:00:32 +00:00
cpufunc_asm_arm11x6.S
cpufunc_asm_armv4.S Fix the spelling of armv4_idcache_inv_all in an END macro. 2018-08-14 15:42:27 +00:00
cpufunc_asm_armv5_ec.S Only build the cache handling code we need when building the arm ELF 2018-07-28 12:50:09 +00:00
cpufunc_asm_armv7.S Remove the dead code from ARM cpufunc_* files. 2018-07-18 10:33:07 +00:00
cpufunc_asm_pj4b.S
cpufunc_asm_sheeva.S Only build the cache handling code we need when building the arm ELF 2018-07-28 12:50:09 +00:00
cpufunc_asm.S Remove an old comment now the code it references has been removed. 2018-08-14 15:48:13 +00:00
cpufunc.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
cpuinfo.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
db_disasm.c
db_interface.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
db_trace.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
debug_monitor.c
disassem.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
dump_machdep.c Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
elf_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
elf_note.S
exception.S Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
fiq_subr.S
fiq.c
fusu.S Provide protection against starvation of the ll/sc loops when accessing userpace. 2019-07-12 18:43:24 +00:00
gdb_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
genassym.c
generic_timer.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
gic_acpi.c Add missing ACPI GICv2 MSI/MSI-X attachment 2019-06-28 01:17:33 +00:00
gic_common.h
gic_fdt.c Remove teh non-INTRNG code from the ARM GIC interrupt controller driver. 2018-07-30 10:55:02 +00:00
gic.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
gic.h Remove teh non-INTRNG code from the ARM GIC interrupt controller driver. 2018-07-30 10:55:02 +00:00
hypervisor-stub.S
identcpu-v4.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
identcpu-v6.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
in_cksum_arm.S
in_cksum.c
intr.c follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers 2018-07-23 15:36:55 +00:00
locore-v4.S Set a "kernbase" symbol in 32-bit arm locore.S and use it with ldscript.arm. 2019-12-30 23:20:46 +00:00
locore-v6.S Set a "kernbase" symbol in 32-bit arm locore.S and use it with ldscript.arm. 2019-12-30 23:20:46 +00:00
locore.S
machdep_boot.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
machdep_intr.c
machdep_kdb.c Plug memory disclosures via ptrace(2). 2018-12-03 20:54:17 +00:00
machdep_ptrace.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
mem.c Add the MEM_EXTRACT_PADDR ioctl to /dev/mem. 2020-09-02 18:12:47 +00:00
minidump_machdep.c Move phys_avail definition into MI code. It is consumed in the MI layer and 2019-08-16 00:45:14 +00:00
mp_machdep.c arm: Don't enable interrupts in init_secondary(). 2020-05-06 15:10:05 +00:00
mpcore_timer.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
mpcore_timervar.h
nexus.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
nexusvar.h arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
ofw_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
pl190.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
pl310.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
platform_if.m
platform_pl310_if.m
platform.c
pmap-v4.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
pmap-v6.c Include the psind in data returned by mincore(2). 2020-09-02 18:16:43 +00:00
pmu.c
ptrace_machdep.c Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sc_machdep.c sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
setcpsr.S
setstack.s
stack_machdep.c Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
stdatomic.c
support.S
swtch-v4.S
swtch-v6.S
swtch.S
sys_machdep.c
syscall.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
trap-v4.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
trap-v6.c Set si_trapno to the fault index from fsr. 2020-07-27 16:29:21 +00:00
uio_machdep.c
undefined.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
unwind.c Rewrite arm kernel stack unwind code to work when unwinding through modules. 2019-12-15 21:16:35 +00:00
vfp.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
vm_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00