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 Not Applicable - Unit
Tests Not Applicable
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 ↗ | (On Diff #6962) | You're right, I'll remove it prior submitting. |
191 ↗ | (On Diff #6962) | 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. |