Skip to content

[ATfE] Fix M-profile memory setup#772

Open
voltur01 wants to merge 2 commits intoarm:arm-softwarefrom
voltur01:fix_m_profile_cache
Open

[ATfE] Fix M-profile memory setup#772
voltur01 wants to merge 2 commits intoarm:arm-softwarefrom
voltur01:fix_m_profile_cache

Conversation

@voltur01
Copy link
Contributor

@voltur01 voltur01 commented Mar 5, 2026

@voltur01 voltur01 requested a review from a team as a code owner March 5, 2026 14:29

#if BOOTCODE_M_ARCH_CACHE_SUPPORTED
static inline void sync_barriers() {
static constexpr unsigned int FullSystemScope = 0xf;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think static constexpr makes any difference here. Unless I'm missing something, I suggest you change it to const unsigned int.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static would not make a difference, agreed, I will remove, constexpr I expect to ensure this is compile time only (which it probably would be in this trivial case anyway - just to express the intent).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the static here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants