Jens Wiklander | 6054d68 | 2019-11-19 11:31:14 +0100 | [diff] [blame] | 1 | |
| 2 | # Generate with: |
| 3 | # mscgen -T png -o images/trusted_applications/free_appl_shm.png \ |
| 4 | # images/trusted_applications/free_appl_shm.msc |
| 5 | |
| 6 | msc { |
| 7 | hscale = "2", wordwraparcs = on; |
| 8 | |
| 9 | a [label="OP-TEE Core"], b [label="Kernel OP-TEE driver"], |
| 10 | c [label="tee-supplicant"]; |
| 11 | |
| 12 | ||| ; |
| 13 | --- [ label = " Freeing nonsecure application shared memory "]; |
| 14 | a=>b [ label = "RPC_CMD_SHM_FREE(SHM_TYPE_APPL, shm_ref)" ]; |
| 15 | b=>c [ label = "RPC_CMD_SHM_FREE(SHM_TYPE_APPL, shm_ref ID)" ]; |
| 16 | c=>c [ label = "free(payload buffer)" ]; |
| 17 | c>>b; |
| 18 | b>>a; |
| 19 | } |