Skip to content

Commit

Permalink
Use it
Browse files Browse the repository at this point in the history
  • Loading branch information
kuqin12 committed Aug 10, 2024
1 parent caf323e commit 839ec18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <Library/IoLib.h>
#include <Library/HobLib.h>
#include <Library/ArmGicLib.h>
#include <Library/MuArmGicExLib.h>
#include <Library/ArmSmcLib.h>
#include <Library/ArmGenericTimerCounterLib.h>
#include <Library/CpuExceptionHandlerLib.h>
Expand Down Expand Up @@ -359,7 +360,7 @@ CpuArchWakeFromSleep (
{
// Sending SGI to the specified secondary CPU interfaces
// TODO: This is essentially reverse engineering to correlate the CPU index with the MPIDRs...
ArmGicSendSgiTo (PcdGet64 (PcdGicDistributorBase), ARM_GIC_ICDSGIR_FILTER_TARGETLIST, mCpuInfo[CpuIndex].Mpidr, PcdGet32 (PcdGicSgiIntId));
ArmGicSendSgiToEx (PcdGet64 (PcdGicDistributorBase), ARM_GIC_ICDSGIR_FILTER_TARGETLIST, mCpuInfo[CpuIndex].Mpidr, PcdGet32 (PcdGicSgiIntId));
}

VOID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
ArmSmcLib
HobLib
ArmGenericTimerCounterLib
MuArmGicExLib

[FixedPcd.AARCH64]
gArmTokenSpaceGuid.PcdGicDistributorBase
Expand Down

0 comments on commit 839ec18

Please sign in to comment.