If message ID is
| 2024-12-16
本文字數 104閱讀時長 1 分鐘
  • If message ID is OPTEED_MSG_COMMUNICATE (0x1) (Called from udomain):
    • If tdomain’s shared memory is NOT valid, return SBI_EINVAL.
    • Otherwise:
      • Direction: udomain -> OpenSBI
      • Copy the source data from udomain to tdomain’s shared memory.
    • Call sbi_ecall_tee_domain_enter() to switch to tdomain.
      • Direction: udomain -> tdomain.
      • The entry point to be switched to is defined by the function type:
        • Function type is defined by the first unsigned long in udomain’s shared memory: ((ulong *)shmem_base)[0].
        • If function type is: ABI_ENTRY_TYPE_FAST (i.e. ARM_SMCCC_FAST_CALL)
        • Otherwise:
    Loading...
    目錄