Home
last modified time | relevance | path

Searched refs:SmmAccess (Results 1 – 25 of 36) sorted by relevance

12

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/
DSmmAccessPei.c32 SmmAccess, \
42 PEI_SMM_ACCESS_PPI SmmAccess; member
85 SMM_ACCESS_PRIVATE_DATA *SmmAccess; in Open() local
87 SmmAccess = SMM_ACCESS_PRIVATE_DATA_FROM_THIS (This); in Open()
89 if (DescriptorIndex >= SmmAccess->NumberRegions) { in Open()
91 } else if (SmmAccess->SmramDesc[DescriptorIndex].RegionState & EFI_SMRAM_LOCKED) { in Open()
99 SmmAccess->SmramDesc[DescriptorIndex].RegionState |= EFI_SMRAM_LOCKED; in Open()
103 SmmAccess->SmramDesc[DescriptorIndex].RegionState &= ~(EFI_SMRAM_CLOSED | EFI_ALLOCATED); in Open()
104 SmmAccess->SmramDesc[DescriptorIndex].RegionState |= EFI_SMRAM_OPEN; in Open()
105 SmmAccess->SmmAccess.OpenState = TRUE; in Open()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/
DSmmAccessDriver.c111 mSmmAccess.SmmAccess.Open = Open; in SmmAccessDriverEntryPoint()
112 mSmmAccess.SmmAccess.Close = Close; in SmmAccessDriverEntryPoint()
113 mSmmAccess.SmmAccess.Lock = Lock; in SmmAccessDriverEntryPoint()
114 mSmmAccess.SmmAccess.GetCapabilities = GetCapabilities; in SmmAccessDriverEntryPoint()
115 mSmmAccess.SmmAccess.LockState = FALSE; in SmmAccessDriverEntryPoint()
116 mSmmAccess.SmmAccess.OpenState = FALSE; in SmmAccessDriverEntryPoint()
125 &mSmmAccess.SmmAccess, in SmmAccessDriverEntryPoint()
178 SMM_ACCESS_PRIVATE_DATA *SmmAccess; in Open() local
180 SmmAccess = SMM_ACCESS_PRIVATE_DATA_FROM_THIS (This); in Open()
199 SmmAccess->SmmAccess.OpenState = TRUE; in Open()
[all …]
DSmmAccessDriver.h61 EFI_SMM_ACCESS2_PROTOCOL SmmAccess; member
77 SmmAccess, \
DSmmAccess.inf2 # Component description file for SmmAccess module
19 BASE_NAME = SmmAccess
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCommunication/
DPiSmmCommunicationPei.c293 PEI_SMM_ACCESS_PPI *SmmAccess; in Communicate() local
321 (VOID **)&SmmAccess in Communicate()
330 if (!SmmAccess->LockState) { in Communicate()
331 DEBUG ((EFI_D_INFO, "PiSmmCommunicationPei LockState - %x\n", (UINTN)SmmAccess->LockState)); in Communicate()
386 PEI_SMM_ACCESS_PPI *SmmAccess; in PiSmmCommunicationPeiEntryPoint() local
399 (VOID **)&SmmAccess in PiSmmCommunicationPeiEntryPoint()
408 if (SmmAccess->LockState) { in PiSmmCommunicationPeiEntryPoint()
409 DEBUG ((EFI_D_INFO, "PiSmmCommunicationPei LockState - %x\n", (UINTN)SmmAccess->LockState)); in PiSmmCommunicationPeiEntryPoint()
417 Status = SmmAccess->Open ((EFI_PEI_SERVICES **)GetPeiServicesTablePointer (), SmmAccess, Index); in PiSmmCommunicationPeiEntryPoint()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmLockBoxLib/
DSmmLockBoxPeiLib.c252 PEI_SMM_ACCESS_PPI *SmmAccess; in InternalRestoreLockBoxFromSmram() local
267 (VOID **)&SmmAccess in InternalRestoreLockBoxFromSmram()
271 … Status = SmmAccess->Open ((EFI_PEI_SERVICES **)GetPeiServicesTablePointer (), SmmAccess, Index); in InternalRestoreLockBoxFromSmram()
353 PEI_SMM_ACCESS_PPI *SmmAccess; in InternalRestoreAllLockBoxInPlaceFromSmram() local
368 (VOID **)&SmmAccess in InternalRestoreAllLockBoxInPlaceFromSmram()
372 … Status = SmmAccess->Open ((EFI_PEI_SERVICES **)GetPeiServicesTablePointer (), SmmAccess, Index); in InternalRestoreAllLockBoxInPlaceFromSmram()
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/
DSmmMemLib.c460 EFI_SMM_ACCESS2_PROTOCOL *SmmAccess; in SmmMemLibConstructor() local
466 Status = gBS->LocateProtocol (&gEfiSmmAccess2ProtocolGuid, NULL, (VOID **)&SmmAccess); in SmmMemLibConstructor()
470 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, NULL); in SmmMemLibConstructor()
476 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, mSmmMemLibInternalSmramRanges); in SmmMemLibConstructor()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/
DEdkFrameworkProtocolLib.inf91 SmmAccess/SmmAccess.h
92 SmmAccess/SmmAccess.c
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/
DMemoryAllocationLib.c60 EFI_SMM_ACCESS2_PROTOCOL *SmmAccess; in SmmMemoryAllocationLibConstructor() local
69 (VOID **)&SmmAccess in SmmMemoryAllocationLibConstructor()
77 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, NULL); in SmmMemoryAllocationLibConstructor()
83 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, mSmramRanges); in SmmMemoryAllocationLibConstructor()
/device/linaro/bootloader/edk2/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/
DS3Resume.c769 PEI_SMM_ACCESS_PPI *SmmAccess; in S3ResumeExecuteBootScript() local
801 (VOID **) &SmmAccess in S3ResumeExecuteBootScript()
807 … Status = SmmAccess->Close ((EFI_PEI_SERVICES **)GetPeiServicesTablePointer (), SmmAccess, Index); in S3ResumeExecuteBootScript()
813 … Status = SmmAccess->Lock ((EFI_PEI_SERVICES **)GetPeiServicesTablePointer (), SmmAccess, Index); in S3ResumeExecuteBootScript()
963 PEI_SMM_ACCESS_PPI *SmmAccess; in S3RestoreConfig2() local
1060 (VOID **) &SmmAccess in S3RestoreConfig2()
1063 … Status = SmmAccess->Open ((EFI_PEI_SERVICES **)GetPeiServicesTablePointer (), SmmAccess, Index); in S3RestoreConfig2()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/SmmAccess/
DSmmAccess.c26 #include EFI_PROTOCOL_DEFINITION (SmmAccess)
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/
DMemoryAllocationLib.c62 EFI_SMM_ACCESS2_PROTOCOL *SmmAccess; in SmmMemoryAllocationLibConstructor() local
71 (VOID **)&SmmAccess in SmmMemoryAllocationLibConstructor()
79 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, NULL); in SmmMemoryAllocationLibConstructor()
85 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, mSmramRanges); in SmmMemoryAllocationLibConstructor()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/
DIohInitDxe.inf5 # PciHostBridge, PciExpress, SmmAccess driver and LegacyRegion driver.
10 # 3. Initialize the SmmAccess module and install EFI_SMM_ACCESS_PROTOCOL
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/
DQNCInitDxe.inf5 # PciHostBridge, PciExpress, SmmAccess driver and LegacyRegion driver.
10 # 3. Initialize the SmmAccess module and install EFI_SMM_ACCESS_PROTOCOL
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c36 EFI_SMM_ACCESS2_PROTOCOL *SmmAccess; in InstallReadyToLock() local
60 Status = gBS->LocateProtocol (&gEfiSmmAccess2ProtocolGuid, NULL, (VOID **) &SmmAccess); in InstallReadyToLock()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DPiSmmCpuDxeSmm.c958 EFI_SMM_ACCESS2_PROTOCOL *SmmAccess; in FindSmramInfo() local
969 Status = gBS->LocateProtocol (&gEfiSmmAccess2ProtocolGuid, NULL, (VOID **)&SmmAccess); in FindSmramInfo()
976 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, NULL); in FindSmramInfo()
982 Status = SmmAccess->GetCapabilities (SmmAccess, &Size, SmramRanges); in FindSmramInfo()
/device/linaro/bootloader/edk2/OvmfPkg/SmmControl2Dxe/
DSmmControl2Dxe.inf7 # (responsible: OvmfPkg/SmmAccess/SmmAccessPei.inf)
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/
DI2cLib.inf5 # PciHostBridge, PciExpress, SmmAccess driver and LegacyRegion driver.
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/
DEdkIIGlueDxe.h195 #include EFI_PROTOCOL_DEFINITION (SmmAccess)
/device/linaro/bootloader/edk2/OvmfPkg/
DOvmfPkgX64.fdf164 INF OvmfPkg/SmmAccess/SmmAccessPei.inf
355 INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
DOvmfPkgIa32X64.fdf164 INF OvmfPkg/SmmAccess/SmmAccessPei.inf
355 INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
DOvmfPkgIa32.fdf164 INF OvmfPkg/SmmAccess/SmmAccessPei.inf
355 INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
/device/linaro/bootloader/edk2/IntelFrameworkPkg/
DIntelFrameworkPkg.dec136 ## Include/Protocol/SmmAccess.h
/device/linaro/bootloader/edk2/QuarkSocPkg/
DQuarkSocPkg.dsc241 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/SmmAccess.inf
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/PlatformBdsLib/
DBdsPlatform.c153 EFI_SMM_ACCESS2_PROTOCOL *SmmAccess; in InstallReadyToLock() local
162 (VOID **) &SmmAccess in InstallReadyToLock()

12