mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
UefiCpuPkg: Remove macro MAX_LOONGARCH_EXCEPTION
Since the UEFI 2.11 has been released, the macro MAX_LOONGARCH_EXCEPTION has been added in MdePkg, so it is deleted in LoongArch folder header file. Cc: Ray Ni <ray.ni@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Dun Tan <dun.tan@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn>
This commit is contained in:
parent
3c8e10c8b3
commit
9537f8ce67
@ -27,13 +27,6 @@
|
|||||||
#include <Protocol/DebugSupport.h>
|
#include <Protocol/DebugSupport.h>
|
||||||
#include <Protocol/LoadedImage.h>
|
#include <Protocol/LoadedImage.h>
|
||||||
|
|
||||||
//
|
|
||||||
// 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
|
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
|
from the processor's data cache. If Start is not aligned to a cache line
|
||||||
|
@ -12,13 +12,6 @@
|
|||||||
|
|
||||||
#define MAX_DEBUG_MESSAGE_LENGTH 0x100
|
#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;
|
extern INTN mExceptionKnownNameNum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23,11 +23,4 @@
|
|||||||
#define PTE_PPN_SHIFT EFI_PAGE_SHIFT
|
#define PTE_PPN_SHIFT EFI_PAGE_SHIFT
|
||||||
#define LOONGARCH_MMU_PAGE_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_
|
#endif // PAGE_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user