From 9db2e9e393f294444f3f4e18aacb2c227f429b9c Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Wed, 16 Sep 2020 17:41:56 +0800 Subject: [PATCH] libs/unistd: add system variables of physical pages Change-Id: If739b25d358c35de90115ae51e0c1bfbe7bd7a88 Signed-off-by: chao.an --- include/unistd.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/unistd.h b/include/unistd.h index 51ce8f0561..b51d84386d 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -255,8 +255,11 @@ #define _SC_XOPEN_UNIX 0x0079 #define _SC_XOPEN_VERSION 0x007a -#define _SC_NPROCESSORS_CONF 0x007b -#define _SC_NPROCESSORS_ONLN 0x007c +#define _SC_PHYS_PAGES 0x007b +#define _SC_AVPHYS_PAGES 0x007c + +#define _SC_NPROCESSORS_CONF 0x007d +#define _SC_NPROCESSORS_ONLN 0x007e /* The following symbolic constants must be defined for file streams: */