Skip to content

Commit

Permalink
UefiCpuPkg: Remove macro MAX_LOONGARCH_EXCEPTION
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Zhiguang Liu <[email protected]>
Cc: Dun Tan <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Signed-off-by: Chao Li <[email protected]>
  • Loading branch information
kilaterlee committed Dec 11, 2024
1 parent d981974 commit ffd4862
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
7 changes: 0 additions & 7 deletions UefiCpuPkg/CpuDxe/LoongArch64/CpuDxe.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
#include <Protocol/DebugSupport.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
from the processor's data cache. If Start is not aligned to a cache line
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down
7 changes: 0 additions & 7 deletions UefiCpuPkg/Library/CpuMmuLib/LoongArch64/Page.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_

0 comments on commit ffd4862

Please sign in to comment.