You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/09/19 08:08:48 UTC
[incubator-nuttx] branch master updated: libs/unistd: add system
variables of physical pages
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 9db2e9e libs/unistd: add system variables of physical pages
9db2e9e is described below
commit 9db2e9e393f294444f3f4e18aacb2c227f429b9c
Author: chao.an <an...@xiaomi.com>
AuthorDate: Wed Sep 16 17:41:56 2020 +0800
libs/unistd: add system variables of physical pages
Change-Id: If739b25d358c35de90115ae51e0c1bfbe7bd7a88
Signed-off-by: chao.an <an...@xiaomi.com>
---
include/unistd.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/unistd.h b/include/unistd.h
index 51ce8f0..b51d843 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: */