Refresh 64-bit headers and libs

Change-Id: I300537b883705cedbcb6f21fe616f187b54c4afd
This commit is contained in:
Andrew Hsieh
2014-03-22 17:45:39 +08:00
parent 8680138dd6
commit d8118ba51b
59 changed files with 1691 additions and 2794 deletions

View File

@@ -105,9 +105,15 @@
#define ULONG_LONG_MAX ULLONG_MAX
#endif
/* New code should use sysconf(_SC_PAGE_SIZE) instead. */
#ifndef PAGE_SIZE
#define PAGE_SIZE 4096
#endif
#ifndef PAGESIZE
#include <asm/page.h>
#define PAGESIZE PAGE_SIZE
#endif
/* glibc's PAGE_MASK is the bitwise negation of BSD's! TODO: remove? */
#define PAGE_MASK (~(PAGE_SIZE - 1))
#endif /* !_LIMITS_H_ */