]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/LsiScsiDxe: Examine the incoming SCSI Request Packet
authorGary Lin <glin@suse.com>
Fri, 17 Jul 2020 06:11:28 +0000 (14:11 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 17 Jul 2020 20:51:55 +0000 (20:51 +0000)
commit97e60818b64495db562dc456a1fb31980898f4c3
tree1fded5c5af1a103ecfff33e8da75cc8a36e08c21
parentf1d6c1eba1b76e57568c8d7c947f60041939f1f9
OvmfPkg/LsiScsiDxe: Examine the incoming SCSI Request Packet

This is the first part of LsiScsiPassThru(). Before processing the SCSI
Request packet, we have to make sure whether the packet is valid or not.

v2: Make LsiScsiPassThru() return EFI_UNSUPPORTED since this function is
    half-implemented

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200717061130.8881-10-glin@suse.com>
OvmfPkg/LsiScsiDxe/LsiScsi.c
OvmfPkg/LsiScsiDxe/LsiScsi.h