/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
SmmServicesTableLib.h | 24 extern EFI_SMM_SYSTEM_TABLE2 *gSmst;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/ |
PiSmmCoreSmmServicesTableLib.c | 19 EFI_SMM_SYSTEM_TABLE2 *gSmst = NULL;
38 gSmst = &gSmmCoreSmst;
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmServicesTableLib/ |
SmmServicesTableLib.c | 20 EFI_SMM_SYSTEM_TABLE2 *gSmst = NULL;
58 InternalSmmBase2->GetSmstLocation (InternalSmmBase2, &gSmst);
59 ASSERT (gSmst != NULL);
|
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/ |
FwBlockServiceSmm.c | 44 Status = gSmst->SmmInstallProtocolInterface (
52 Status = gSmst->SmmInstallProtocolInterface (
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/StatusCodeHandler/Smm/ |
MemoryStatusCodeWorker.c | 24 @retval others Errors from gSmst->SmmInstallConfigurationTable().
40 Status = gSmst->SmmInstallConfigurationTable (
41 gSmst,
|
StatusCodeHandlerSmm.c | 70 Status = gSmst->SmmLocateProtocol (
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmIoLibSmmCpuIo2/ |
IoLib.c | 43 Status = gSmst->SmmIo.Io.Read (&gSmst->SmmIo, Width, Port, 1, &Data);
74 Status = gSmst->SmmIo.Io.Write (&gSmst->SmmIo, Width, Port, 1, &Data);
104 Status = gSmst->SmmIo.Mem.Read (&gSmst->SmmIo, Width, Address, 1, &Data);
135 Status = gSmst->SmmIo.Mem.Write (&gSmst->SmmIo, Width, Address, 1, &Data);
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Spi/Smm/ |
PchSpi.c | 59 Status = gSmst->SmmAllocatePool (
82 Status = gSmst->SmmInstallProtocolInterface (
89 gSmst->SmmFreePool (mSpiInstance);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk/ |
FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk.c | 52 Status = gSmst->SmmLocateProtocol (
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/ |
AcpiSmmPlatform.c | 380 Status = gSmst->SmmLocateProtocol (
389 Status = gSmst->SmmLocateProtocol (
399 Status = gSmst->SmmAllocatePool (
561 Status = GetAllQncPmBase (gSmst);
623 Status = GetAllQncPmBase (gSmst);
692 Status = GetAllQncPmBase (gSmst);
705 Status = gSmst->SmmIo.Io.Write( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_GPE0S, 1, &Data32 );
707 Status = gSmst->SmmIo.Io.Write( &gSmst->SmmIo, SMM_IO_UINT16, mAcpiSmm.QncPmBase + R_QNC_PM1BLK_PM1S, 1, &Data16 ); [all...] |
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/SmmPowerManagement/ |
SmmPowerManagement.c | 62 Status = gSmst->SmmLocateProtocol (
72 Status = gSmst->SmmLocateProtocol (
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/ |
QNCSmmSw.c | 73 Status = gSmst->SmmLocateProtocol (&gEfiSmmCpuProtocolGuid, NULL, (VOID **) &mSmmCpu);
81 for (Index = 0; Index < gSmst->NumberOfCpus; Index++) {
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/ |
TcgMorLockSmm.c | 134 Status = gSmst->SmmLocateProtocol (
141 Status = gSmst->SmmLocateProtocol (
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
FvbServiceSmm.c | 88 Status = gSmst->SmmInstallProtocolInterface (
96 Status = gSmst->SmmInstallProtocolInterface (
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmLockBoxLib/ |
SmmLockBoxSmmLib.c | 50 for (Index = 0; Index < gSmst->NumberOfTableEntries; Index++) {
51 if (CompareGuid (&gSmst->SmmConfigurationTable[Index].VendorGuid, &gEfiSmmLockBoxCommunicationGuid)) {
56 return (SMM_LOCK_BOX_CONTEXT *)gSmst->SmmConfigurationTable[Index].VendorTable;
112 Status = gSmst->SmmInstallConfigurationTable (
113 gSmst,
151 Status = gSmst->SmmInstallConfigurationTable (
152 gSmst,
268 Status = gSmst->SmmAllocatePages (
283 Status = gSmst->SmmAllocatePool (
290 gSmst->SmmFreePages (SmramBuffer, EFI_SIZE_TO_PAGES (Length)); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/ |
FaultTolerantWriteSmm.c | 94 return gSmst->SmmHandleProtocol (
121 Status = gSmst->SmmLocateProtocol (
160 Status = gSmst->SmmLocateHandle (
176 Status = gSmst->SmmLocateHandle (
527 Status = gSmst->SmmLocateProtocol (
547 Status = gSmst->SmmInstallProtocolInterface (
558 Status = gSmst->SmiHandlerRegister (SmmFaultTolerantWriteHandler, &gEfiSmmFaultTolerantWriteProtocolGuid, &SmmFtwHandle);
630 Status = gSmst->SmmRegisterProtocolNotify (
640 Status = gSmst->SmmRegisterProtocolNotify (
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/ |
MemoryAllocationLib.c | 165 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
267 // When Buffer is in SMRAM range, it should be allocated by gSmst->SmmAllocatePages() service.
268 // So, gSmst->SmmFreePages() service is used to free it.
270 Status = gSmst->SmmFreePages ((EFI_PHYSICAL_ADDRESS) (UINTN) Buffer, Pages);
333 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
343 Status = gSmst->SmmFreePages (Memory, UnalignedPages);
352 Status = gSmst->SmmFreePages (Memory, UnalignedPages);
359 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
484 // When Buffer is in SMRAM range, it should be allocated by gSmst->SmmAllocatePages() service.
485 // So, gSmst->SmmFreePages() service is used to free it. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmIpmiLibSmmIpmiProtocol/ |
SmmIpmiLibSmmIpmiProtocol.c | 55 Status = gSmst->SmmLocateProtocol (
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/ |
MemoryAllocationLib.c | 167 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
295 // When Buffer is in SMRAM range, it should be allocated by gSmst->SmmAllocatePages() service.
296 // So, gSmst->SmmFreePages() service is used to free it.
298 Status = gSmst->SmmFreePages ((EFI_PHYSICAL_ADDRESS) (UINTN) Buffer, Pages);
361 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
371 Status = gSmst->SmmFreePages (Memory, UnalignedPages);
380 Status = gSmst->SmmFreePages (Memory, UnalignedPages);
387 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
538 // When Buffer is in SMRAM range, it should be allocated by gSmst->SmmAllocatePages() service.
539 // So, gSmst->SmmFreePages() service is used to free it. [all...] |
SmmMemoryProfileLib.c | 70 Status = gSmst->SmmLocateProtocol (
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmmSwDispatch2OnSmmSwDispatchThunk/ |
SmmSwDispatch2OnSmmSwDispatchThunk.c | 229 for (Index = 0; Index < gSmst->NumberOfCpus; Index++) {
339 Status = gSmst->SmmAllocatePool (
390 gSmst->SmmFreePool (ThunkContext);
453 Status = gSmst->SmmLocateProtocol (
464 Status = gSmst->SmmInstallProtocolInterface (
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/ |
SmmBaseHelper.c | 184 State = (EFI_SMM_CPU_STATE *)gSmst->CpuSaveState[CpuIndex];
235 State = (EFI_SMM_CPU_STATE *)gSmst->CpuSaveState[CpuIndex];
538 Status = gSmst->SmmInstallConfigurationTable (gSmst, Guid, Table, TableSize);
540 mFrameworkSmst->NumberOfTableEntries = gSmst->NumberOfTableEntries;
541 mFrameworkSmst->SmmConfigurationTable = gSmst->SmmConfigurationTable;
627 CopyMem (FrameworkSmst, gSmst, (UINTN)(&((EFI_SMM_SYSTEM_TABLE *)0)->SmmIo));
630 &gSmst->SmmIo,
693 Status = gSmst->SmmAllocatePages (
724 mFrameworkSmst->SmmStartupThisAp = gSmst->SmmStartupThisAp; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ |
ReportStatusCodeRouterSmm.c | 219 Status = gSmst->SmmInstallProtocolInterface (
230 Status = gSmst->SmmInstallProtocolInterface (
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Smm/SmmScriptLib/ |
SmmScriptLib.c | 28 EFI_SMM_SYSTEM_TABLE2 *gSmst = NULL;
441 InternalSmmBase2->GetSmstLocation (InternalSmmBase2, &gSmst);
443 ASSERT (gSmst != NULL);
447 Status = gSmst->SmmLocateProtocol (
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCommunication/ |
PiSmmCommunicationSmm.c | 69 Status = gSmst->SmmInstallConfigurationTable (
70 gSmst,
131 Status = gSmst->SmiManage (
222 Status = gSmst->SmmLocateProtocol (
|