From ef0a6f47920a4fb245f35f1b2e4bcaa7305819cd Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 6 Feb 2023 12:32:50 +0000 Subject: [ioapi] Move PAGE_SHIFT to bits/io.h The PAGE_SHIFT definition is an architectural property, rather than an aspect of a particular I/O API implementation (of which, in theory, there may be more than one per architecture). Reflect this by moving the definition to the top-level bits/io.h for each architecture. Signed-off-by: Michael Brown --- src/arch/arm/include/ipxe/arm_io.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/arch/arm/include/ipxe/arm_io.h') diff --git a/src/arch/arm/include/ipxe/arm_io.h b/src/arch/arm/include/ipxe/arm_io.h index 105f22bfb..046cbdb06 100644 --- a/src/arch/arm/include/ipxe/arm_io.h +++ b/src/arch/arm/include/ipxe/arm_io.h @@ -20,9 +20,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); * */ -/** Page shift */ -#define PAGE_SHIFT 12 - /* * Physical<->Bus address mappings * -- cgit v1.2.3-55-g7522