PDK API Guide for J721E
Sciserver_taskData Struct Reference

Detailed Description

Contains data needed for secure task operation.

Parameters
task_idThe Sciserver_TaskIds enum value to identify this task.
hw_msg_buffer_listAn arary of pointers to static buffers that are the size of the hardware message queue to store the message for sharing with the queue HWI.
hw_msg_buffer_countNumber of hw_msg_buffers present in the hw_msg_buffer_list array.
forwarded_hw_msg_buffer_listAn array of pointers to static buffers that are the size of the hardware message queue to store the message for sharing with a queue HWI from a different execution level.
forwarded_hw_msg_buffer_countNumber of forwarded_hw_msg_buffers present in the forwarded_hw_msg_buffer_list array.
hw_msg_buffer_szThe size of each hw_msg_buffer in bytes.
semaphore_idThe SEMAPHORE_IDS value that is shared with the HWI for this queue.
statePointer to a state struct that will store state information about what the task is currently doing.
user_msg_dataPointer to an array of pointers to struct instances containing message origin data from the user HWI that received the message that is being processed. Only user space tasks will ever receive messages from user queues.
priorityPriority level passed to the OSAL for this task.
stackA pointer to a block of memory to be used as stack for this task. The OSAL assumes all task stacks are SCISERVER_TASK_STACK_SIZE.

Data Fields

const int32_t task_id
 
uint32_t *const * hw_msg_buffer_list
 
const uint8_t hw_msg_buffer_count
 
const uint32_t hw_msg_buffer_sz
 
const uint32_t semaphore_id
 
Sciserver_taskState *const state
 
Sciserver_msgData *const * user_msg_data
 
const int32_t priority
 
uint8_t *const stack
 

Field Documentation

◆ task_id

const int32_t Sciserver_taskData::task_id

◆ hw_msg_buffer_list

uint32_t* const* Sciserver_taskData::hw_msg_buffer_list

◆ hw_msg_buffer_count

const uint8_t Sciserver_taskData::hw_msg_buffer_count

◆ hw_msg_buffer_sz

const uint32_t Sciserver_taskData::hw_msg_buffer_sz

◆ semaphore_id

const uint32_t Sciserver_taskData::semaphore_id

◆ state

Sciserver_taskState* const Sciserver_taskData::state

◆ user_msg_data

Sciserver_msgData* const* Sciserver_taskData::user_msg_data

◆ priority

const int32_t Sciserver_taskData::priority

◆ stack

uint8_t* const Sciserver_taskData::stack