Searched refs:gSmst (Results 1 - 21 of 21) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/
H A DSmmServicesTableLib.h24 extern EFI_SMM_SYSTEM_TABLE2 *gSmst;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/
H A DPiSmmCoreSmmServicesTableLib.c19 EFI_SMM_SYSTEM_TABLE2 *gSmst = NULL; variable
38 gSmst = &gSmmCoreSmst;
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmServicesTableLib/
H A DSmmServicesTableLib.c20 EFI_SMM_SYSTEM_TABLE2 *gSmst = NULL; variable
67 mInternalSmmBase2->GetSmstLocation (mInternalSmmBase2, &gSmst);
68 ASSERT (gSmst != NULL);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmIoLibSmmCpuIo2/
H A DIoLib.c43 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);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/
H A DStatusCodeHandlerSmm.c70 Status = gSmst->SmmLocateProtocol (
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmLockBoxLib/
H A DSmmLockBoxSmmLib.c48 for (Index = 0; Index < gSmst->NumberOfTableEntries; Index++) {
49 if (CompareGuid (&gSmst->SmmConfigurationTable[Index].VendorGuid, &gEfiSmmLockBoxCommunicationGuid)) {
54 return (SMM_LOCK_BOX_CONTEXT *)gSmst->SmmConfigurationTable[Index].VendorTable;
110 Status = gSmst->SmmInstallConfigurationTable (
111 gSmst,
229 Status = gSmst->SmmAllocatePages (
244 Status = gSmst->SmmAllocatePool (
251 gSmst->SmmFreePages (SmramBuffer, EFI_SIZE_TO_PAGES (Length));
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/FaultTolerantWriteDxe/
H A DFaultTolerantWriteSmm.c84 return gSmst->SmmHandleProtocol (
111 Status = gSmst->SmmLocateProtocol (
150 Status = gSmst->SmmLocateHandle (
166 Status = gSmst->SmmLocateHandle (
414 Status = gSmst->SmmLocateProtocol (
434 Status = gSmst->SmmInstallProtocolInterface (
490 Status = gSmst->SmmRegisterProtocolNotify (
502 Status = gSmst->SmiHandlerRegister (SmmFaultTolerantWriteHandler, &gEfiSmmFaultTolerantWriteProtocolGuid, &FtwHandle);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmMemoryAllocationLib/
H A DMemoryAllocationLib.c164 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
266 // When Buffer is in SMRAM range, it should be allocated by gSmst->SmmAllocatePages() service.
267 // So, gSmst->SmmFreePages() service is used to free it.
269 Status = gSmst->SmmFreePages ((EFI_PHYSICAL_ADDRESS) (UINTN) Buffer, Pages);
331 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
341 Status = gSmst->SmmFreePages (Memory, UnalignedPages);
350 Status = gSmst->SmmFreePages (Memory, UnalignedPages);
357 Status = gSmst->SmmAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
479 // When Buffer is in SMRAM range, it should be allocated by gSmst->SmmAllocatePages() service.
480 // So, gSmst
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DVariableSmm.c139 Status = gSmst->SmmLocateProtocol (
169 return gSmst->SmmHandleProtocol (
208 Status = gSmst->SmmLocateHandle (
224 Status = gSmst->SmmLocateHandle (
546 Status = gSmst->SmmInstallProtocolInterface (
558 Status = gSmst->SmiHandlerRegister (SmmVariableHandler, &gEfiSmmVariableProtocolGuid, &VariableHandle);
575 Status = gSmst->SmmRegisterProtocolNotify (
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DVariableSmm.c139 Status = gSmst->SmmLocateProtocol (
169 return gSmst->SmmHandleProtocol (
208 Status = gSmst->SmmLocateHandle (
224 Status = gSmst->SmmLocateHandle (
554 Status = gSmst->SmmInstallProtocolInterface (
566 Status = gSmst->SmiHandlerRegister (SmmVariableHandler, &gEfiSmmVariableProtocolGuid, &VariableHandle);
583 Status = gSmst->SmmRegisterProtocolNotify (
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/
H A DReportStatusCodeRouterSmm.c219 Status = gSmst->SmmInstallProtocolInterface (
230 Status = gSmst->SmmInstallProtocolInterface (
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/
H A DFirmwarePerformanceSmm.c305 Status = gSmst->SmmLocateProtocol (
328 Status = gSmst->SmmAllocatePool (
344 Status = gSmst->SmiHandlerRegister (FpdtSmiHandler, &gEfiFirmwarePerformanceGuid, &Handle);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/LockBox/SmmLockBox/
H A DSmmLockBox.c336 Status = gSmst->SmmAllocatePool (
351 Status = gSmst->SmiHandlerRegister (
361 Status = gSmst->SmmRegisterProtocolNotify (
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmPeriodicSmiLib/
H A DSmmPeriodicSmiLib.c819 (PeriodicSmiLibraryHandler->Cpu == gSmst->CurrentlyExecutingCpu) ) {
837 Status = gSmst->SmmStartupThisAp (
943 if (Cpu != PERIODIC_SMI_LIBRARY_ANY_CPU && Cpu >= gSmst->NumberOfCpus) {
1084 Status = gSmst->SmmLocateProtocol (
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmPerformanceLib/
H A DSmmPerformanceLib.c80 Status = gSmst->SmmLocateProtocol (&gSmmPerformanceExProtocolGuid, NULL, (VOID **) &PerformanceEx);
90 Status = gSmst->SmmLocateProtocol (&gSmmPerformanceProtocolGuid, NULL, (VOID **) &Performance);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Tcg/TcgSmm/
H A DTcgSmm.c351 Status = gSmst->SmmLocateProtocol (&gEfiSmmSwDispatch2ProtocolGuid, NULL, (VOID**)&SwDispatch);
372 Status = gSmst->SmmLocateProtocol (&gEfiSmmVariableProtocolGuid, NULL, (VOID**)&mSmmVariable);
/vbox/src/VBox/Devices/EFI/Firmware/UefiCpuPkg/CpuIo2Smm/
H A DCpuIo2Smm.c399 CopyMem (&gSmst->SmmIo, &mSmmCpuIo2, sizeof (mSmmCpuIo2));
404 Status = gSmst->SmmInstallProtocolInterface (
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmCorePerformanceLib/
H A DSmmCorePerformanceLib.c677 Status = gSmst->SmmAllocatePool (
692 Status = gSmst->SmmInstallProtocolInterface (
700 Status = gSmst->SmmInstallProtocolInterface (
712 Status = gSmst->SmiHandlerRegister (SmmPerformanceHandler, &gSmmPerformanceProtocolGuid, &Handle);
714 Status = gSmst->SmiHandlerRegister (SmmPerformanceHandlerEx, &gSmmPerformanceExProtocolGuid, &Handle);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmReportStatusCodeLib/
H A DReportStatusCodeLib.c45 Status = gSmst->SmmLocateProtocol (&gEfiSmmStatusCodeProtocolGuid, NULL, (VOID**)&mStatusCodeProtocol);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmPciLibPciRootBridgeIo/
H A DPciLib.c70 Status = gSmst->SmmLocateProtocol (&gEfiSmmPciRootBridgeIoProtocolGuid, NULL, (VOID**) &mSmmPciRootBridgeIo);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/SmmS3SaveState/
H A DSmmS3SaveState.c894 return gSmst->SmmInstallProtocolInterface (

Completed in 233 milliseconds