sys/shm.h: add macro define for posix

Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
guohao15 2023-11-20 14:23:14 +08:00 committed by Xiang Xiao
parent bf57047429
commit 99c6f2e568

View File

@ -40,6 +40,10 @@
#define SHM_RDONLY 0x01 /* Attach read-only (else read-write) */
#define SHM_RND 0x02 /* Round attach address to SHMLBA */
#define SHM_R 0x03 /* or S_IRUGO */
#define SHM_W 0x04 /* or S_IWUGO */
#define SHM_HUGETLB 0x05 /* segment will use huge TLB pages */
/* Segment low boundary address multiple */
#ifdef CONFIG_SHM_SHMLBA