]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Renamed to match filename naming recommendations.
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Mar 2008 21:14:51 +0000 (21:14 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Mar 2008 21:14:51 +0000 (21:14 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4871 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIO/DiskIo.c [deleted file]
EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIO/DiskIo.h [deleted file]
EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIo/DiskIo.c [new file with mode: 0644]
EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIo/DiskIo.h [new file with mode: 0644]

diff --git a/EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIO/DiskIo.c b/EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIO/DiskIo.c
deleted file mode 100644 (file)
index 223ac64..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2004, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-Module Name:\r
-  \r
-    DiskIo.c\r
-\r
-Abstract:\r
-\r
-  Disk IO protocol as defined in the EFI 1.0 specification.\r
-\r
-  The Disk IO protocol is used to convert block oriented devices into byte\r
-  oriented devices. The Disk IO protocol is intended to layer on top of the\r
-  Block IO protocol.\r
\r
---*/\r
-\r
-#include "EfiSpec.h"\r
-#include EFI_PROTOCOL_DEFINITION (DiskIo)\r
-\r
-EFI_GUID  gEfiDiskIoProtocolGuid = EFI_DISK_IO_PROTOCOL_GUID;\r
-\r
-EFI_GUID_STRING(&gEfiDiskIoProtocolGuid, "DiskIo Protocol", "EFI 1.0 Disk IO Protocol");\r
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIO/DiskIo.h b/EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIO/DiskIo.h
deleted file mode 100644 (file)
index fee3034..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2004, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-Module Name:\r
-\r
-  DiskIo.h\r
-\r
-Abstract:\r
-\r
-  Disk IO protocol as defined in the EFI 1.0 specification.\r
-\r
-  The Disk IO protocol is used to convert block oriented devices into byte\r
-  oriented devices. The Disk IO protocol is intended to layer on top of the\r
-  Block IO protocol.\r
\r
---*/\r
-\r
-#ifndef __DISK_IO_H__\r
-#define __DISK_IO_H__\r
-\r
-#define EFI_DISK_IO_PROTOCOL_GUID \\r
-  { \\r
-    0xce345171, 0xba0b, 0x11d2, 0x8e, 0x4f, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b \\r
-  }\r
-\r
-EFI_FORWARD_DECLARATION (EFI_DISK_IO_PROTOCOL);\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_DISK_READ) (\r
-  IN EFI_DISK_IO_PROTOCOL         * This,\r
-  IN UINT32                       MediaId,\r
-  IN UINT64                       Offset,\r
-  IN UINTN                        BufferSize,\r
-  OUT VOID                        *Buffer\r
-  )\r
-/*++\r
-\r
-  Routine Description:\r
-    Read BufferSize bytes from Offset into Buffer.\r
-\r
-  Arguments:\r
-    This       - Protocol instance pointer.\r
-    MediaId    - Id of the media, changes every time the media is replaced.\r
-    Offset     - The starting byte offset to read from\r
-    BufferSize - Size of Buffer\r
-    Buffer     - Buffer containing read data\r
-\r
-  Returns:\r
-    EFI_SUCCESS           - The data was read correctly from the device.\r
-    EFI_DEVICE_ERROR      - The device reported an error while performing the read.\r
-    EFI_NO_MEDIA          - There is no media in the device.\r
-    EFI_MEDIA_CHNAGED     - The MediaId does not matched the current device.\r
-    EFI_INVALID_PARAMETER - The read request contains device addresses that are not \r
-                            valid for the device.\r
-\r
---*/\r
-;\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_DISK_WRITE) (\r
-  IN EFI_DISK_IO_PROTOCOL         * This,\r
-  IN UINT32                       MediaId,\r
-  IN UINT64                       Offset,\r
-  IN UINTN                        BufferSize,\r
-  IN VOID                         *Buffer\r
-  )\r
-/*++\r
-\r
-  Routine Description:\r
-    Read BufferSize bytes from Offset into Buffer.\r
-\r
-  Arguments:\r
-    This       - Protocol instance pointer.\r
-    MediaId    - Id of the media, changes every time the media is replaced. \r
-    Offset     - The starting byte offset to read from\r
-    BufferSize - Size of Buffer\r
-    Buffer     - Buffer containing read data\r
-\r
-  Returns:\r
-    EFI_SUCCESS           - The data was written correctly to the device.\r
-    EFI_WRITE_PROTECTED   - The device can not be written to.\r
-    EFI_DEVICE_ERROR      - The device reported an error while performing the write.\r
-    EFI_NO_MEDIA          - There is no media in the device.\r
-    EFI_MEDIA_CHNAGED     - The MediaId does not matched the current device.\r
-    EFI_INVALID_PARAMETER - The write request contains device addresses that are not \r
-                            valid for the device.\r
-\r
---*/\r
-;\r
-\r
-#define EFI_DISK_IO_PROTOCOL_REVISION 0x00010000\r
-\r
-typedef struct _EFI_DISK_IO_PROTOCOL {\r
-  UINT64          Revision;\r
-  EFI_DISK_READ   ReadDisk;\r
-  EFI_DISK_WRITE  WriteDisk;\r
-} EFI_DISK_IO_PROTOCOL;\r
-\r
-extern EFI_GUID gEfiDiskIoProtocolGuid;\r
-\r
-#endif\r
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIo/DiskIo.c b/EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIo/DiskIo.c
new file mode 100644 (file)
index 0000000..223ac64
--- /dev/null
@@ -0,0 +1,31 @@
+/*++\r
+\r
+Copyright (c) 2004, Intel Corporation                                                         \r
+All rights reserved. This program and the accompanying materials                          \r
+are licensed and made available under the terms and conditions of the BSD License         \r
+which accompanies this distribution.  The full text of the license may be found at        \r
+http://opensource.org/licenses/bsd-license.php                                            \r
+                                                                                          \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+Module Name:\r
+  \r
+    DiskIo.c\r
+\r
+Abstract:\r
+\r
+  Disk IO protocol as defined in the EFI 1.0 specification.\r
+\r
+  The Disk IO protocol is used to convert block oriented devices into byte\r
+  oriented devices. The Disk IO protocol is intended to layer on top of the\r
+  Block IO protocol.\r
\r
+--*/\r
+\r
+#include "EfiSpec.h"\r
+#include EFI_PROTOCOL_DEFINITION (DiskIo)\r
+\r
+EFI_GUID  gEfiDiskIoProtocolGuid = EFI_DISK_IO_PROTOCOL_GUID;\r
+\r
+EFI_GUID_STRING(&gEfiDiskIoProtocolGuid, "DiskIo Protocol", "EFI 1.0 Disk IO Protocol");\r
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIo/DiskIo.h b/EdkCompatibilityPkg/Foundation/Efi/Protocol/DiskIo/DiskIo.h
new file mode 100644 (file)
index 0000000..fee3034
--- /dev/null
@@ -0,0 +1,111 @@
+/*++\r
+\r
+Copyright (c) 2004, Intel Corporation                                                         \r
+All rights reserved. This program and the accompanying materials                          \r
+are licensed and made available under the terms and conditions of the BSD License         \r
+which accompanies this distribution.  The full text of the license may be found at        \r
+http://opensource.org/licenses/bsd-license.php                                            \r
+                                                                                          \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+Module Name:\r
+\r
+  DiskIo.h\r
+\r
+Abstract:\r
+\r
+  Disk IO protocol as defined in the EFI 1.0 specification.\r
+\r
+  The Disk IO protocol is used to convert block oriented devices into byte\r
+  oriented devices. The Disk IO protocol is intended to layer on top of the\r
+  Block IO protocol.\r
\r
+--*/\r
+\r
+#ifndef __DISK_IO_H__\r
+#define __DISK_IO_H__\r
+\r
+#define EFI_DISK_IO_PROTOCOL_GUID \\r
+  { \\r
+    0xce345171, 0xba0b, 0x11d2, 0x8e, 0x4f, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b \\r
+  }\r
+\r
+EFI_FORWARD_DECLARATION (EFI_DISK_IO_PROTOCOL);\r
+\r
+typedef\r
+EFI_STATUS\r
+(EFIAPI *EFI_DISK_READ) (\r
+  IN EFI_DISK_IO_PROTOCOL         * This,\r
+  IN UINT32                       MediaId,\r
+  IN UINT64                       Offset,\r
+  IN UINTN                        BufferSize,\r
+  OUT VOID                        *Buffer\r
+  )\r
+/*++\r
+\r
+  Routine Description:\r
+    Read BufferSize bytes from Offset into Buffer.\r
+\r
+  Arguments:\r
+    This       - Protocol instance pointer.\r
+    MediaId    - Id of the media, changes every time the media is replaced.\r
+    Offset     - The starting byte offset to read from\r
+    BufferSize - Size of Buffer\r
+    Buffer     - Buffer containing read data\r
+\r
+  Returns:\r
+    EFI_SUCCESS           - The data was read correctly from the device.\r
+    EFI_DEVICE_ERROR      - The device reported an error while performing the read.\r
+    EFI_NO_MEDIA          - There is no media in the device.\r
+    EFI_MEDIA_CHNAGED     - The MediaId does not matched the current device.\r
+    EFI_INVALID_PARAMETER - The read request contains device addresses that are not \r
+                            valid for the device.\r
+\r
+--*/\r
+;\r
+\r
+typedef\r
+EFI_STATUS\r
+(EFIAPI *EFI_DISK_WRITE) (\r
+  IN EFI_DISK_IO_PROTOCOL         * This,\r
+  IN UINT32                       MediaId,\r
+  IN UINT64                       Offset,\r
+  IN UINTN                        BufferSize,\r
+  IN VOID                         *Buffer\r
+  )\r
+/*++\r
+\r
+  Routine Description:\r
+    Read BufferSize bytes from Offset into Buffer.\r
+\r
+  Arguments:\r
+    This       - Protocol instance pointer.\r
+    MediaId    - Id of the media, changes every time the media is replaced. \r
+    Offset     - The starting byte offset to read from\r
+    BufferSize - Size of Buffer\r
+    Buffer     - Buffer containing read data\r
+\r
+  Returns:\r
+    EFI_SUCCESS           - The data was written correctly to the device.\r
+    EFI_WRITE_PROTECTED   - The device can not be written to.\r
+    EFI_DEVICE_ERROR      - The device reported an error while performing the write.\r
+    EFI_NO_MEDIA          - There is no media in the device.\r
+    EFI_MEDIA_CHNAGED     - The MediaId does not matched the current device.\r
+    EFI_INVALID_PARAMETER - The write request contains device addresses that are not \r
+                            valid for the device.\r
+\r
+--*/\r
+;\r
+\r
+#define EFI_DISK_IO_PROTOCOL_REVISION 0x00010000\r
+\r
+typedef struct _EFI_DISK_IO_PROTOCOL {\r
+  UINT64          Revision;\r
+  EFI_DISK_READ   ReadDisk;\r
+  EFI_DISK_WRITE  WriteDisk;\r
+} EFI_DISK_IO_PROTOCOL;\r
+\r
+extern EFI_GUID gEfiDiskIoProtocolGuid;\r
+\r
+#endif\r