mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06: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:
parent
c643bed99f
commit
ce927ed9e4
4 changed files with 6 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue