Home
last modified time | relevance | path

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

/kernel/liteos_a/arch/arm/arm/include/
Dlos_pte_ops.h107 STATIC INLINE PTE_T *OsGetPte2Ptr(PTE_T *pte2BasePtr, vaddr_t va) in OsGetPte2Ptr() argument
109 return (pte2BasePtr + OsGetPte2Index(va)); in OsGetPte2Ptr()
112 STATIC INLINE PTE_T OsGetPte2(PTE_T *pte2BasePtr, vaddr_t va) in OsGetPte2() argument
114 return *(pte2BasePtr + OsGetPte2Index(va)); in OsGetPte2()
124 STATIC INLINE UINT32 OsSavePte2Continuous(PTE_T *pte2BasePtr, UINT32 index, PTE_T pte2, UINT32 coun… in OsSavePte2Continuous() argument
133 pte2BasePtr[index++] = pte2; in OsSavePte2Continuous()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_arch_mmu.c259 PTE_T *pte2BasePtr = NULL; in OsTryUnmapL1PTE() local
272 pte2BasePtr = OsGetPte2BasePtr(*l1Entry); in OsTryUnmapL1PTE()
273 if (pte2BasePtr == NULL) { in OsTryUnmapL1PTE()
282 if (pte2BasePtr[scanIndex++]) { in OsTryUnmapL1PTE()
446 PTE_T *pte2BasePtr = NULL; in OsUnmapL2PTE() local
457 pte2BasePtr = OsGetPte2BasePtr(*pte1); in OsUnmapL2PTE()
458 if (pte2BasePtr == NULL) { in OsUnmapL2PTE()
464 OsClearPte2Continuous(&pte2BasePtr[pte2Index], unmapCount); in OsUnmapL2PTE()
735 PTE_T *pte2BasePtr = NULL; in OsMapL1PTE() local
761 pte2BasePtr = (PTE_T *)LOS_PaddrToKVaddr(pte2Base); in OsMapL1PTE()
[all …]