This commit adds proper cache and shareability attributes to the TCR registers. Set memory attributes to Normal, outer and inner cacheable WBWA. Set shareability to inner and outer shareable when SMP is enabled.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Why do you need to pass in the shareability attribute? It's needed for notmal memory, and ignored in device memory so we can add it unconditionally.
sys/arm64/arm64/locore.S | ||
---|---|---|
48–52 | You're right, I'll remove it prior submitting. | |
191 | It's the part of locore fixes described in the patch summary
Please let me know if I should split this patch into two (include+stack and TCR reg) or leave as a one. |