diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-27 06:15:36 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-27 06:15:36 +0000 |
commit | d8a43975d902b901ecccc32cda1160c47c804bd8 (patch) | |
tree | 5c1a74fc56f435cdb0705cb7fc10c9fc679a36b0 /MdeModulePkg/Universal/Disk | |
parent | dcd8c7d649f12524ec1cadbb6d85a9e39dadce3a (diff) | |
download | edk2-platforms-d8a43975d902b901ecccc32cda1160c47c804bd8.tar.xz |
added PPI and Protocol definitions needed by porting modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2778 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Disk')
11 files changed, 56 insertions, 30 deletions
diff --git a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/ComponentName.c b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/ComponentName.c index bf95be158c..de4bb2e0ef 100644 --- a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/ComponentName.c +++ b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/ComponentName.c @@ -12,6 +12,11 @@ **/
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include "DiskIo.h"
//
diff --git a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.h b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.h index c1a572f846..5df48c61c5 100644 --- a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.h +++ b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.h @@ -16,6 +16,11 @@ #ifndef _DISK_IO_H
#define _DISK_IO_H
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include <Uefi.h>
#include <Protocol/BlockIo.h>
#include <Protocol/ComponentName.h>
diff --git a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.inf b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.inf index ad73679302..3030bda1dd 100644 --- a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.inf +++ b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.inf @@ -1,12 +1,13 @@ #/** @file
-# Component description file for DiskIo module.
+# Component description file for DiskIo module.
+#
+# DiskIo driver that layers it's self on every Block IO protocol in the system.
+# Copyright (c) 2006 - 2007, Intel Corporation
#
-# Copyright (c) 2006 - 2007, 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.
#
@@ -34,8 +35,8 @@ #
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
-# DRIVER_BINDING = gDiskIoDriverBinding
-# COMPONENT_NAME = gDiskIoComponentName
+# DRIVER_BINDING = gDiskIoDriverBinding
+# COMPONENT_NAME = gDiskIoComponentName
#
################################################################################
@@ -48,6 +49,8 @@ ComponentName.c
DiskIo.h
diskio.c
+ CommonHeader.h
+ EntryPoint.c
################################################################################
@@ -62,18 +65,6 @@ ################################################################################
#
-# Package Dependency Section - list of Package files that are required for
-# this module.
-#
-################################################################################
-
-[Packages]
- $(WORKSPACE)/MdeModulePkg/MdeModulePkg.dec
- $(WORKSPACE)/MdePkg/MdePkg.dec
-
-
-################################################################################
-#
# Library Class Section - list of Library Classes that are required for
# this module.
#
diff --git a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/diskio.c b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/diskio.c index 0cb49224ca..d5efd634cf 100644 --- a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/diskio.c +++ b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/diskio.c @@ -20,6 +20,11 @@ **/
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include "DiskIo.h"
EFI_DRIVER_BINDING_PROTOCOL gDiskIoDriverBinding = {
diff --git a/MdeModulePkg/Universal/Disk/Partition/Dxe/ComponentName.c b/MdeModulePkg/Universal/Disk/Partition/Dxe/ComponentName.c index e922cb0f92..8e8153fbc0 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/ComponentName.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/ComponentName.c @@ -12,6 +12,11 @@ **/
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include "Partition.h"
//
diff --git a/MdeModulePkg/Universal/Disk/Partition/Dxe/ElTorito.c b/MdeModulePkg/Universal/Disk/Partition/Dxe/ElTorito.c index 37ac710ff0..ab93c08931 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/ElTorito.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/ElTorito.c @@ -13,6 +13,11 @@ **/
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include "Partition.h"
diff --git a/MdeModulePkg/Universal/Disk/Partition/Dxe/Gpt.c b/MdeModulePkg/Universal/Disk/Partition/Dxe/Gpt.c index 581007e92a..c5978a16be 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Gpt.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Gpt.c @@ -14,6 +14,11 @@ **/
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include "Partition.h"
diff --git a/MdeModulePkg/Universal/Disk/Partition/Dxe/Mbr.c b/MdeModulePkg/Universal/Disk/Partition/Dxe/Mbr.c index d71698c826..bc08963e54 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Mbr.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Mbr.c @@ -29,6 +29,11 @@ Abstract: --*/
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include "Partition.h"
STATIC
diff --git a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.c b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.c index 4d0c76f251..de2c802b7d 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.c @@ -16,6 +16,11 @@ **/
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include "Partition.h"
//
diff --git a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.h b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.h index 570d0194b5..289c9a5443 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.h +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.h @@ -18,6 +18,11 @@ #ifndef _PARTITION_H
#define _PARTITION_H
+//
+// Include common header file for this module.
+//
+#include "CommonHeader.h"
+
#include <Uefi.h>
#include <Protocol/BlockIo.h>
#include <Guid/Gpt.h>
diff --git a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.inf b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.inf index 1e00fccfd6..2036fa7afb 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.inf +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.inf @@ -5,13 +5,12 @@ # that represents the bytes Start to End of the Parent Block IO
# device (one partition of physical BlockIo device,
# which can be one of GPT, MBR, ElTorito partition).
+# Copyright (c) 2006 - 2007, Intel Corporation
#
-# Copyright (c) 2006 - 2007, 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.
#
@@ -56,6 +55,8 @@ ElTorito.c
Partition.c
Partition.h
+ CommonHeader.h
+ EntryPoint.c
################################################################################
@@ -70,17 +71,6 @@ ################################################################################
#
-# Package Dependency Section - list of Package files that are required for
-# this module.
-#
-################################################################################
-
-[Packages]
- MdePkg/MdePkg.dec
-
-
-################################################################################
-#
# Library Class Section - list of Library Classes that are required for
# this module.
#
|