From 79559c82aa7aa9ab363341d0a734225f9c788b00 Mon Sep 17 00:00:00 2001 From: Pavel Butsykin Date: Fri, 16 Feb 2018 00:16:50 -0500 Subject: [PATCH] apic_internal.h: rename ESR_ILLEGAL_ADDRESS to APIC_ESR_ILLEGAL_ADDRESS Added prefix APIC_ for determining the constant of a particular subsystem, improve the overall readability and match other constant names. Backports commit a22bf99c5852f369dc620be2c3c93535a5b69a58 from qemu --- qemu/include/hw/i386/apic_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/include/hw/i386/apic_internal.h b/qemu/include/hw/i386/apic_internal.h index da1f5fe5..0a03cb66 100644 --- a/qemu/include/hw/i386/apic_internal.h +++ b/qemu/include/hw/i386/apic_internal.h @@ -79,7 +79,7 @@ #define APIC_ESR_SEND_ACCEPT_SHIFT 2 #define APIC_ESR_RECV_CHECK_SUM_SHIFT 1 -#define ESR_ILLEGAL_ADDRESS (1 << 7) +#define APIC_ESR_ILLEGAL_ADDRESS (1 << 7) #define APIC_ESR_RECV_ILLEGAL_VECT (1 << APIC_ESR_RECV_ILL_VECT_SHIFT) #define APIC_ESR_SEND_ILLEGAL_VECT (1 << APIC_ESR_SEND_ILL_VECT_SHIFT) #define APIC_ESR_RECV_ACCEPT (1 << APIC_ESR_RECV_ACCEPT_SHIFT)