Home
last modified time | relevance | path

Searched refs:ptd (Results 1 – 2 of 2) sorted by relevance

/xnu-8796.141.3/tools/lldbmacros/
H A Dpmap.py829 ptd = GetPtDesc(KVToPhysARM(ptep))
830 iommu = dereference(ptd.iommu)
850 ptd = GetPtDesc(KVToPhysARM(ptep))
851 if ptd.pmap == kern.globals.kernel_pmap:
852 extra_str = "Mapped by kernel task (kernel_pmap: {:#x})".format(ptd.pmap)
854 task = TaskForPmapHelper(ptd.pmap)
855 …extra_str = "Mapped by user task (pmap: {:#x}, task: {:s})".format(ptd.pmap, "{:#x}".format(task) …
971 ptd = kern.GetValueFromAddress(pvh & ~0x3, 'pt_desc_t *')
972 RunLldbCmdHelper("p/x *(pt_desc_t*)" + hex(ptd))
977 RunLldbCmdHelper("p/x ((pt_desc_t*)" + hex(ptd) + ")->ptd_info[0]")
[all …]
/xnu-8796.141.3/osfmk/arm/pmap/
H A Dpmap_data.h997 ptd_get_index(__unused const pt_desc_t *ptd, __unused const tt_entry_t *ttep) in ptd_get_index() argument
1002 assert(ptd != NULL); in ptd_get_index()
1004 const uint64_t pmap_page_shift = pt_attr_leaf_shift(pmap_get_pt_attr(ptd->pmap)); in ptd_get_index()
1038 ptd_get_info(pt_desc_t *ptd, const tt_entry_t *ttep) in ptd_get_info() argument
1040 assert((ptd != NULL) && (ptd->ptd_info[0].refcnt < PT_DESC_IOMMU_GRANTED_REFCOUNT)); in ptd_get_info()
1042 return &ptd->ptd_info[ptd_get_index(ptd, ttep)]; in ptd_get_info()