diff --git a/UefiCpuPkg/CpuDxe/LoongArch64/CpuDxe.h b/UefiCpuPkg/CpuDxe/LoongArch64/CpuDxe.h index 8bfbfa3442..f69d83da21 100644 --- a/UefiCpuPkg/CpuDxe/LoongArch64/CpuDxe.h +++ b/UefiCpuPkg/CpuDxe/LoongArch64/CpuDxe.h @@ -27,13 +27,6 @@ #include #include -// -// For coding convenience, define the maximum valid -// LoongArch exception. -// Since UEFI V2.11, it will be present in DebugSupport.h. -// -#define MAX_LOONGARCH_EXCEPTION 64 - /* This function flushes the range of addresses from Start to Start+Length from the processor's data cache. If Start is not aligned to a cache line diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h b/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h index e326b73e3f..6b65001738 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h @@ -12,13 +12,6 @@ #define MAX_DEBUG_MESSAGE_LENGTH 0x100 -// -// For coding convenience, define the maximum valid -// LoongArch exception. -// Since UEFI V2.11, it will be present in DebugSupport.h. -// -#define MAX_LOONGARCH_EXCEPTION 64 - extern INTN mExceptionKnownNameNum; /** diff --git a/UefiCpuPkg/Library/CpuMmuLib/LoongArch64/Page.h b/UefiCpuPkg/Library/CpuMmuLib/LoongArch64/Page.h index b115245d68..2fcfbd2f74 100644 --- a/UefiCpuPkg/Library/CpuMmuLib/LoongArch64/Page.h +++ b/UefiCpuPkg/Library/CpuMmuLib/LoongArch64/Page.h @@ -23,11 +23,4 @@ #define PTE_PPN_SHIFT EFI_PAGE_SHIFT #define LOONGARCH_MMU_PAGE_SHIFT EFI_PAGE_SHIFT -// -// For coding convenience, define the maximum valid -// LoongArch exception. -// Since UEFI V2.11, it will be present in DebugSupport.h. -// -#define MAX_LOONGARCH_EXCEPTION 64 - #endif // PAGE_H_