-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
posix: options: add XSI_REALTIME option group #83303
base: main
Are you sure you want to change the base?
posix: options: add XSI_REALTIME option group #83303
Conversation
da74584
to
3a0cd37
Compare
57c39c1
to
4271c7a
Compare
c66b962
to
561d6c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Reviewers might want to take a look workarounds for some weird corner cases
The latter two should be reproducible by undoing the workaround commits. |
561d6c0
to
ec1234e
Compare
|
POSIX mlock() and munlock() require an MMU as well as DEMAND_PAGING. Signed-off-by: Chris Friedt <[email protected]>
ec1234e
to
174b929
Compare
For the REALTIME_MINIMAL Application Environment Profile, uncomment the POSIX_MEMLOCK, POSIX_MEMLOCK_RANGE, POSIX_MEMORY_PROTECTION, POSIX_MAPPED_FILES, and POSIX_SHARED_MEMORY_OBJECTS options. These should have been uncommented back when Kconfig options for those features were added, so this can probably be called a Kconfig bug. Signed-off-by: Chris Friedt <[email protected]>
Since XSI is composed of several distinct POSIX Option Groups split Kconfig.xsi into separate files - one for each Option Group. Signed-off-by: Chris Friedt <[email protected]>
Add a POSIX Option Group called XSI_REALTIME (with Kconfig option CONFIG_XSI_REALTIME). When XSI_REALTIME is selected (or when required POSIX Options are enabled), define _XOPEN_REALTIME to be something other than -1 (_XOPEN_VERSION seemed appropriate). Signed-off-by: Chris Friedt <[email protected]>
174b929
to
b5e59fb
Compare
@dcpleung - have some strange x86 errors here. Do they mean anything to you? https://github.com/zephyrproject-rtos/zephyr/actions/runs/12725218655/job/35472486658#step:12:1 |
I guess the |
Add a POSIX Option Group called
XSI_REALTIME
(with Kconfig optionCONFIG_XSI_REALTIME
).When
XSI_REALTIME
is selected (or when required POSIX Options are enabled), define_XOPEN_REALTIME
to be something other than -1 (_XOPEN_VERSION
seemed appropriate).Closes #82004
Relates to #79816
Required changes: