Hard Processor System Remote System Update User Guide: Agilex™ 5 SoCs

ID 852610
Date 4/18/2025
Public
Document Table of Contents

D.5.1. Operative System Abstraction Layer Data Types

LIBRSU library defines some data types as part of the OS abstraction layer. These types are used along the library source code (from platform/host/include/RSU_OSAL_types.h):

typedef uint64_t RSU_OSAL_U64;  /** unsigned 64 bit*/
typedef uint32_t RSU_OSAL_U32;  /** unsigned 32 bit*/
typedef uint16_t RSU_OSAL_U16;  /** unsigned 16 bit*/
typedef uint8_t RSU_OSAL_U8;    /** unsigned 8 bit*/
typedef int64_t RSU_OSAL_S64;   /** signed 64 bit*/
typedef int32_t RSU_OSAL_S32;   /** signed 32 bit*/
typedef int16_t RSU_OSAL_S16;   /** signed 16 bit*/
typedef int8_t RSU_OSAL_S8;     /** unsigned 8 bit*/

typedef void RSU_OSAL_VOID;     /** void type*/
typedef char RSU_OSAL_CHAR;     /** character data type*/
typedef bool RSU_OSAL_BOOL;     /** boolean data type*/
typedef int RSU_OSAL_INT;       /** integer data type*/
typedef off_t RSU_OSAL_OFFSET;  /** data type to denote offset */
typedef size_t RSU_OSAL_SIZE;   /** data type to denote size*/
typedef pthread_mutex_t RSU_OSAL_MUTEX;  /** mutex object type */
typedef FILE RSU_OSAL_FILE;    /** file object type */