aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Liu <liuwe@linux.microsoft.com>2025-03-07 11:55:21 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-04-17 18:23:26 +0200
commitfb8ebedd2a9d2c2c098464dee4ec7bd1c8c463a1 (patch)
tree6bf128723a60cec55aa66e84d0ba8a45b51427f7
parent3667f0bb58427edadc4a049080141d395b48fc29 (diff)
downloadqemu-fb8ebedd2a9d2c2c098464dee4ec7bd1c8c463a1.zip
qemu-fb8ebedd2a9d2c2c098464dee4ec7bd1c8c463a1.tar.gz
qemu-fb8ebedd2a9d2c2c098464dee4ec7bd1c8c463a1.tar.bz2
target/i386/hvf: rename some include guards
These headers will be moved out to its own component. Signed-off-by: Wei Liu <liuwe@linux.microsoft.com> Link: https://lore.kernel.org/r/1741377325-28175-11-git-send-email-liuwe@linux.microsoft.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--target/i386/hvf/x86.h4
-rw-r--r--target/i386/hvf/x86_decode.h4
-rw-r--r--target/i386/hvf/x86_flags.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/target/i386/hvf/x86.h b/target/i386/hvf/x86.h
index 063cd0b..73edccf 100644
--- a/target/i386/hvf/x86.h
+++ b/target/i386/hvf/x86.h
@@ -16,8 +16,8 @@
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef HVF_X86_H
-#define HVF_X86_H
+#ifndef X86_EMU_DEFS_H
+#define X86_EMU_DEFS_H
typedef struct x86_register {
union {
diff --git a/target/i386/hvf/x86_decode.h b/target/i386/hvf/x86_decode.h
index a2d7a2a..930d965 100644
--- a/target/i386/hvf/x86_decode.h
+++ b/target/i386/hvf/x86_decode.h
@@ -15,8 +15,8 @@
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef HVF_X86_DECODE_H
-#define HVF_X86_DECODE_H
+#ifndef X86_EMU_DECODE_H
+#define X86_EMU_DECODE_H
#include "cpu.h"
#include "x86.h"
diff --git a/target/i386/hvf/x86_flags.h b/target/i386/hvf/x86_flags.h
index 75c2a7f..6c17500 100644
--- a/target/i386/hvf/x86_flags.h
+++ b/target/i386/hvf/x86_flags.h
@@ -21,8 +21,8 @@
* x86 eflags functions
*/
-#ifndef X86_FLAGS_H
-#define X86_FLAGS_H
+#ifndef X86_EMU_FLAGS_H
+#define X86_EMU_FLAGS_H
#include "cpu.h"
void lflags_to_rflags(CPUX86State *env);
@@ -78,4 +78,4 @@ void SET_FLAGS_OSZAPC_LOGIC16(CPUX86State *env, uint16_t v1, uint16_t v2,
void SET_FLAGS_OSZAPC_LOGIC8(CPUX86State *env, uint8_t v1, uint8_t v2,
uint8_t diff);
-#endif /* X86_FLAGS_H */
+#endif /* X86_EMU_FLAGS_H */