Tags: ARMmbed/uvisor
Tags
Add uVisor stack guard protection for v7-M MPU architecture * Adding a new static MPU region (2) for uVisor stack - Setting region's permissions to "No Access" - Using sub-region-disable, 256 bytes of top and bottom are saved for guard (using sub-region) - The rest of the region has privileged-only permissions (inherited from overlapping regions) * Used number-store example to test: During context switch (uVisor code, running in privileged mode) we: - Successfully read memory residing inside the stack. - Failed reading memory residing inside the uVisor stack guard area.
Add uVisor stack guard protection for v7-M MPU architecture * Adding a new static MPU region (2) for uVisor stack - Setting region's permissions to "No Access" - Using sub-region-disable, 256 bytes of top and bottom are saved for guard (using sub-region) - The rest of the region has privileged-only permissions (inherited from overlapping regions) * Used number-store example to test: During context switch (uVisor code, running in privileged mode) we: - Successfully read memory residing inside the stack. - Failed reading memory residing inside the uVisor stack guard area.
Make function in transition macro match target Fixes c92255e "Add MPU invalidation API"
PreviousNext