opnsense-src/sys/arm/include
Mitchell Horne 49439183ce Convert arm's physmem interface to MI code
The arm_physmem interface found in arm's MD code provides a convenient
set of routines for adding/excluding physical memory regions and
initializing important kernel globals such as Maxmem, realmem,
phys_avail[], and dump_avail[]. It is especially convenient for FDT
systems, since we can use FDT parsing functions and pass the result
directly to one of these physmem routines. This interface is already in
use on arm and arm64, and can be used to simplify this early
initialization on RISC-V as well.

This requires only a couple trivial changes:
  - Move arm_physmem_kernel_addr to arm/machdep.c. It is unused on arm64,
    and manipulated entirely in arm MD code.
  - Convert arm32_btop/arm64_btop to atop. This is equivalently defined
    on all architectures.
  - Drop the "arm" prefix.

Reviewed by:	manu, emaste ("looks reasonable")
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D24153
2020-04-19 00:12:30 +00:00
..
_align.h
_bus.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
_inttypes.h
_limits.h
_stdint.h
_types.h
acle-compat.h
armreg.h Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
asm.h Also check if __ARM_ARCH_6KZ__ is defined when detecting when to use ARMv6 2018-07-18 09:17:37 +00:00
asmacros.h
atags.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
atomic-v4.h Expand generic subword atomic primitives 2020-03-25 23:12:43 +00:00
atomic-v6.h Add a missing suffix that was causing a whole word to get loaded instead 2020-03-29 17:30:08 +00:00
atomic.h Expand generic subword atomic primitives 2020-03-25 23:12:43 +00:00
blockio.h
bus.h
bus_dma.h
clock.h
counter.h Centralize __pcpu definitions. 2019-08-29 07:25:27 +00:00
cpu-v4.h Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
cpu-v6.h
cpu.h align use of cp15_pmccntr_get with its availability 2019-10-07 07:37:42 +00:00
cpufunc.h Implement the ffs and fls functions, and their longer counterparts, in 2019-05-28 15:47:00 +00:00
cpuinfo.h
db_machdep.h No need to force md code to define a macro that's the same as 2018-04-16 13:52:23 +00:00
debug_monitor.h
disassem.h
dump.h
efi.h
elf.h Move the fixed base for PIE loading on arm. 2018-11-04 19:11:32 +00:00
endian.h
exec.h
fdt.h
fiq.h
float.h
floatingpoint.h
frame.h
gdb_machdep.h
ieee.h
ieeefp.h
in_cksum.h
intr.h Remove checks for now unsupported CPU_* values in arm headers. 2018-08-15 13:48:59 +00:00
kdb.h
limits.h
machdep.h Declare the global kernel symbols created by ldscript.arm in arm's machdep.h, 2019-12-06 03:48:35 +00:00
md_var.h Convert arm's physmem interface to MI code 2020-04-19 00:12:30 +00:00
memdev.h
metadata.h
minidump.h
ofw_machdep.h
param.h Define MAXCPU consistently between the kernel and KLDs. 2020-02-05 19:08:21 +00:00
pcb.h
pcpu.h arm: Implement cpu_est_clockrate for armv[67] 2018-07-19 11:27:11 +00:00
pcpu_aux.h Centralize __pcpu definitions. 2019-08-29 07:25:27 +00:00
pl310.h
platform.h
platformvar.h Use named field's initializer when constructing <foo>_platform structure. 2019-03-19 14:32:54 +00:00
pmap-v4.h Remove the L1 and L2 xscale page defines and rename the generic macros to 2018-08-16 10:00:51 +00:00
pmap-v6.h Add support for pmap_enter(..., psind=1) to the armv6 pmap. In other words, 2018-08-08 16:55:01 +00:00
pmap.h Introduce vm_page_astate. 2019-12-10 18:14:50 +00:00
pmap_var.h
pmc_mdep.h Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
proc.h
procctl.h amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00
profile.h Remove two obsolete comments that reference splhigh/splx. 2019-11-21 18:49:54 +00:00
psl.h
pte-v4.h Revert r336773: it removed too much. 2018-07-27 21:25:01 +00:00
pte-v6.h
ptrace.h
reg.h
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h Only support INTRNG in the SMP code on arm. We already require INTRNG on 2018-07-28 07:54:21 +00:00
stack.h Rewrite arm kernel stack unwind code to work when unwinding through modules. 2019-12-15 21:16:35 +00:00
stdarg.h
swi.h
sysarch.h De-pollute arm's sysarch.h. 2019-07-10 14:34:52 +00:00
sysreg.h
trap.h
ucontext.h
undefined.h
utrap.h
vdso.h
vfp.h
vm.h
vmparam.h