)\r
{\r
#if defined (MDE_CPU_ARM) || defined (MDE_CPU_AARCH64)\r
- UINT8 InterruptType = *Ptr;\r
+ UINT8 InterruptType;\r
+\r
+ InterruptType = *Ptr;\r
+\r
if (InterruptType !=\r
EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERRUPT_TYPE_GIC) {\r
IncrementErrorCount ();\r
)\r
{\r
#if defined (MDE_CPU_ARM) || defined (MDE_CPU_AARCH64)\r
- UINT8 Irq = *Ptr;\r
+ UINT8 Irq;\r
+\r
+ Irq = *Ptr;\r
+\r
if (Irq != 0) {\r
IncrementErrorCount ();\r
Print (\r