From e5f461a8507ffcc89cd99ca43a09b76dca136ab5 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 15 Mar 2007 02:33:16 +0000 Subject: 1. Remove #ifdef _MSC_EXTENSION_ from all source files 2. Remove #ifdef _GCC_ from all resource files 3. Remove #if 0 from all resource files 4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC 5. Remove #progam from Decode.c 6. Remove #ifdef TIANO_EXTENSION_FLAG from source files 7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all. 8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkModulePkg/Library/EdkGenericBdsLib/DevicePath.c | 33 +++++++++------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'EdkModulePkg/Library/EdkGenericBdsLib/DevicePath.c') diff --git a/EdkModulePkg/Library/EdkGenericBdsLib/DevicePath.c b/EdkModulePkg/Library/EdkGenericBdsLib/DevicePath.c index 1bb7d70b10..f0debd5662 100644 --- a/EdkModulePkg/Library/EdkGenericBdsLib/DevicePath.c +++ b/EdkModulePkg/Library/EdkGenericBdsLib/DevicePath.c @@ -1,13 +1,13 @@ /*++ -Copyright (c) 2006, 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. +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. Module Name: @@ -20,11 +20,6 @@ Abstract: --*/ - -#ifdef TIANO_EXTENSION_FLAG -EFI_GUID UnknownDeviceGuid = UNKNOWN_DEVICE_GUID; -#endif - EFI_GUID mEfiUnixThunkProtocolGuid = EFI_UNIX_THUNK_PROTOCOL_GUID; EFI_GUID mEfiUnixUgaGuid = EFI_UNIX_UGA_GUID; EFI_GUID mEfiMsgPcAnsiGuid = DEVICE_PATH_MESSAGING_PC_ANSI; @@ -90,19 +85,19 @@ CatPrint ( Routine Description: - Concatenates a formatted unicode string to allocated pool. + Concatenates a formatted unicode string to allocated pool. The caller must free the resulting buffer. Arguments: - Str - Tracks the allocated pool, size in use, and + Str - Tracks the allocated pool, size in use, and amount of pool allocated. fmt - The format string Returns: - Allocated buffer with the formatted string printed in it. + Allocated buffer with the formatted string printed in it. The caller must free the allocated buffer. The buffer allocation is not packed. @@ -161,7 +156,7 @@ Arguments: Returns: - If the memory for the device path is successfully allocated, then a + If the memory for the device path is successfully allocated, then a pointer to the new device path is returned. Otherwise, NULL is returned. --*/ @@ -998,7 +993,7 @@ LibDuplicateDevicePathInstance ( Routine Description: - Function creates a device path data structure that identically matches the + Function creates a device path data structure that identically matches the device path passed in. Arguments: @@ -1007,7 +1002,7 @@ Arguments: Returns: - The new copy of DevPath is created to identically match the input. + The new copy of DevPath is created to identically match the input. Otherwise, NULL is returned. --*/ -- cgit v1.2.3