Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SmmCpuSyncLib to the mm supervisor core #257

Merged
merged 5 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion MmSupervisorPkg/Core/MmSupervisorCore.inf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
##

#Override : 00000002 | StandaloneMmPkg/Core/StandaloneMmCore.inf | c76826a5d7096269b15df7c68bf217dd | 2024-01-31T14-26-14 | 75cc3bfa5fecce1f750cbecc2da58c09519a3323
#Override : 00000002 | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 8b6b7f9000bbd3471ec17af24b35da63 | 2023-12-19T02-31-43 | 17ac308848f9bb64468030b5a8b5a78fe41e038f
#Override : 00000002 | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 5fbbc4f5ceefb10461111fdc474f3e06 | 2024-03-22T21-22-33 | 884e5da43136e0d56863ccb1c842fa74f10088ce
#Override : 00000002 | MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf | e9d4a69133813bbea71f4035493b26f6 | 2023-12-14T22-58-18 | 78db5a7c3d55d1389373187973bf2936f4bbe5fa

[Defines]
Expand Down Expand Up @@ -147,6 +147,7 @@
PerformanceLib
CpuPageTableLib
MmSaveStateLib
SmmCpuSyncLib

[Protocols]
gEfiMmEndOfDxeProtocolGuid ## PRODUCES
Expand Down
2 changes: 0 additions & 2 deletions MmSupervisorPkg/Core/Relocate/Relocate.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ SmmRelocationSemaphoreComplete (
/// All global semaphores' pointer
///
typedef struct {
volatile UINT32 *Counter;
volatile BOOLEAN *InsideSmm;
volatile BOOLEAN *AllCpusInSync;
SPIN_LOCK *PFLock;
Expand All @@ -243,7 +242,6 @@ typedef struct {
///
typedef struct {
SPIN_LOCK *Busy;
volatile UINT32 *Run;
volatile BOOLEAN *Present;
SPIN_LOCK *Token;
} SMM_CPU_SEMAPHORE_CPU;
Expand Down
Loading
Loading