From d8a43975d902b901ecccc32cda1160c47c804bd8 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Wed, 27 Jun 2007 06:15:36 +0000 Subject: 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 --- .../Universal/Disk/DiskIo/Dxe/ComponentName.c | 5 +++++ MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.h | 5 +++++ MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.inf | 25 +++++++--------------- MdeModulePkg/Universal/Disk/DiskIo/Dxe/diskio.c | 5 +++++ .../Universal/Disk/Partition/Dxe/ComponentName.c | 5 +++++ .../Universal/Disk/Partition/Dxe/ElTorito.c | 5 +++++ MdeModulePkg/Universal/Disk/Partition/Dxe/Gpt.c | 5 +++++ MdeModulePkg/Universal/Disk/Partition/Dxe/Mbr.c | 5 +++++ .../Universal/Disk/Partition/Dxe/Partition.c | 5 +++++ .../Universal/Disk/Partition/Dxe/Partition.h | 5 +++++ .../Universal/Disk/Partition/Dxe/Partition.inf | 16 +++----------- 11 files changed, 56 insertions(+), 30 deletions(-) (limited to 'MdeModulePkg/Universal/Disk') 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 #include #include 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 ################################################################################ @@ -60,18 +63,6 @@ [Includes] $(WORKSPACE)/MdePkg/Include/Library -################################################################################ -# -# 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 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 #include #include 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 ################################################################################ @@ -68,17 +69,6 @@ [Includes] $(WORKSPACE)/MdePkg/Include/Library -################################################################################ -# -# 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 -- cgit v1.2.3