Home
last modified time | relevance | path

Searched refs:virtTtb (Results 1 – 6 of 6) sorted by relevance

/kernel/liteos_a/arch/arm/arm/src/
Dlos_arch_mmu.c231 …ttEntry = archMmu->virtTtb[ROUNDDOWN(l1Index, MMU_DESCRIPTOR_L1_SMALL_L2_TABLES_PER_PAGE) + index]; in OsPutL2Table()
486 OsClearPte1(OsGetPte1Ptr((PTE_T *)archMmu->virtTtb, *vaddr)); in OsUnmapSection()
496 BOOL OsArchMmuInit(LosArchMmu *archMmu, VADDR_T *virtTtb) in OsArchMmuInit() argument
509 archMmu->virtTtb = virtTtb; in OsArchMmuInit()
510 archMmu->physTtb = (VADDR_T)(UINTPTR)virtTtb - KERNEL_ASPACE_BASE + SYS_MEM_BASE; in OsArchMmuInit()
516 PTE_T l1Entry = OsGetPte1(archMmu->virtTtb, vaddr); in LOS_ArchMmuQuery()
562 l1Entry = OsGetPte1Ptr(archMmu->virtTtb, vaddr); in LOS_ArchMmuUnmap()
599 OsSavePte1(OsGetPte1Ptr(mmuMapInfo->archMmu->virtTtb, *mmuMapInfo->vaddr), in OsMapSection()
618 …ttEntry = archMmu->virtTtb[ROUNDDOWN(l1Index, MMU_DESCRIPTOR_L1_SMALL_L2_TABLES_PER_PAGE) + index]; in OsGetL2Table()
754 OsSavePte1(OsGetPte1Ptr(mmuMapInfo->archMmu->virtTtb, *mmuMapInfo->vaddr), *l1Entry); in OsMapL1PTE()
[all …]
/kernel/liteos_a/arch/arm/arm/include/
Dlos_arch_mmu.h56 VADDR_T *virtTtb; /**< translation table base virtual addr */ member
62 BOOL OsArchMmuInit(LosArchMmu *archMmu, VADDR_T *virtTtb);
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_map.c134 STATIC BOOL OsVmSpaceInitCommon(LosVmSpace *vmSpace, VADDR_T *virtTtb) in OsVmSpaceInitCommon() argument
148 return OsArchMmuInit(&vmSpace->archMmu, virtTtb); in OsVmSpaceInitCommon()
159 BOOL OsKernVmSpaceInit(LosVmSpace *vmSpace, VADDR_T *virtTtb) in OsKernVmSpaceInit() argument
169 return OsVmSpaceInitCommon(vmSpace, virtTtb); in OsKernVmSpaceInit()
172 BOOL OsVMallocSpaceInit(LosVmSpace *vmSpace, VADDR_T *virtTtb) in OsVMallocSpaceInit() argument
182 return OsVmSpaceInitCommon(vmSpace, virtTtb); in OsVMallocSpaceInit()
192 BOOL OsUserVmSpaceInit(LosVmSpace *vmSpace, VADDR_T *virtTtb) in OsUserVmSpaceInit() argument
205 return OsVmSpaceInitCommon(vmSpace, virtTtb); in OsUserVmSpaceInit()
Dlos_vm_dump.c464 ttEntry = space->archMmu.virtTtb[l1Index]; in OsDumpPte()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h291 BOOL OsUserVmSpaceInit(LosVmSpace *vmSpace, VADDR_T *virtTtb);
/kernel/liteos_a/kernel/base/core/
Dlos_process.c2044 childProcessCB->vmSpace->archMmu.virtTtb = runProcessCB->vmSpace->archMmu.virtTtb; in OsCopyMM()