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
This commit is contained in:
Pavel Butsykin 2018-02-16 00:16:50 -05:00 committed by Lioncash
parent fcd3e3e449
commit 79559c82aa
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -79,7 +79,7 @@
#define APIC_ESR_SEND_ACCEPT_SHIFT 2 #define APIC_ESR_SEND_ACCEPT_SHIFT 2
#define APIC_ESR_RECV_CHECK_SUM_SHIFT 1 #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_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_SEND_ILLEGAL_VECT (1 << APIC_ESR_SEND_ILL_VECT_SHIFT)
#define APIC_ESR_RECV_ACCEPT (1 << APIC_ESR_RECV_ACCEPT_SHIFT) #define APIC_ESR_RECV_ACCEPT (1 << APIC_ESR_RECV_ACCEPT_SHIFT)