blob: 718cf955adef96d7cb049333f586a3cf2063e3bd [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _I386_PAGE_H
13#define _I386_PAGE_H
14
15#define PAGE_SHIFT 12
16#define PAGE_SIZE (1UL << PAGE_SHIFT)
17#define PAGE_MASK (~(PAGE_SIZE-1))
18
19#define LARGE_PAGE_MASK (~(LARGE_PAGE_SIZE-1))
20#define LARGE_PAGE_SIZE (1UL << PMD_SHIFT)
21
22#endif