X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FRiscV64%2FGetInterruptState.c;fp=MdePkg%2FLibrary%2FBaseLib%2FRiscV64%2FGetInterruptState.c;h=1aa863d145267bb46f7fc1617e8e9e3e0d0fb5af;hp=292f1ec441841daa7ec5e550ece69cdb57bebfcf;hb=2f88bd3a1296c522317f1c21377876de63de5be7;hpb=1436aea4d5707e672672a11bda72be2c63c936c3 diff --git a/MdePkg/Library/BaseLib/RiscV64/GetInterruptState.c b/MdePkg/Library/BaseLib/RiscV64/GetInterruptState.c index 292f1ec441..1aa863d145 100644 --- a/MdePkg/Library/BaseLib/RiscV64/GetInterruptState.c +++ b/MdePkg/Library/BaseLib/RiscV64/GetInterruptState.c @@ -8,7 +8,10 @@ #include "BaseLibInternals.h" -extern UINT32 RiscVGetSupervisorModeInterrupts (VOID); +extern UINT32 +RiscVGetSupervisorModeInterrupts ( + VOID + ); /** Retrieves the current CPU interrupt state. @@ -26,10 +29,8 @@ GetInterruptState ( VOID ) { - unsigned long RetValue; + unsigned long RetValue; RetValue = RiscVGetSupervisorModeInterrupts (); - return RetValue? TRUE: FALSE; + return RetValue ? TRUE : FALSE; } - -