Mistake on this page?
Report an issue in GitHub or email us
Macros | Enumerations
ssi_pal_types.h File Reference

This file contains the platform dependent definitions and types. More...

#include "ssi_pal_types_plat.h"

Go to the source code of this file.

Macros

#define SASI_SUCCESS   0UL
 
#define SASI_FAIL   1UL
 
#define SASI_1K_SIZE_IN_BYTES   1024
 
#define SASI_BITS_IN_BYTE   8
 
#define SASI_BITS_IN_32BIT_WORD   32
 
#define SASI_32BIT_WORD_SIZE   (sizeof(uint32_t))
 
#define SASI_OK   SASI_SUCCESS
 
#define SASI_UNUSED_PARAM(prm)   ((void)prm)
 
#define SASI_MAX_UINT32_VAL   (0xFFFFFFFF)
 
#define CRYS_MIN(a, b)   ( ( (a) < (b) ) ? (a) : (b) )
 
#define CRYS_MAX(a, b)   ( ( (a) > (b) ) ? (a) : (b) )
 
#define CALC_FULL_BYTES(numBits)   (((numBits) + (SASI_BITS_IN_BYTE -1))/SASI_BITS_IN_BYTE)
 
#define CALC_FULL_32BIT_WORDS(numBits)   (((numBits) + (SASI_BITS_IN_32BIT_WORD -1))/SASI_BITS_IN_32BIT_WORD)
 
#define CALC_32BIT_WORDS_FROM_BYTES(sizeBytes)   (((sizeBytes) + SASI_32BIT_WORD_SIZE - 1) / SASI_32BIT_WORD_SIZE)
 
#define ROUNDUP_BITS_TO_32BIT_WORD(numBits)   (CALC_FULL_32BIT_WORDS(numBits)*SASI_BITS_IN_32BIT_WORD)
 
#define ROUNDUP_BITS_TO_BYTES(numBits)   (CALC_FULL_BYTES(numBits)*SASI_BITS_IN_BYTE)
 
#define ROUNDUP_BYTES_TO_32BIT_WORD(numBytes)   (SASI_32BIT_WORD_SIZE*(((numBytes)+SASI_32BIT_WORD_SIZE-1)/SASI_32BIT_WORD_SIZE))
 

Enumerations

Detailed Description

This file contains the platform dependent definitions and types.

Definition in file ssi_pal_types.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.