1c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner/****************************************************************************
2c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ****************************************************************************
3c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***
4c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   This header was automatically generated from a Linux kernel header
5c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   of the same name, to make information necessary for userspace to
6c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   call into the kernel available to libc.  It contains only constants,
7c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   structures, and macros generated from the original header, and thus,
8c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   contains no copyrightable information.
9c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***
1029539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh ***   To edit the content of this header, modify the corresponding
1129539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh ***   source file (e.g. under external/kernel-headers/original/) then
1229539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh ***   run bionic/libc/kernel/tools/update_all.py
1329539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh ***
1429539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh ***   Any manual change here will be lost the next time this script will
1529539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh ***   be run. You've been warned!
1629539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh ***
17c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ****************************************************************************
18c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ****************************************************************************/
19c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#ifndef _I386_PAGE_H
20c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define _I386_PAGE_H
21c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define PAGE_SHIFT 12
22c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define PAGE_SIZE (1UL << PAGE_SHIFT)
2329539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define PAGE_MASK (~(PAGE_SIZE-1))
25c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define LARGE_PAGE_MASK (~(LARGE_PAGE_SIZE-1))
26c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define LARGE_PAGE_SIZE (1UL << PMD_SHIFT)
27c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#endif
2829539e93c9d8dfe03934458288597a12e5ed3693Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29