summaryrefslogtreecommitdiffstats
path: root/src/arch/x86
diff options
context:
space:
mode:
authorMichael Brown2014-07-26 16:31:08 +0200
committerMichael Brown2014-07-28 17:58:35 +0200
commitec30c856a80270578a90528ecffdaf4eaf148503 (patch)
tree91968794eeaba657fbbccfa3b5d30c753e5da080 /src/arch/x86
parent[build] Set GITVERSION only if there is a git repository (diff)
downloadipxe-ec30c856a80270578a90528ecffdaf4eaf148503.tar.gz
ipxe-ec30c856a80270578a90528ecffdaf4eaf148503.tar.xz
ipxe-ec30c856a80270578a90528ecffdaf4eaf148503.zip
[ioapi] Centralise notion of PAGE_SIZE
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/include/ipxe/x86_io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/include/ipxe/x86_io.h b/src/arch/x86/include/ipxe/x86_io.h
index 1fc7f6608..9e68f4e78 100644
--- a/src/arch/x86/include/ipxe/x86_io.h
+++ b/src/arch/x86/include/ipxe/x86_io.h
@@ -28,6 +28,9 @@ FILE_LICENCE ( GPL2_OR_LATER );
*
*/
+/** Page shift */
+#define PAGE_SHIFT 12
+
/*
* Physical<->Bus and Bus<->I/O address mappings
*