| /freebsd/sys/i386/i386/ |
| H A D | machdep.c | 744 add_physmap_entry(uint64_t base, uint64_t length, vm_paddr_t *physmap, in add_physmap_entry() argument 780 if (base < physmap[i + 1]) { in add_physmap_entry() 781 if (base + length <= physmap[i]) { in add_physmap_entry() 793 if (insert_idx <= physmap_idx && base + length == physmap[insert_idx]) { in add_physmap_entry() 794 physmap[insert_idx] = base; in add_physmap_entry() 799 if (insert_idx > 0 && base == physmap[insert_idx - 1]) { in add_physmap_entry() 800 physmap[insert_idx - 1] += length; in add_physmap_entry() 817 physmap[i] = physmap[i - 2]; in add_physmap_entry() 818 physmap[i + 1] = physmap[i - 1]; in add_physmap_entry() 822 physmap[insert_idx] = base; in add_physmap_entry() [all …]
|
| H A D | mp_machdep.c | 152 alloc_ap_trampoline(vm_paddr_t *physmap, unsigned int *physmap_idx) in alloc_ap_trampoline() argument 164 if (physmap[i] >= MiB(1) || in alloc_ap_trampoline() 165 (trunc_page(physmap[i + 1]) - round_page(physmap[i])) < in alloc_ap_trampoline() 174 if (physmap[i + 1] < MiB(1)) { in alloc_ap_trampoline() 175 boot_address = trunc_page(physmap[i + 1]); in alloc_ap_trampoline() 176 if ((physmap[i + 1] - boot_address) < bootMP_size) in alloc_ap_trampoline() 178 physmap[i + 1] = boot_address; in alloc_ap_trampoline() 180 boot_address = round_page(physmap[i]); in alloc_ap_trampoline() 181 physmap[i] = boot_address + round_page(bootMP_size); in alloc_ap_trampoline() 183 if (physmap[i] == physmap[i + 1] && *physmap_idx != 0) { in alloc_ap_trampoline() [all …]
|
| /freebsd/sys/arm64/arm64/ |
| H A D | rsi.c | 47 static vm_paddr_t physmap[PHYSMAP_SIZE]; variable 165 physmap_idx = physmem_all(physmap, nitems(physmap)); in arm64_rsi_setup_memory() 172 printf(" %lx %lx\n", physmap[i], physmap[i + 1]); in arm64_rsi_setup_memory() 174 if (rsi_set_memory_range_protected_safe(physmap[i], in arm64_rsi_setup_memory() 175 physmap[i + 1])) in arm64_rsi_setup_memory()
|
| H A D | pmap.c | 367 static vm_paddr_t physmap[PHYSMAP_SIZE]; variable 1219 if ((physmap[i + 1] - state->pa) < L2_SIZE) in pmap_bootstrap_l2_block() 1228 (physmap[i + 1] - state->pa) >= L2_SIZE; in pmap_bootstrap_l2_block() 1244 physmap[i + 1] - state->pa >= L2C_SIZE) { in pmap_bootstrap_l2_block() 1269 if (physmap[i + 1] - state->pa < L3_SIZE) in pmap_bootstrap_l3_page() 1278 physmap[i + 1] - state->pa >= L3_SIZE; in pmap_bootstrap_l3_page() 1294 physmap[i + 1] - state->pa >= L3C_SIZE) { in pmap_bootstrap_l3_page() 1335 physmap_idx = physmem_avail(physmap, nitems(physmap)); in pmap_bootstrap_dmap() 1337 dmap_phys_base = physmap[0] & ~L1_OFFSET; in pmap_bootstrap_dmap() 1342 bs_state.pa = physmap[i] & ~L3_OFFSET; in pmap_bootstrap_dmap() [all …]
|
| /freebsd/sys/amd64/amd64/ |
| H A D | machdep.c | 643 add_physmap_entry(uint64_t base, uint64_t length, vm_paddr_t *physmap, in add_physmap_entry() argument 661 if (base < physmap[i + 1]) { in add_physmap_entry() 662 if (base + length <= physmap[i]) { in add_physmap_entry() 674 if (insert_idx < physmap_idx && base + length == physmap[insert_idx]) { in add_physmap_entry() 675 physmap[insert_idx] = base; in add_physmap_entry() 680 if (insert_idx > 0 && base == physmap[insert_idx - 1]) { in add_physmap_entry() 681 physmap[insert_idx - 1] += length; in add_physmap_entry() 696 physmap[i] = physmap[i - 2]; in add_physmap_entry() 697 physmap[i + 1] = physmap[i - 1]; in add_physmap_entry() 704 physmap[insert_idx] = base; in add_physmap_entry() [all …]
|
| /freebsd/sys/x86/xen/ |
| H A D | pv.c | 351 pvh_parse_memmap_start_info(vm_paddr_t *physmap, in pvh_parse_memmap_start_info() argument 376 bios_add_smap_entries(&entry, 1, physmap, physmap_idx); in pvh_parse_memmap_start_info() 381 xen_pvh_parse_memmap(vm_paddr_t *physmap, int *physmap_idx) in xen_pvh_parse_memmap() argument 402 bios_add_smap_entries(xen_smap, size, physmap, physmap_idx); in xen_pvh_parse_memmap() 406 pvh_parse_memmap(vm_paddr_t *physmap, int *physmap_idx) in pvh_parse_memmap() argument 415 pvh_parse_memmap_start_info(physmap, physmap_idx); in pvh_parse_memmap() 417 xen_pvh_parse_memmap(physmap, physmap_idx); in pvh_parse_memmap()
|
| /freebsd/sys/contrib/device-tree/Bindings/mtd/ |
| H A D | gpmc-nor.txt | 13 - compatible: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml 24 - linux,mtd-name: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
|
| H A D | intel,ixp4xx-flash.txt | 11 For the rest of the properties, see mtd-physmap.txt.
|
| H A D | arm-versatile.txt | 15 For the rest of the properties, see mtd-physmap.txt.
|
| H A D | cortina,gemini-flash.txt | 12 For the rest of the properties, see mtd-physmap.yaml.
|
| H A D | mtd-physmap.txt | 27 physmap-flash drivers as boot loader pass the mtd partition via the old 28 device name physmap-flash.
|
| /freebsd/sys/amd64/include/pc/ |
| H A D | bios.h | 89 vm_paddr_t *physmap, int *physmap_idx);
|
| /freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
| H A D | mt8186-corsola-ponyta.dtsi | 10 function-row-physmap = <
|
| H A D | mt8186-corsola-tentacruel-sku262144.dts | 18 function-row-physmap = <
|
| H A D | mt8186-corsola-tentacool-sku327681.dts | 26 function-row-physmap = <
|
| H A D | mt8192-asurada-spherion-r4.dts | 32 function-row-physmap = <
|
| H A D | mt8192-asurada-hayato-r5-sku2.dts | 16 function-row-physmap = <
|
| H A D | mt8192-asurada-spherion-r0.dts | 33 function-row-physmap = <
|
| H A D | mt8192-asurada-hayato-r1.dts | 15 function-row-physmap = <
|
| /freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | sc7180-trogdor-pazquel360.dtsi | 32 function-row-physmap = <
|
| H A D | sc7180-trogdor-pazquel.dtsi | 50 function-row-physmap = <
|
| H A D | sc7180-trogdor-kingoftown.dts | 45 function-row-physmap = <
|
| /freebsd/sys/x86/include/ |
| H A D | x86_smp.h | 88 void alloc_ap_trampoline(vm_paddr_t *physmap, unsigned int *physmap_idx);
|
| /freebsd/sys/contrib/device-tree/src/arm/microchip/ |
| H A D | at91rm9200ek.dts | 100 linux,mtd-name = "physmap-flash.0";
|
| H A D | sama5d3xcm.dtsi | 57 linux,mtd-name = "physmap-flash.0";
|