public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Leo Duran <leo.duran@amd.com>
To: <edk2-devel@ml01.01.org>
Cc: Leo Duran <leo.duran@amd.com>
Subject: [PATCH] OvmfPkg/GcdNotifyDxe: Install EFI_GCD_MEMORY_SPACE_NOTIFY_PROTOCOL
Date: Wed, 12 Apr 2017 14:00:30 -0500	[thread overview]
Message-ID: <1492023631-16252-1-git-send-email-leo.duran@amd.com> (raw)

On entry, GcdNotifyDxe scans the GCD MemmorySpace map and produces this
protocol to get notifications from GCD on MemorySpace Add/Remove operations.

This patch illustrates how OvmfPkg could take actions on GCD notifications.
For example: updating the SEV mask on page-table entries for MMIO ranges.

This patch follows [PATCH] MdeModulePkg: Add EFI_GCD_MEMORY_SPACE_NOTIFY_PROTOCOL.

Leo Duran (1):
  OvmfPkg/GcdNotifyDxe: Install EFI_GCD_MEMORY_SPACE_NOTIFY_PROTOCOL

 OvmfPkg/GcdNotifyDxe/GcdNotifyDxe.c   | 148 ++++++++++++++++++++++++++++++++++
 OvmfPkg/GcdNotifyDxe/GcdNotifyDxe.inf |  44 ++++++++++
 OvmfPkg/OvmfPkgIa32X64.dsc            |   2 +
 OvmfPkg/OvmfPkgIa32X64.fdf            |   3 +
 4 files changed, 197 insertions(+)
 create mode 100644 OvmfPkg/GcdNotifyDxe/GcdNotifyDxe.c
 create mode 100644 OvmfPkg/GcdNotifyDxe/GcdNotifyDxe.inf

-- 
2.7.4



             reply	other threads:[~2017-04-12 19:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-12 19:00 Leo Duran [this message]
2017-04-12 19:00 ` [PATCH] OvmfPkg/GcdNotifyDxe: Install EFI_GCD_MEMORY_SPACE_NOTIFY_PROTOCOL Leo Duran
2017-04-12 20:21   ` Laszlo Ersek
2017-04-12 20:26     ` Duran, Leo
2017-04-12 20:34       ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1492023631-16252-1-git-send-email-leo.duran@amd.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox