1# Copyright (c) 2024 Tenstorrent AI ULC
2#
3# SPDX-License-Identifier: Apache-2.0
4
5config XSI_REALTIME
6	bool "X/Open realtime"
7	select POSIX_FSYNC
8	select POSIX_MEMLOCK
9	select POSIX_MEMLOCK_RANGE
10	select POSIX_MESSAGE_PASSING
11	# Not yet implemented, but optional
12	# imply POSIX_PRIORITIZED_IO
13	select POSIX_PRIORITY_SCHEDULING
14	select POSIX_SHARED_MEMORY_OBJECTS
15	select POSIX_SYNCHRONIZED_IO
16	help
17	  Select 'y' here and the following functions will be provided:
18
19	  fsync(), mlockall(), munlockall(), mlock(), munlock(), mq_close(), mq_getattr(), mq_notify(),
20	  mq_open(), mq_receive(), mq_send(), mq_setattr(), mq_unlink(), sched_get_priority_max(),
21	  sched_get_priority_min(), sched_getparam(), sched_getscheduler(), sched_rr_get_interval(),
22	  sched_setparam(), sched_setscheduler(), sched_yield(), mmap(), munmap(), shm_open(),
23	  shm_unlink()
24
25	  The functions fsync(), fdatasync(), and open() will provide synchronized I/O capability.
26
27	  For more information, please see
28	  https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap02.html
29