Home
last modified time | relevance | path

Searched refs:SwContext (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmmSwDispatch2OnSmmSwDispatchThunk/
DSmmSwDispatch2OnSmmSwDispatchThunk.c202 EFI_SMM_SW_CONTEXT SwContext; in FrameworkDispatchFunction()
221 Size = sizeof(SwContext); in FrameworkDispatchFunction()
222 SwContext.CommandPort = IoRead8 (mSmiTriggerRegister); in FrameworkDispatchFunction()
223 SwContext.DataPort = IoRead8 (mSmiDataRegister); in FrameworkDispatchFunction()
228 SwContext.SwSmiCpuIndex = 0; in FrameworkDispatchFunction()
244 SwContext.SwSmiCpuIndex = Index; in FrameworkDispatchFunction()
256 &SwContext, in FrameworkDispatchFunction()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgSmm/
DTcgSmm.c425 EFI_SMM_SW_REGISTER_CONTEXT SwContext; in InitializeTcgSmm() local
441 SwContext.SwSmiInputValue = (UINTN) -1; in InitializeTcgSmm()
442 Status = SwDispatch->Register (SwDispatch, PhysicalPresenceCallback, &SwContext, &SwHandle); in InitializeTcgSmm()
447 mTcgNvs->PhysicalPresence.SoftwareSmi = (UINT8) SwContext.SwSmiInputValue; in InitializeTcgSmm()
449 SwContext.SwSmiInputValue = (UINTN) -1; in InitializeTcgSmm()
450 Status = SwDispatch->Register (SwDispatch, MemoryClearCallback, &SwContext, &SwHandle); in InitializeTcgSmm()
455 mTcgNvs->MemoryClear.SoftwareSmi = (UINT8) SwContext.SwSmiInputValue; in InitializeTcgSmm()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEESmm/
DTrEESmm.c474 EFI_SMM_SW_REGISTER_CONTEXT SwContext; in InitializeTcgSmm() local
490 SwContext.SwSmiInputValue = (UINTN) -1; in InitializeTcgSmm()
491 Status = SwDispatch->Register (SwDispatch, PhysicalPresenceCallback, &SwContext, &SwHandle); in InitializeTcgSmm()
496 mTcgNvs->PhysicalPresence.SoftwareSmi = (UINT8) SwContext.SwSmiInputValue; in InitializeTcgSmm()
498 SwContext.SwSmiInputValue = (UINTN) -1; in InitializeTcgSmm()
499 Status = SwDispatch->Register (SwDispatch, MemoryClearCallback, &SwContext, &SwHandle); in InitializeTcgSmm()
504 mTcgNvs->MemoryClear.SoftwareSmi = (UINT8) SwContext.SwSmiInputValue; in InitializeTcgSmm()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/
DTcg2Smm.c582 EFI_SMM_SW_REGISTER_CONTEXT SwContext; in InitializeTcgSmm() local
598 SwContext.SwSmiInputValue = (UINTN) -1; in InitializeTcgSmm()
599 Status = SwDispatch->Register (SwDispatch, PhysicalPresenceCallback, &SwContext, &SwHandle); in InitializeTcgSmm()
604 mTcgNvs->PhysicalPresence.SoftwareSmi = (UINT8) SwContext.SwSmiInputValue; in InitializeTcgSmm()
606 SwContext.SwSmiInputValue = (UINTN) -1; in InitializeTcgSmm()
607 Status = SwDispatch->Register (SwDispatch, MemoryClearCallback, &SwContext, &SwHandle); in InitializeTcgSmm()
612 mTcgNvs->MemoryClear.SoftwareSmi = (UINT8) SwContext.SwSmiInputValue; in InitializeTcgSmm()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DPlatform.c151 EFI_SMM_SW_DISPATCH_CONTEXT SwContext; in InitializePlatformSmm()
300 SwContext.SwSmiInputValue = ACPI_ENABLE; in InitializePlatformSmm()
304 &SwContext, in InitializePlatformSmm()
312 SwContext.SwSmiInputValue = ACPI_DISABLE; in InitializePlatformSmm()
316 &SwContext, in InitializePlatformSmm()
325 SwContext.SwSmiInputValue = SMI_SET_SMMVARIABLE_PROTOCOL; in InitializePlatformSmm()
329 &SwContext, in InitializePlatformSmm()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/
DAcpiSmmPlatform.c376 EFI_SMM_SW_REGISTER_CONTEXT *SwContext; in RegisterToDispatchDriver() local
415 SwContext = (EFI_SMM_SW_REGISTER_CONTEXT *)EntryDispatchContext; in RegisterToDispatchDriver()
416 AcpiDisableSwContext = SwContext++; in RegisterToDispatchDriver()
417 AcpiEnableSwContext = SwContext++; in RegisterToDispatchDriver()