Code Scrub for Protocol and Ppi Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5564 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
/** @file
|
||||
EFI_SCSI_IO_PROTOCOL as defined in UEFI 2.0.
|
||||
This protocol is used by code, typically drivers, running in the EFI boot
|
||||
services environment to access SCSI devices. In particular, functions for
|
||||
managing devices on SCSI buses are defined here.
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
Copyright (c) 2006 - 2008, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -217,6 +220,34 @@ EFI_STATUS
|
||||
)
|
||||
;
|
||||
|
||||
/**
|
||||
@par Protocol Description:
|
||||
Provides services to manage and communicate with SCSI devices.
|
||||
|
||||
@param GetDeviceType
|
||||
Retrieves the information of the device type which the SCSI device belongs to.
|
||||
|
||||
@param GetDeviceLocation
|
||||
Retrieves the device location information in the SCSI bus.
|
||||
|
||||
@param ResetBus
|
||||
Resets the entire SCSI bus the SCSI device attaches to.
|
||||
|
||||
@param ResetDevice
|
||||
Resets the SCSI Device that is specified by the device handle the SCSI I/O
|
||||
protocol attaches.
|
||||
|
||||
@param ExecuteScsiCommand
|
||||
Sends a SCSI command to the SCSI device and waits for the execution completion
|
||||
until an exit condition is met, or a timeout occurs.
|
||||
|
||||
@param IoAlign
|
||||
Supplies the alignment requirement for any buffer used in a data transfer.
|
||||
IoAlign values of 0 and 1 mean that the buffer can be placed anywhere in memory.
|
||||
Otherwise, IoAlign must be a power of 2, and the requirement is that the
|
||||
start address of a buffer must be evenly divisible by IoAlign with no remainder.
|
||||
|
||||
**/
|
||||
struct _EFI_SCSI_IO_PROTOCOL {
|
||||
EFI_SCSI_IO_PROTOCOL_GET_DEVICE_TYPE GetDeviceType;
|
||||
EFI_SCSI_IO_PROTOCOL_GET_DEVICE_LOCATION GetDeviceLocation;
|
||||
|
Reference in New Issue
Block a user