PSoC64 Secure Boot Utilities Middleware Library 1.0

General Description

Macros

#define CY_P64_SYSCALL_DIRECT_PARAMS   (0x1UL)
 SysCall parameters types.
 
#define CY_P64_SYSCALL_MASK   (0xFF000000U)
 The status mask of the Secure FlashBoot return value.
 
#define CY_P64_SUCCESS   (0xA0000000U)
 Success operation.
 
#define CY_P64_INVALID   (0xF7000000U)
 The fail status of the Secure FlashBoot return value.
 
#define CY_P64_INVALID_PROTECTION   (0xF0000001U)
 Reject the system call when CPUSS_PROTECTION is not NORMAL (PSoC6A-BLE2 only)
 
#define CY_P64_INVALID_ADDR_PROTECTED   (0xF0000008U)
 Returned by all APIs when client doesn't have access to region it is using for passing arguments. More...
 
#define CY_P64_INVALID_SYSCALL_OPCODE   (0xF000000BU)
 The opcode is not a valid API opcode. More...
 
#define CY_P64_INVALID_STATE_DEAD   (0xF700DEADU)
 Returned when device is in DEAD state.
 
#define CY_P64_INVALID_FLASH_OPERATION   (0xF7000002U)
 Returned when write to flash operation fails.
 
#define CY_P64_INVALID_SYSCALL_PROTECTED   (0xF700000AU)
 Returned if a master with PC > 4 tries to use PSA syscall and protection is enabled in the policy ((protect_flags & 2) != 0)
 
#define CY_P64_INVALID_PC_CHANGE   (0xF7000010U)
 Returned when Protection Context change of the Crypto is failed.
 
#define CY_P64_INVALID_PERM_NOT_ALLOWED   (0xF7000012U)
 Returned by cy_p64_access_port_control() when requested action (enable DP) is not permitted by the provisioned policy.
 
#define CY_P64_INVALID_CRYPTO_OPER   (0xF7000013U)
 Returned when cryptographic operation failed.
 
#define CY_P64_INVALID_ARGUMENT   (0xF7000024U)
 Returned if invalid arguments are passed to a API or SysCall.
 
#define CY_P64_INVALID_KEY_PROTECTED   (0xF7000025U)
 Returned if a master with PC > 4 tries to use cy_p64_psa_sign_hash() API with an internal key and protection is enabled in the policy ((protect_flag & 1) != 0)
 
#define CY_P64_INVALID_ADDR_OUT_OF_RANGE   (0xF7000026U)
 Returned if API tries to access not permitted regions of the memory according to the policy.
 
#define CY_P64_INVALID_MEM_ALLOC   (0xF70000FFU)
 Returned when memory allocation failed.
 
#define CY_P64_INVALID_TIMEOUT   (0xF8000100U)
 Returned when syscall didn't respond until defined timeout.
 
#define CY_P64_INVALID_OUT_PAR   (0xF8000101U)
 Returned when invalid output parameter passed to API.
 
#define CY_P64_INVALID_OPCODE   (0xF000000Bu)
 Returned when not supported API opcode passed to the syscall.
 

Macro Definition Documentation

◆ CY_P64_INVALID_ADDR_PROTECTED

#define CY_P64_INVALID_ADDR_PROTECTED   (0xF0000008U)

Returned by all APIs when client doesn't have access to region it is using for passing arguments.

◆ CY_P64_INVALID_SYSCALL_OPCODE

#define CY_P64_INVALID_SYSCALL_OPCODE   (0xF000000BU)

The opcode is not a valid API opcode.