Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sip_svc_response Struct Reference

SiP Services service communication protocol response format. More...

#include <sip_svc_proto.h>

Data Fields

uint32_t header
 
unsigned long a0
 
unsigned long a1
 
unsigned long a2
 
unsigned long a3
 
uint64_t resp_data_addr
 
uint32_t resp_data_size
 
void * priv_data
 

Detailed Description

SiP Services service communication protocol response format.

response header

  • bits [15: 0] Error code
  • bits [23:16] Transaction ID
  • bits [29:24] Unused. Reserved.
  • bits [31:30] Arm SiP services communication protocol version

a0 - a3

  • SMC/HVC return value

resp_data_addr

  • This parameter only used by asynchronous command.
  • Dynamic memory address that put the asynchronous response data. This address is provided by client during request. Client is responsible to free the memory space when receive the callback of a asynchronous command transaction.The memory needs to be dynamically allocated, the framework will free the allocated memory if the channel is in ABORT state.

resp_data_size

  • This parameter only used by asynchronous command.
  • Valid data size in bytes of resp_data_addr

priv_data

  • Memory address to client context which given during request.

Field Documentation

◆ a0

unsigned long sip_svc_response::a0

◆ a1

unsigned long sip_svc_response::a1

◆ a2

unsigned long sip_svc_response::a2

◆ a3

unsigned long sip_svc_response::a3

◆ header

uint32_t sip_svc_response::header

◆ priv_data

void* sip_svc_response::priv_data

◆ resp_data_addr

uint64_t sip_svc_response::resp_data_addr

◆ resp_data_size

uint32_t sip_svc_response::resp_data_size

The documentation for this struct was generated from the following file: