TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ps_object_defs.h File Reference
#include <stdint.h>
#include "flash_layout.h"
#include "psa/protected_storage.h"
Include dependency graph for ps_object_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ps_object_info_t
 Object information. More...
 
struct  ps_obj_header_t
 Metadata attached as a header to object data before storage. More...
 
struct  ps_object_t
 The object to be written to the file system below. Made up of the object header and the object data. More...
 

Macros

#define PS_MAX_OBJECT_DATA_SIZE   PS_MAX_ASSET_SIZE
 
#define PS_OBJECT_HEADER_SIZE   sizeof(struct ps_obj_header_t)
 
#define PS_MAX_OBJECT_SIZE   sizeof(struct ps_object_t)
 
#define PS_MAX_NUM_OBJECTS   (PS_NUM_ASSETS + 3)
 Specifies the maximum number of objects in the system, which is the number of defined assets, the object table and 2 temporary objects to store the temporary object table and temporary updated object. More...
 

Macro Definition Documentation

#define PS_MAX_NUM_OBJECTS   (PS_NUM_ASSETS + 3)

Specifies the maximum number of objects in the system, which is the number of defined assets, the object table and 2 temporary objects to store the temporary object table and temporary updated object.

Definition at line 71 of file ps_object_defs.h.

#define PS_MAX_OBJECT_DATA_SIZE   PS_MAX_ASSET_SIZE

Definition at line 47 of file ps_object_defs.h.

#define PS_MAX_OBJECT_SIZE   sizeof(struct ps_object_t)

Definition at line 62 of file ps_object_defs.h.

#define PS_OBJECT_HEADER_SIZE   sizeof(struct ps_obj_header_t)

Definition at line 61 of file ps_object_defs.h.