diff options
Diffstat (limited to 'MdeModulePkg/Universal/LockBox')
-rw-r--r-- | MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c b/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c index c1c9aa5663..a743129539 100644 --- a/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c +++ b/MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c @@ -77,10 +77,10 @@ SmmLockBoxSave ( return ;
}
//
- // The AsmLfence() call here is to ensure the above range check for the
- // CommBuffer have been completed before calling into SaveLockBox().
+ // The SpeculationBarrier() call here is to ensure the above range check for
+ // the CommBuffer have been completed before calling into SaveLockBox().
//
- AsmLfence ();
+ SpeculationBarrier ();
//
// Save data
@@ -166,10 +166,10 @@ SmmLockBoxUpdate ( return ;
}
//
- // The AsmLfence() call here is to ensure the above range check for the
- // CommBuffer have been completed before calling into UpdateLockBox().
+ // The SpeculationBarrier() call here is to ensure the above range check for
+ // the CommBuffer have been completed before calling into UpdateLockBox().
//
- AsmLfence ();
+ SpeculationBarrier ();
//
// Update data
|