Lines Matching refs:pt
656 def map_extra_regions(pt): argument
714 if pt.is_region_mapped(virt, size, level):
719 pt.reserve_unaligned(virt, size, level)
720 pt.map(phys, virt, size, flags, level)
802 pt = pclass(ptables_phys)
804 pt.reserve(vm_base, vm_size)
808 pt.map(image_base_phys, image_base, image_size, map_flags | ENTRY_RW)
816 pt.map(image_base, image_base, image_size, map_flags | ENTRY_RW)
825 pt.reserve_unaligned(image_base_phys, image_size, to_level=PD_LEVEL)
826 pt.identity_map_unaligned(image_base_phys, image_size,
836 pt.map(locore_base, None, locore_size, map_flags | FLAG_P | ENTRY_RW)
840 pt.map(syms["CONFIG_FLASH_BASE_ADDRESS"], None,
844 pt.map_region("lnkr_boot", map_flags | FLAG_P | ENTRY_RW, virt_to_phys_offset)
847 pt.map_region("lnkr_pinned", map_flags | FLAG_P | ENTRY_RW, virt_to_phys_offset)
851 map_extra_regions(pt)
869 pt.set_region_perms("__text_region", flags)
872 pt.set_region_perms("lnkr_boot_text", flags | FLAG_P)
875 pt.set_region_perms("lnkr_pinned_text", flags | FLAG_P)
881 pt.set_region_perms("__rodata_region", flags)
884 pt.set_region_perms("lnkr_boot_rodata", flags | FLAG_P)
887 pt.set_region_perms("lnkr_pinned_rodata", flags | FLAG_P)
892 pt.set_region_perms("__gcov_bss",
909 pt.set_region_perms("_locore", FLAG_P | flag_user)
910 pt.set_region_perms("_lorodata", FLAG_P | ENTRY_XD | flag_user)
912 written_size = pt.write_output(args.output)