]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/MptScsiDxe: Reset device on ExitBootServices()
authorNikita Leshenko <nikita.leshchenko@oracle.com>
Mon, 4 May 2020 21:06:07 +0000 (00:06 +0300)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 5 May 2020 20:43:02 +0000 (20:43 +0000)
commitc635a56384bfc4fdf3e00d102ea0eb7aa8d840fd
tree4e211794eb11ad3d0856eabacb7bf32471fd7358
parent505812ae1d2d1d3efa5d9c622d87a990918442ee
OvmfPkg/MptScsiDxe: Reset device on ExitBootServices()

This causes the device to forget about the reply frame. We allocated the
reply frame in EfiBootServicesData type memory, and code executing after
ExitBootServices() is permitted to overwrite it.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2390
Signed-off-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200504210607.144434-13-nikita.leshchenko@oracle.com>
OvmfPkg/MptScsiDxe/MptScsi.c