On 10/2/26 12:33, Anton Johansson wrote:
In preparation for dropping TARGET_PHYS_ADDR_SPACE_BITS, add a
a runtime function to correctly represent the size of the physical
address space for EV4-6 based on the current CPU version.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Anton Johansson <[email protected]>
---
linux-user/alpha/target_proc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/alpha/target_proc.h b/linux-user/alpha/target_proc.h
index 71949d380d..6b491ffa3a 100644
--- a/linux-user/alpha/target_proc.h
+++ b/linux-user/alpha/target_proc.h
@@ -6,6 +6,7 @@
#ifndef ALPHA_TARGET_PROC_H
#define ALPHA_TARGET_PROC_H
+#include "qemu/osdep.h"
#include "target/alpha/cpu.h"
static uint8_t alpha_phys_addr_space_bits(CPUAlphaState *env)
This patch can be discarded I suppose :)