Skip to content

Commit

Permalink
Remove unwanted variable portACL_ENTRY_SIZE_BYTES (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
kar-rahul-aws authored Sep 26, 2023
1 parent 2f25cb9 commit ac5deb1
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 50 deletions.
3 changes: 1 addition & 2 deletions portable/ARMv8M/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM23/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM23_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM33/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM33_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM35P/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM35P_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM3_MPU/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ typedef struct MPU_REGION_SETTINGS

#define MAX_CONTEXT_SIZE ( 20 )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

/* Flags used for xMPU_SETTINGS.ulTaskFlags member. */
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM4_MPU/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ typedef struct MPU_REGION_SETTINGS

#define MAX_CONTEXT_SIZE ( 52 )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

/* Flags used for xMPU_SETTINGS.ulTaskFlags member. */
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM55/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM55_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM85/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/GCC/ARM_CM85_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM23/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM23_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM33/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM33_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM35P/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM35P_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM4F_MPU/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ typedef struct MPU_REGION_SETTINGS

#define MAX_CONTEXT_SIZE ( 52 )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

/* Flags used for xMPU_SETTINGS.ulTaskFlags member. */
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM55/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM55_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM85/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/IAR/ARM_CM85_NTZ/non_secure/portmacrocommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
#define portSTACK_FRAME_HAS_PADDING_FLAG ( 1UL << 0UL )
#define portTASK_IS_PRIVILEGED_FLAG ( 1UL << 1UL )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

typedef struct MPU_SETTINGS
Expand Down
3 changes: 1 addition & 2 deletions portable/RVDS/ARM_CM4_MPU/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ typedef struct MPU_REGION_SETTINGS

#define MAX_CONTEXT_SIZE ( 52 )

/* Size of an Access Control List (ACL) entry in bits and bytes. */
#define portACL_ENTRY_SIZE_BYTES ( 4U )
/* Size of an Access Control List (ACL) entry in bits. */
#define portACL_ENTRY_SIZE_BITS ( 32U )

/* Flags used for xMPU_SETTINGS.ulTaskFlags member. */
Expand Down

0 comments on commit ac5deb1

Please sign in to comment.