| /freebsd-13-stable/sys/i386/i386/ |
| HD | machdep.c | 758 add_physmap_entry(uint64_t base, uint64_t length, vm_paddr_t *physmap, in add_physmap_entry() argument 794 if (base < physmap[i + 1]) { in add_physmap_entry() 795 if (base + length <= physmap[i]) { in add_physmap_entry() 807 if (insert_idx <= physmap_idx && base + length == physmap[insert_idx]) { in add_physmap_entry() 808 physmap[insert_idx] = base; in add_physmap_entry() 813 if (insert_idx > 0 && base == physmap[insert_idx - 1]) { in add_physmap_entry() 814 physmap[insert_idx - 1] += length; in add_physmap_entry() 831 physmap[i] = physmap[i - 2]; in add_physmap_entry() 832 physmap[i + 1] = physmap[i - 1]; in add_physmap_entry() 836 physmap[insert_idx] = base; in add_physmap_entry() [all …]
|
| HD | mp_machdep.c | 155 alloc_ap_trampoline(vm_paddr_t *physmap, unsigned int *physmap_idx) in alloc_ap_trampoline() argument 167 if (physmap[i] >= MiB(1) || in alloc_ap_trampoline() 168 (trunc_page(physmap[i + 1]) - round_page(physmap[i])) < in alloc_ap_trampoline() 177 if (physmap[i + 1] < MiB(1)) { in alloc_ap_trampoline() 178 boot_address = trunc_page(physmap[i + 1]); in alloc_ap_trampoline() 179 if ((physmap[i + 1] - boot_address) < bootMP_size) in alloc_ap_trampoline() 181 physmap[i + 1] = boot_address; in alloc_ap_trampoline() 183 boot_address = round_page(physmap[i]); in alloc_ap_trampoline() 184 physmap[i] = boot_address + round_page(bootMP_size); in alloc_ap_trampoline() 186 if (physmap[i] == physmap[i + 1] && *physmap_idx != 0) { in alloc_ap_trampoline() [all …]
|
| /freebsd-13-stable/sys/amd64/amd64/ |
| HD | machdep.c | 633 add_physmap_entry(uint64_t base, uint64_t length, vm_paddr_t *physmap, in add_physmap_entry() argument 651 if (base < physmap[i + 1]) { in add_physmap_entry() 652 if (base + length <= physmap[i]) { in add_physmap_entry() 664 if (insert_idx <= physmap_idx && base + length == physmap[insert_idx]) { in add_physmap_entry() 665 physmap[insert_idx] = base; in add_physmap_entry() 670 if (insert_idx > 0 && base == physmap[insert_idx - 1]) { in add_physmap_entry() 671 physmap[insert_idx - 1] += length; in add_physmap_entry() 688 physmap[i] = physmap[i - 2]; in add_physmap_entry() 689 physmap[i + 1] = physmap[i - 1]; in add_physmap_entry() 693 physmap[insert_idx] = base; in add_physmap_entry() [all …]
|
| /freebsd-13-stable/sys/contrib/device-tree/Bindings/mtd/ |
| HD | gpmc-nor.txt | 13 - compatible: Documentation/devicetree/bindings/mtd/mtd-physmap.txt 24 - linux,mtd-name: Documentation/devicetree/bindings/mtd/mtd-physmap.txt
|
| D | intel,ixp4xx-flash.txt | 11 For the rest of the properties, see mtd-physmap.txt.
|
| HD | arm-versatile.txt | 15 For the rest of the properties, see mtd-physmap.txt.
|
| D | cortina,gemini-flash.txt | 12 For the rest of the properties, see mtd-physmap.txt.
|
| HD | mtd-physmap.txt | 27 physmap-flash drivers as boot loader pass the mtd partition via the old 28 device name physmap-flash.
|
| /freebsd-13-stable/sys/amd64/include/pc/ |
| HD | bios.h | 89 vm_paddr_t *physmap, int *physmap_idx);
|
| /freebsd-13-stable/sys/x86/include/ |
| HD | x86_smp.h | 89 void alloc_ap_trampoline(vm_paddr_t *physmap, unsigned int *physmap_idx);
|
| /freebsd-13-stable/sys/contrib/device-tree/src/arm/ |
| HD | at91rm9200ek.dts | 100 linux,mtd-name = "physmap-flash.0";
|
| HD | sama5d3xcm.dtsi | 57 linux,mtd-name = "physmap-flash.0";
|
| HD | imx31-lite.dts | 164 linux,mtd-name = "physmap-flash.0";
|
| HD | imx27-eukrea-cpuimx27.dtsi | 99 linux,mtd-name = "physmap-flash.0";
|
| HD | imx27-phytec-phycore-som.dtsi | 329 linux,mtd-name = "physmap-flash.0";
|
| /freebsd-13-stable/sys/x86/xen/ |
| HD | pv.c | 652 xen_pvh_parse_memmap(caddr_t kmdp, vm_paddr_t *physmap, int *physmap_idx) in xen_pvh_parse_memmap() argument 670 bios_add_smap_entries(xen_smap, size, physmap, physmap_idx); in xen_pvh_parse_memmap()
|
| /freebsd-13-stable/sys/arm64/arm64/ |
| HD | pmap.c | 294 static vm_paddr_t physmap[PHYSMAP_SIZE]; variable 884 if ((physmap[i + 1] - state->pa) < L2_SIZE) in pmap_bootstrap_dmap_l2_block() 893 (physmap[i + 1] - state->pa) >= L2_SIZE; in pmap_bootstrap_dmap_l2_block() 919 if ((physmap[i + 1] - state->pa) < L3_SIZE) in pmap_bootstrap_dmap_l3_page() 928 (physmap[i + 1] - state->pa) >= L3_SIZE; in pmap_bootstrap_dmap_l3_page() 966 state.pa = physmap[i] & ~L3_OFFSET; in pmap_bootstrap_dmap() 972 MPASS(state.pa <= physmap[i + 1]); in pmap_bootstrap_dmap() 977 MPASS(state.pa <= physmap[i + 1]); in pmap_bootstrap_dmap() 981 (physmap[i + 1] - state.pa) >= L1_SIZE; in pmap_bootstrap_dmap() 991 MPASS(state.pa <= physmap[i + 1]); in pmap_bootstrap_dmap() [all …]
|
| /freebsd-13-stable/sys/riscv/riscv/ |
| HD | pmap.c | 630 vm_paddr_t physmap[PHYS_AVAIL_ENTRIES]; in pmap_bootstrap() local 658 physmap_idx = physmem_avail(physmap, nitems(physmap)); in pmap_bootstrap() 666 if (physmap[i] == physmap[i + 1]) in pmap_bootstrap() 668 if (physmap[i] <= min_pa) in pmap_bootstrap() 669 min_pa = physmap[i]; in pmap_bootstrap() 670 if (physmap[i + 1] > max_pa) in pmap_bootstrap() 671 max_pa = physmap[i + 1]; in pmap_bootstrap()
|