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
40 mpxy = &mpxy_core_local_array[hart_id]; in mpxy_get_core_local()
42 return mpxy; in mpxy_get_core_local()
83 struct mpxy_core_local *mpxy = NULL; in sbi_mpxy_set_shmem() local
91 mpxy = mpxy_get_core_local(); in sbi_mpxy_set_shmem()
92 if (mpxy->shmem_active) in sbi_mpxy_set_shmem()
99 mpxy->shmem = shmem; in sbi_mpxy_set_shmem()
100 mpxy->shmem_pa = virt_to_phys(shmem); in sbi_mpxy_set_shmem()
102 sbiret = sbi_ecall(SBI_EXT_MPXY, SBI_EXT_MPXY_SET_SHMEM, mpxy->shmem_pa, in sbi_mpxy_set_shmem()
111 mpxy->shmem_active = true; in sbi_mpxy_set_shmem()
[all …]