Logo Search packages:      
Sourcecode: linux version File versions  Download package

Classes | Defines | Enumerations | Functions

secHw_def.h File Reference

Definitions for configuring/testing secure blocks. More...

#include <mach/csp/mm_io.h>
#include <mach/csp/secHw_inline.h>
Include dependency graph for secHw_def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  secHw_REGS_t
struct  secHw_TZREG_t

Defines

#define secHw_BLK_MASK_BOOT   0x00200000
#define secHw_BLK_MASK_CHIP_CONTROL   0x00000001
#define secHw_BLK_MASK_DDR2   0x00000080
#define secHw_BLK_MASK_ESW   0x00000200
#define secHw_BLK_MASK_EXT_MEM   0x00000100
#define secHw_BLK_MASK_INTR   0x01000000
#define secHw_BLK_MASK_KEY_SCAN   0x00000002
#define secHw_BLK_MASK_MPU   0x00400000
#define secHw_BLK_MASK_OTP   0x00100000
#define secHw_BLK_MASK_PKA   0x00020000
#define secHw_BLK_MASK_RNG   0x00040000
#define secHw_BLK_MASK_RTC   0x00080000
#define secHw_BLK_MASK_SPU   0x00010000
#define secHw_BLK_MASK_SPUM   0x00000040
#define secHw_BLK_MASK_TOUCH_SCREEN   0x00000004
#define secHw_BLK_MASK_TZCTRL   0x00800000
#define secHw_BLK_MASK_UART0   0x00000008
#define secHw_BLK_MASK_UART1   0x00000010
#define secHw_BLK_MASK_WATCHDOG   0x00000020

Enumerations

enum  secHw_IDX_e { secHw_IDX_LS = 0, secHw_IDX_MS = 1, secHw_IDX_NUM }

Functions

static uint32_t secHw_getStatus (void)
 Get the trustzone status for all components. 1 = non-secure, 0 = secure.
static void secHw_setSecure (uint32_t mask)
 Configures a device as a secure device.
static void secHw_setUnsecure (uint32_t mask)
 Configures a device as a non-secure device.

Detailed Description

Definitions for configuring/testing secure blocks.

Note:
None

Definition in file secHw_def.h.


Generated by  Doxygen 1.6.0   Back to index