mirror of https://github.com/ARMmbed/mbed-os.git
Genrerate SPM data
parent
21d09b4156
commit
aad114aa55
|
@ -39,6 +39,7 @@
|
|||
#define CLIENT_TESTS_PART1_RESERVED2_MSK (1UL << CLIENT_TESTS_PART1_RESERVED2_POS)
|
||||
|
||||
|
||||
#define CLIENT_TESTS_PART1_WAIT_ANY_IRQ_MSK (0)
|
||||
|
||||
#define PART1_ROT_SRV1_MSK_POS (4UL)
|
||||
#define PART1_ROT_SRV1_MSK (1UL << PART1_ROT_SRV1_MSK_POS)
|
||||
|
|
|
@ -41,8 +41,7 @@ spm_partition_t g_partitions[5] = {
|
|||
{
|
||||
.partition_id = CLIENT_TESTS_PART1_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = CLIENT_TESTS_PART1_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = CLIENT_TESTS_PART1_WAIT_ANY_SID_MSK | CLIENT_TESTS_PART1_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = CLIENT_TESTS_PART1_ROT_SRV_COUNT,
|
||||
.extern_sids = NULL,
|
||||
|
@ -63,8 +62,7 @@ spm_partition_t g_partitions[5] = {
|
|||
{
|
||||
.partition_id = CRYPTO_SRV_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = CRYPTO_SRV_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = CRYPTO_SRV_WAIT_ANY_SID_MSK | CRYPTO_SRV_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = CRYPTO_SRV_ROT_SRV_COUNT,
|
||||
.extern_sids = crypto_srv_external_sids,
|
||||
|
@ -74,8 +72,7 @@ spm_partition_t g_partitions[5] = {
|
|||
{
|
||||
.partition_id = PLATFORM_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = PLATFORM_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = PLATFORM_WAIT_ANY_SID_MSK | PLATFORM_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = PLATFORM_ROT_SRV_COUNT,
|
||||
.extern_sids = platform_external_sids,
|
||||
|
@ -85,8 +82,7 @@ spm_partition_t g_partitions[5] = {
|
|||
{
|
||||
.partition_id = ITS_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = ITS_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = ITS_WAIT_ANY_SID_MSK | ITS_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = ITS_ROT_SRV_COUNT,
|
||||
.extern_sids = NULL,
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#define SERVER_TEST_PART1_RESERVED2_MSK (1UL << SERVER_TEST_PART1_RESERVED2_POS)
|
||||
|
||||
|
||||
#define SERVER_TEST_PART1_WAIT_ANY_IRQ_MSK (0)
|
||||
|
||||
#define CONTROL_MSK_POS (4UL)
|
||||
#define CONTROL_MSK (1UL << CONTROL_MSK_POS)
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#define SERVER_TEST_PART2_RESERVED2_MSK (1UL << SERVER_TEST_PART2_RESERVED2_POS)
|
||||
|
||||
|
||||
#define SERVER_TEST_PART2_WAIT_ANY_IRQ_MSK (0)
|
||||
|
||||
#define ROT_SRV_REVERSE_MSK_POS (4UL)
|
||||
#define ROT_SRV_REVERSE_MSK (1UL << ROT_SRV_REVERSE_MSK_POS)
|
||||
|
|
|
@ -43,8 +43,7 @@ spm_partition_t g_partitions[6] = {
|
|||
{
|
||||
.partition_id = SERVER_TEST_PART1_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = SERVER_TEST_PART1_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = SERVER_TEST_PART1_WAIT_ANY_SID_MSK | SERVER_TEST_PART1_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = SERVER_TEST_PART1_ROT_SRV_COUNT,
|
||||
.extern_sids = server_test_part1_external_sids,
|
||||
|
@ -54,8 +53,7 @@ spm_partition_t g_partitions[6] = {
|
|||
{
|
||||
.partition_id = SERVER_TEST_PART2_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = SERVER_TEST_PART2_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = SERVER_TEST_PART2_WAIT_ANY_SID_MSK | SERVER_TEST_PART2_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = SERVER_TEST_PART2_ROT_SRV_COUNT,
|
||||
.extern_sids = NULL,
|
||||
|
@ -76,8 +74,7 @@ spm_partition_t g_partitions[6] = {
|
|||
{
|
||||
.partition_id = CRYPTO_SRV_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = CRYPTO_SRV_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = CRYPTO_SRV_WAIT_ANY_SID_MSK | CRYPTO_SRV_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = CRYPTO_SRV_ROT_SRV_COUNT,
|
||||
.extern_sids = crypto_srv_external_sids,
|
||||
|
@ -87,8 +84,7 @@ spm_partition_t g_partitions[6] = {
|
|||
{
|
||||
.partition_id = PLATFORM_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = PLATFORM_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = PLATFORM_WAIT_ANY_SID_MSK | PLATFORM_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = PLATFORM_ROT_SRV_COUNT,
|
||||
.extern_sids = platform_external_sids,
|
||||
|
@ -98,8 +94,7 @@ spm_partition_t g_partitions[6] = {
|
|||
{
|
||||
.partition_id = ITS_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = ITS_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = ITS_WAIT_ANY_SID_MSK | ITS_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = ITS_ROT_SRV_COUNT,
|
||||
.extern_sids = NULL,
|
||||
|
|
|
@ -41,8 +41,7 @@ spm_partition_t g_partitions[5] = {
|
|||
{
|
||||
.partition_id = SMOKE_TEST_PART1_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = SMOKE_TEST_PART1_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = SMOKE_TEST_PART1_WAIT_ANY_SID_MSK | SMOKE_TEST_PART1_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = SMOKE_TEST_PART1_ROT_SRV_COUNT,
|
||||
.extern_sids = NULL,
|
||||
|
@ -63,8 +62,7 @@ spm_partition_t g_partitions[5] = {
|
|||
{
|
||||
.partition_id = CRYPTO_SRV_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = CRYPTO_SRV_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = CRYPTO_SRV_WAIT_ANY_SID_MSK | CRYPTO_SRV_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = CRYPTO_SRV_ROT_SRV_COUNT,
|
||||
.extern_sids = crypto_srv_external_sids,
|
||||
|
@ -74,8 +72,7 @@ spm_partition_t g_partitions[5] = {
|
|||
{
|
||||
.partition_id = PLATFORM_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = PLATFORM_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = PLATFORM_WAIT_ANY_SID_MSK | PLATFORM_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = PLATFORM_ROT_SRV_COUNT,
|
||||
.extern_sids = platform_external_sids,
|
||||
|
@ -85,8 +82,7 @@ spm_partition_t g_partitions[5] = {
|
|||
{
|
||||
.partition_id = ITS_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = ITS_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = ITS_WAIT_ANY_SID_MSK | ITS_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = ITS_ROT_SRV_COUNT,
|
||||
.extern_sids = NULL,
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#define SMOKE_TEST_PART1_RESERVED2_MSK (1UL << SMOKE_TEST_PART1_RESERVED2_POS)
|
||||
|
||||
|
||||
#define SMOKE_TEST_PART1_WAIT_ANY_IRQ_MSK (0)
|
||||
|
||||
#define ROT_SRV1_MSK_POS (4UL)
|
||||
#define ROT_SRV1_MSK (1UL << ROT_SRV1_MSK_POS)
|
||||
|
|
|
@ -52,8 +52,7 @@ spm_partition_t g_partitions[4] = {
|
|||
{
|
||||
.partition_id = CRYPTO_SRV_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = CRYPTO_SRV_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = CRYPTO_SRV_WAIT_ANY_SID_MSK | CRYPTO_SRV_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = CRYPTO_SRV_ROT_SRV_COUNT,
|
||||
.extern_sids = crypto_srv_external_sids,
|
||||
|
@ -63,8 +62,7 @@ spm_partition_t g_partitions[4] = {
|
|||
{
|
||||
.partition_id = PLATFORM_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = PLATFORM_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = PLATFORM_WAIT_ANY_SID_MSK | PLATFORM_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = PLATFORM_ROT_SRV_COUNT,
|
||||
.extern_sids = platform_external_sids,
|
||||
|
@ -74,8 +72,7 @@ spm_partition_t g_partitions[4] = {
|
|||
{
|
||||
.partition_id = ITS_ID,
|
||||
.thread_id = 0,
|
||||
.flags_rot_srv = ITS_WAIT_ANY_SID_MSK,
|
||||
.flags_interrupts = 0,
|
||||
.flags = ITS_WAIT_ANY_SID_MSK | ITS_WAIT_ANY_IRQ_MSK,
|
||||
.rot_services = NULL,
|
||||
.rot_services_count = ITS_ROT_SRV_COUNT,
|
||||
.extern_sids = NULL,
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#define CRYPTO_SRV_RESERVED2_MSK (1UL << CRYPTO_SRV_RESERVED2_POS)
|
||||
|
||||
|
||||
#define CRYPTO_SRV_WAIT_ANY_IRQ_MSK (0)
|
||||
|
||||
#define PSA_CRYPTO_INIT_POS (4UL)
|
||||
#define PSA_CRYPTO_INIT (1UL << PSA_CRYPTO_INIT_POS)
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#define PLATFORM_RESERVED2_MSK (1UL << PLATFORM_RESERVED2_POS)
|
||||
|
||||
|
||||
#define PLATFORM_WAIT_ANY_IRQ_MSK (0)
|
||||
|
||||
#define PSA_PLATFORM_LC_GET_MSK_POS (4UL)
|
||||
#define PSA_PLATFORM_LC_GET_MSK (1UL << PSA_PLATFORM_LC_GET_MSK_POS)
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#define ITS_RESERVED2_MSK (1UL << ITS_RESERVED2_POS)
|
||||
|
||||
|
||||
#define ITS_WAIT_ANY_IRQ_MSK (0)
|
||||
|
||||
#define PSA_ITS_GET_MSK_POS (4UL)
|
||||
#define PSA_ITS_GET_MSK (1UL << PSA_ITS_GET_MSK_POS)
|
||||
|
|
Loading…
Reference in New Issue