public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdeModulePkg: Add EFI_GCD_MEMORY_SPACE_NOTIFY_PROTOCOL
@ 2017-04-12 18:56 Leo Duran
  2017-04-12 18:56 ` Leo Duran
  0 siblings, 1 reply; 13+ messages in thread
From: Leo Duran @ 2017-04-12 18:56 UTC (permalink / raw)
  To: edk2-devel; +Cc: Leo Duran

GCD consumes the protocol to issue a Notify() on Add/Remove operations.
    
The intended use-case is to allow OvmfPkg take actions on behalf of an
SEV-enabled guest.
    
The new protocol is simply added to the list of optional protocols handled
by DxeMain, and as such leverages the existing DxeProtocolNotify framework.

I will follow this patch with "proof-of-concept" OvmfPkg driver that
installs the protocol to take pertinent actions based on GCD notifications.

Leo Duran (1):
  MdeModulePkg: Add EFI_GCD_MEMORY_SPACE_NOTIFY_PROTOCOL

 MdeModulePkg/Core/Dxe/DxeMain.h                    | 10 +++-
 MdeModulePkg/Core/Dxe/DxeMain.inf                  |  4 ++
 MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c            |  7 +++
 MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c  |  9 ++-
 MdeModulePkg/Core/Dxe/Gcd/Gcd.c                    |  8 +++
 .../Include/Protocol/GcdMemorySpaceNotify.h        | 65 ++++++++++++++++++++++
 MdeModulePkg/MdeModulePkg.dec                      |  3 +
 7 files changed, 100 insertions(+), 6 deletions(-)
 create mode 100644 MdeModulePkg/Include/Protocol/GcdMemorySpaceNotify.h

-- 
2.7.4



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-04-14 14:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-12 18:56 [PATCH] MdeModulePkg: Add EFI_GCD_MEMORY_SPACE_NOTIFY_PROTOCOL Leo Duran
2017-04-12 18:56 ` Leo Duran
2017-04-12 19:39   ` Kinney, Michael D
2017-04-12 20:32     ` Laszlo Ersek
2017-04-13  0:58       ` Kinney, Michael D
2017-04-13  2:13         ` Zeng, Star
2017-04-13  2:35           ` Duran, Leo
2017-04-13  2:40             ` Yao, Jiewen
2017-04-13  2:44               ` Duran, Leo
2017-04-13  3:05                 ` Yao, Jiewen
2017-04-14 14:10                   ` Duran, Leo
2017-04-13  2:27         ` Duran, Leo
2017-04-12 20:34     ` Duran, Leo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox