From ec30c856a80270578a90528ecffdaf4eaf148503 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 26 Jul 2014 15:31:08 +0100 Subject: [ioapi] Centralise notion of PAGE_SIZE Signed-off-by: Michael Brown --- src/arch/x86/include/ipxe/x86_io.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch') 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 * -- cgit v1.2.3-55-g7522