From 99ea19948a9df7425169dd899fb0c8eaafefaa00 Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 17 Mar 2008 21:49:39 +0000 Subject: Renamed to match filename naming recommendations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4897 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Foundation/Protocol/UsbAtapi/UsbAtapi.h | 83 ++++++++++++++++++++++ .../Foundation/Protocol/UsbAtapi/usbatapi.h | 83 ---------------------- 2 files changed, 83 insertions(+), 83 deletions(-) create mode 100644 EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h delete mode 100644 EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/usbatapi.h diff --git a/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h b/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h new file mode 100644 index 0000000000..3fdc76e1d5 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h @@ -0,0 +1,83 @@ +/*++ + +Copyright (c) 2004, 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 +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + UsbAtapi.h + +Abstract: + + EFI Atapi Protocol definition. + +Revision History + +--*/ + +#ifndef _EFI_USB_ATAPI_H +#define _EFI_USB_ATAPI_H + +// +// Transfer protocol types +// +#define BOT 0x50 +#define CBI0 0x00 +#define CBI1 0x01 + +// +// SubClass Code (defines command set) +// +#define EFI_USB_SUBCLASS_RBC 0x01 +#define EFI_USB_SUBCLASS_ATAPI 0x02 +#define EFI_USB_SUBCLASS_QIC_157 0x03 +#define EFI_USB_SUBCLASS_UFI 0x04 +#define EFI_USB_SUBCLASS_SFF_8070i 0x05 +#define EFI_USB_SUBCLASS_SCSI 0x06 +#define EFI_USB_SUBCLASS_RESERVED_LOW 0x07 +#define EFI_USB_SUBCLASS_RESERVED_HIGH 0xff +// +// Global GUID for transfer protocol interface +// +#define EFI_USB_ATAPI_PROTOCOL_GUID \ + { 0x2B2F68DA, 0x0CD2, 0x44cf, 0x8E, 0x8B, 0xBB, 0xA2, 0x0B, 0x1B, 0x5B, 0x75 } + +EFI_FORWARD_DECLARATION (EFI_USB_ATAPI_PROTOCOL); + +typedef +EFI_STATUS +(EFIAPI *EFI_USB_ATAPI_PACKET_CMD) ( + IN EFI_USB_ATAPI_PROTOCOL *This, + IN VOID *Command, + IN UINT8 CommandSize, + IN VOID *DataBuffer, + IN UINT32 BufferLength, + IN EFI_USB_DATA_DIRECTION Direction, + IN UINT16 TimeOutInMilliSeconds +); + +typedef +EFI_STATUS +(EFIAPI *EFI_USB_MASS_STORAGE_RESET) ( + IN EFI_USB_ATAPI_PROTOCOL *This, + IN BOOLEAN ExtendedVerification +); + +// +// Protocol Interface Structure +// +typedef struct _EFI_USB_ATAPI_PROTOCOL { + EFI_USB_ATAPI_PACKET_CMD UsbAtapiPacketCmd; + EFI_USB_MASS_STORAGE_RESET UsbAtapiReset; + UINT32 CommandProtocol; +} EFI_USB_ATAPI_PROTOCOL; + +extern EFI_GUID gEfiUsbAtapiProtocolGuid; + +#endif diff --git a/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/usbatapi.h b/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/usbatapi.h deleted file mode 100644 index 3fdc76e1d5..0000000000 --- a/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/usbatapi.h +++ /dev/null @@ -1,83 +0,0 @@ -/*++ - -Copyright (c) 2004, 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 -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -Module Name: - - UsbAtapi.h - -Abstract: - - EFI Atapi Protocol definition. - -Revision History - ---*/ - -#ifndef _EFI_USB_ATAPI_H -#define _EFI_USB_ATAPI_H - -// -// Transfer protocol types -// -#define BOT 0x50 -#define CBI0 0x00 -#define CBI1 0x01 - -// -// SubClass Code (defines command set) -// -#define EFI_USB_SUBCLASS_RBC 0x01 -#define EFI_USB_SUBCLASS_ATAPI 0x02 -#define EFI_USB_SUBCLASS_QIC_157 0x03 -#define EFI_USB_SUBCLASS_UFI 0x04 -#define EFI_USB_SUBCLASS_SFF_8070i 0x05 -#define EFI_USB_SUBCLASS_SCSI 0x06 -#define EFI_USB_SUBCLASS_RESERVED_LOW 0x07 -#define EFI_USB_SUBCLASS_RESERVED_HIGH 0xff -// -// Global GUID for transfer protocol interface -// -#define EFI_USB_ATAPI_PROTOCOL_GUID \ - { 0x2B2F68DA, 0x0CD2, 0x44cf, 0x8E, 0x8B, 0xBB, 0xA2, 0x0B, 0x1B, 0x5B, 0x75 } - -EFI_FORWARD_DECLARATION (EFI_USB_ATAPI_PROTOCOL); - -typedef -EFI_STATUS -(EFIAPI *EFI_USB_ATAPI_PACKET_CMD) ( - IN EFI_USB_ATAPI_PROTOCOL *This, - IN VOID *Command, - IN UINT8 CommandSize, - IN VOID *DataBuffer, - IN UINT32 BufferLength, - IN EFI_USB_DATA_DIRECTION Direction, - IN UINT16 TimeOutInMilliSeconds -); - -typedef -EFI_STATUS -(EFIAPI *EFI_USB_MASS_STORAGE_RESET) ( - IN EFI_USB_ATAPI_PROTOCOL *This, - IN BOOLEAN ExtendedVerification -); - -// -// Protocol Interface Structure -// -typedef struct _EFI_USB_ATAPI_PROTOCOL { - EFI_USB_ATAPI_PACKET_CMD UsbAtapiPacketCmd; - EFI_USB_MASS_STORAGE_RESET UsbAtapiReset; - UINT32 CommandProtocol; -} EFI_USB_ATAPI_PROTOCOL; - -extern EFI_GUID gEfiUsbAtapiProtocolGuid; - -#endif -- cgit v1.2.3