diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-27 06:30:05 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-27 06:30:05 +0000 |
commit | 7f58a2f7d6ac989096f28c1a860324fef6ef7340 (patch) | |
tree | c29358dada39ff5f896ae5a5d074fe2bc842d3c4 /MdeModulePkg/Universal/Disk | |
parent | af4d71fcda8f124b0a92f45cf13fca050f2671c8 (diff) | |
download | edk2-7f58a2f7d6ac989096f28c1a860324fef6ef7340.zip edk2-7f58a2f7d6ac989096f28c1a860324fef6ef7340.tar.gz edk2-7f58a2f7d6ac989096f28c1a860324fef6ef7340.tar.bz2 |
Roll back revision 2222 to recover the wrong checking.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2780 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Disk')
11 files changed, 30 insertions, 56 deletions
diff --git a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/ComponentName.c b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/ComponentName.c index de4bb2e..bf95be1 100644 --- a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/ComponentName.c +++ b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/ComponentName.c @@ -12,11 +12,6 @@ **/
-//
-// 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 5df48c6..c1a572f 100644 --- a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.h +++ b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.h @@ -16,11 +16,6 @@ #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 3030bda..ad73679 100644 --- a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.inf +++ b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.inf @@ -1,13 +1,12 @@ #/** @file
-# 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
+# Component description file for DiskIo module.
#
+# 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.
#
@@ -35,8 +34,8 @@ #
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
-# DRIVER_BINDING = gDiskIoDriverBinding
-# COMPONENT_NAME = gDiskIoComponentName
+# DRIVER_BINDING = gDiskIoDriverBinding
+# COMPONENT_NAME = gDiskIoComponentName
#
################################################################################
@@ -49,8 +48,6 @@ ComponentName.c
DiskIo.h
diskio.c
- CommonHeader.h
- EntryPoint.c
################################################################################
@@ -65,6 +62,18 @@ ################################################################################
#
+# 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 d5efd63..0cb4922 100644 --- a/MdeModulePkg/Universal/Disk/DiskIo/Dxe/diskio.c +++ b/MdeModulePkg/Universal/Disk/DiskIo/Dxe/diskio.c @@ -20,11 +20,6 @@ **/
-//
-// 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 8e8153f..e922cb0 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/ComponentName.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/ComponentName.c @@ -12,11 +12,6 @@ **/
-//
-// 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 ab93c08..37ac710 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/ElTorito.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/ElTorito.c @@ -13,11 +13,6 @@ **/
-//
-// 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 c5978a1..581007e 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Gpt.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Gpt.c @@ -14,11 +14,6 @@ **/
-//
-// 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 bc08963..d71698c 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Mbr.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Mbr.c @@ -29,11 +29,6 @@ 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 de2c802..4d0c76f 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.c +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.c @@ -16,11 +16,6 @@ **/
-//
-// 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 289c9a5..570d019 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.h +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.h @@ -18,11 +18,6 @@ #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 2036fa7..1e00fcc 100644 --- a/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.inf +++ b/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.inf @@ -5,12 +5,13 @@ # 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.
#
@@ -55,8 +56,6 @@ ElTorito.c
Partition.c
Partition.h
- CommonHeader.h
- EntryPoint.c
################################################################################
@@ -71,6 +70,17 @@ ################################################################################
#
+# 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.
#
|