mirror of
https://gitlab.com/qemu-project/ipxe.git
synced 2025-11-03 07:59:06 +08:00
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>
18 lines
232 B
C
18 lines
232 B
C
#ifndef _BITS_IO_H
|
|
#define _BITS_IO_H
|
|
|
|
/** @file
|
|
*
|
|
* ARM-specific I/O API implementations
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|
|
|
/** Page shift */
|
|
#define PAGE_SHIFT 12
|
|
|
|
#include <ipxe/arm_io.h>
|
|
|
|
#endif /* _BITS_IO_H */
|