diff options
| author | Michael Brown | 2023-02-06 13:32:50 +0100 |
|---|---|---|
| committer | Michael Brown | 2023-02-06 13:34:21 +0100 |
| commit | ef0a6f47920a4fb245f35f1b2e4bcaa7305819cd (patch) | |
| tree | 124cecf39755fd260f03a4240f0f7409c9027eb4 /src/arch/x86/include/ipxe | |
| parent | [build] Allow for per-architecture unprefixed constant operand modifier (diff) | |
| download | ipxe-ef0a6f47920a4fb245f35f1b2e4bcaa7305819cd.tar.gz ipxe-ef0a6f47920a4fb245f35f1b2e4bcaa7305819cd.tar.xz ipxe-ef0a6f47920a4fb245f35f1b2e4bcaa7305819cd.zip | |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/include/ipxe')
| -rw-r--r-- | src/arch/x86/include/ipxe/x86_io.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/x86/include/ipxe/x86_io.h b/src/arch/x86/include/ipxe/x86_io.h index a6ebe1f4c..eeb3f8454 100644 --- a/src/arch/x86/include/ipxe/x86_io.h +++ b/src/arch/x86/include/ipxe/x86_io.h @@ -28,9 +28,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); * */ -/** Page shift */ -#define PAGE_SHIFT 12 - /* * Physical<->Bus address mappings * |
