]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[ioapi] Move PAGE_SHIFT to bits/io.h
authorMichael Brown <mcb30@ipxe.org>
Mon, 6 Feb 2023 12:32:50 +0000 (12:32 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 6 Feb 2023 12:34:21 +0000 (12:34 +0000)
commitef0a6f47920a4fb245f35f1b2e4bcaa7305819cd
tree124cecf39755fd260f03a4240f0f7409c9027eb4
parentc6901792f009cfd824707724b687e99edd4c8ecd
[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>
src/arch/arm/include/bits/io.h
src/arch/arm/include/ipxe/arm_io.h
src/arch/x86/include/bits/io.h
src/arch/x86/include/ipxe/x86_io.h