Home
last modified time | relevance | path

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

/optee_os/core/arch/riscv/kernel/
H A Dsbi_mpxy.c31 struct mpxy_core_local *mpxy = NULL; in mpxy_get_core_local() local
38 mpxy = &mpxy_core_local_array[hart_id]; in mpxy_get_core_local()
40 return mpxy; in mpxy_get_core_local()
81 struct mpxy_core_local *mpxy = NULL; in sbi_mpxy_set_shmem() local
89 mpxy = mpxy_get_core_local(); in sbi_mpxy_set_shmem()
90 if (mpxy->shmem_active) in sbi_mpxy_set_shmem()
97 mpxy->shmem = shmem; in sbi_mpxy_set_shmem()
98 mpxy->shmem_pa = virt_to_phys(shmem); in sbi_mpxy_set_shmem()
100 sbiret = sbi_ecall(SBI_EXT_MPXY, SBI_EXT_MPXY_SET_SHMEM, mpxy->shmem_pa, in sbi_mpxy_set_shmem()
109 mpxy->shmem_active = true; in sbi_mpxy_set_shmem()
[all …]