mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
hwaddr: Make hwaddr type usable beyond softmmu
While not normally needed for *-user, it can safely be used there since always based on uint64_t, to avoid ifdeffery. To avoid accidental uses, move the guards from exec/hwaddr.h to its inclusion sites. No need for them in include/hw/. Prepares for hwaddr use in qom/cpu.h. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
|
||||
/* CPU interfaces that are target independent. */
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "exec/hwaddr.h"
|
||||
#endif
|
||||
|
||||
#ifndef NEED_CPU_H
|
||||
#include "exec/poison.h"
|
||||
|
||||
Reference in New Issue
Block a user