-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Open
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Architecturesarea: X86x86 Architecture (32-bit)x86 Architecture (32-bit)
Description
Describe the bug
arch.priv_stack_start
is implemented only for ARM and ARC. Necessary to have a generic function for obtaining the privilege stack bounds for x86 too.
In other words, necessary to have an arch-neutral API for getting a pointer to the privilege mode stack, then there would not need to be any arch-specific code in this test case and it could be entirely cross-platform.
To Reproduce
Steps to reproduce the behavior:
- Try to use
thread->arch.priv_stack_start
somewhere in the code - Build it for x86
- It can't build for x86, because that feature not implemented for x86
Expected behavior
Obtaining the privilege stack bounds must be implemented for all architectures.
Impact
For x86 no generic function for obtaining the privilege stack bounds
Environment (please complete the following information):
- OS: Linux
- Toolchain Zephyr SDK 0.11.4
- Commit SHA d1f4a91
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Architecturesarea: X86x86 Architecture (32-bit)x86 Architecture (32-bit)