diff options
Diffstat (limited to 'include/hw/mips')
-rw-r--r-- | include/hw/mips/mips.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hw/mips/mips.h b/include/hw/mips/mips.h index 0af4c3d..6c9c880 100644 --- a/include/hw/mips/mips.h +++ b/include/hw/mips/mips.h @@ -2,8 +2,10 @@ #define HW_MIPS_H /* Definitions for mips board emulation. */ +#include "qemu/units.h" + /* Kernels can be configured with 64KB pages */ -#define INITRD_PAGE_MASK (~((1 << 16) - 1)) +#define INITRD_PAGE_SIZE (64 * KiB) #include "exec/memory.h" |