From cd090ad444e53781d953ba9d4ee0f9d795a85fb0 Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 17 Mar 2008 21:47:24 +0000 Subject: Renamed to match filename naming recommendations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4895 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.c | 28 +++++++ .../Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h | 86 ++++++++++++++++++++++ .../Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.c | 28 ------- .../Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.h | 86 ---------------------- 4 files changed, 114 insertions(+), 114 deletions(-) create mode 100644 EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.c create mode 100644 EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h delete mode 100644 EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.c delete mode 100644 EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.h (limited to 'EdkCompatibilityPkg/Foundation/Protocol') diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.c b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.c new file mode 100644 index 0000000000..39101c7572 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.c @@ -0,0 +1,28 @@ +/*++ + +Copyright (c) 2004, 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: + PxeDhcp4Callback.c + +Abstract: + PxeDhcp4Callback protocol GUID definition. + +--*/ + +#include "Tiano.h" + +#include EFI_PROTOCOL_DEFINITION (PxeDhcp4CallBack) + +EFI_GUID gEfiPxeDhcp4CallbackProtocolGuid = EFI_PXE_DHCP4_CALLBACK_PROTOCOL_GUID; + +EFI_GUID_STRING(&gEfiPxeDhcp4CallbackProtocolGuid, "PXE DHCP4 Callback Protocol", "PXE DHCP IPv4 Callback Protocol"); + +/* EOF - PxeDhcp4Callback.c */ diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h new file mode 100644 index 0000000000..9c1b07a806 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h @@ -0,0 +1,86 @@ +/*++ + +Copyright (c) 2004, 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: + PxeDhcp4Callback.h + +Abstract: + EFI PXE DHCP4 Callback protocol definition. + +--*/ + +#ifndef _PXE_DHCP4CALLBACK_H +#define _PXE_DHCP4CALLBACK_H + +#include "..\PxeDhcp4\PxeDhcp4.h" + +// +// GUID definition +// + +#define EFI_PXE_DHCP4_CALLBACK_PROTOCOL_GUID \ +{ 0xc1544c01, 0x92a4, 0x4198, 0x8a, 0x84, 0x77, 0x85, 0x83, 0xc2, 0x36, 0x21 } + + +// +// Revision number +// + +#define EFI_PXE_DHCP4_CALLBACK_INTERFACE_REVISION 0x00010000 + +// +// Interface definition +// + +EFI_FORWARD_DECLARATION (EFI_PXE_DHCP4_CALLBACK_PROTOCOL); + +typedef enum { + EFI_PXE_DHCP4_FUNCTION_FIRST, + EFI_PXE_DHCP4_FUNCTION_INIT, + EFI_PXE_DHCP4_FUNCTION_SELECT, + EFI_PXE_DHCP4_FUNCTION_RENEW, + EFI_PXE_DHCP4_FUNCTION_REBIND, + EFI_PXE_DHCP4_FUNCTION_LAST +} EFI_PXE_DHCP4_FUNCTION; + +typedef enum { + EFI_PXE_DHCP4_CALLBACK_STATUS_FIRST, + EFI_PXE_DHCP4_CALLBACK_STATUS_ABORT, + EFI_PXE_DHCP4_CALLBACK_STATUS_IGNORE_ABORT, + EFI_PXE_DHCP4_CALLBACK_STATUS_KEEP_ABORT, + EFI_PXE_DHCP4_CALLBACK_STATUS_CONTINUE, + EFI_PXE_DHCP4_CALLBACK_STATUS_IGNORE_CONTINUE, + EFI_PXE_DHCP4_CALLBACK_STATUS_KEEP_CONTINUE, + EFI_PXE_DHCP4_CALLBACK_STATUS_LAST +} EFI_PXE_DHCP4_CALLBACK_STATUS; + +typedef +EFI_PXE_DHCP4_CALLBACK_STATUS +(EFIAPI *EFI_PXE_DHCP4_CALLBACK) ( + IN EFI_PXE_DHCP4_PROTOCOL *This, + IN EFI_PXE_DHCP4_FUNCTION Function, + IN UINT32 PacketLen, + IN DHCP4_PACKET *Packet OPTIONAL + ); + +typedef struct _EFI_PXE_DHCP4_CALLBACK_PROTOCOL { + UINT64 Revision; + EFI_PXE_DHCP4_CALLBACK Callback; +} EFI_PXE_DHCP4_CALLBACK_PROTOCOL; + +// +// GUID declaration +// + +extern EFI_GUID gEfiPxeDhcp4CallbackProtocolGuid; + +#endif /* _PXE_DHCP4CALLBACK_H */ +/* EOF - PxeDhcp4Callback.h */ diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.c b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.c deleted file mode 100644 index 39101c7572..0000000000 --- a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.c +++ /dev/null @@ -1,28 +0,0 @@ -/*++ - -Copyright (c) 2004, 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: - PxeDhcp4Callback.c - -Abstract: - PxeDhcp4Callback protocol GUID definition. - ---*/ - -#include "Tiano.h" - -#include EFI_PROTOCOL_DEFINITION (PxeDhcp4CallBack) - -EFI_GUID gEfiPxeDhcp4CallbackProtocolGuid = EFI_PXE_DHCP4_CALLBACK_PROTOCOL_GUID; - -EFI_GUID_STRING(&gEfiPxeDhcp4CallbackProtocolGuid, "PXE DHCP4 Callback Protocol", "PXE DHCP IPv4 Callback Protocol"); - -/* EOF - PxeDhcp4Callback.c */ diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.h b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.h deleted file mode 100644 index 9c1b07a806..0000000000 --- a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4Callback/PxeDhcp4CallBack.h +++ /dev/null @@ -1,86 +0,0 @@ -/*++ - -Copyright (c) 2004, 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: - PxeDhcp4Callback.h - -Abstract: - EFI PXE DHCP4 Callback protocol definition. - ---*/ - -#ifndef _PXE_DHCP4CALLBACK_H -#define _PXE_DHCP4CALLBACK_H - -#include "..\PxeDhcp4\PxeDhcp4.h" - -// -// GUID definition -// - -#define EFI_PXE_DHCP4_CALLBACK_PROTOCOL_GUID \ -{ 0xc1544c01, 0x92a4, 0x4198, 0x8a, 0x84, 0x77, 0x85, 0x83, 0xc2, 0x36, 0x21 } - - -// -// Revision number -// - -#define EFI_PXE_DHCP4_CALLBACK_INTERFACE_REVISION 0x00010000 - -// -// Interface definition -// - -EFI_FORWARD_DECLARATION (EFI_PXE_DHCP4_CALLBACK_PROTOCOL); - -typedef enum { - EFI_PXE_DHCP4_FUNCTION_FIRST, - EFI_PXE_DHCP4_FUNCTION_INIT, - EFI_PXE_DHCP4_FUNCTION_SELECT, - EFI_PXE_DHCP4_FUNCTION_RENEW, - EFI_PXE_DHCP4_FUNCTION_REBIND, - EFI_PXE_DHCP4_FUNCTION_LAST -} EFI_PXE_DHCP4_FUNCTION; - -typedef enum { - EFI_PXE_DHCP4_CALLBACK_STATUS_FIRST, - EFI_PXE_DHCP4_CALLBACK_STATUS_ABORT, - EFI_PXE_DHCP4_CALLBACK_STATUS_IGNORE_ABORT, - EFI_PXE_DHCP4_CALLBACK_STATUS_KEEP_ABORT, - EFI_PXE_DHCP4_CALLBACK_STATUS_CONTINUE, - EFI_PXE_DHCP4_CALLBACK_STATUS_IGNORE_CONTINUE, - EFI_PXE_DHCP4_CALLBACK_STATUS_KEEP_CONTINUE, - EFI_PXE_DHCP4_CALLBACK_STATUS_LAST -} EFI_PXE_DHCP4_CALLBACK_STATUS; - -typedef -EFI_PXE_DHCP4_CALLBACK_STATUS -(EFIAPI *EFI_PXE_DHCP4_CALLBACK) ( - IN EFI_PXE_DHCP4_PROTOCOL *This, - IN EFI_PXE_DHCP4_FUNCTION Function, - IN UINT32 PacketLen, - IN DHCP4_PACKET *Packet OPTIONAL - ); - -typedef struct _EFI_PXE_DHCP4_CALLBACK_PROTOCOL { - UINT64 Revision; - EFI_PXE_DHCP4_CALLBACK Callback; -} EFI_PXE_DHCP4_CALLBACK_PROTOCOL; - -// -// GUID declaration -// - -extern EFI_GUID gEfiPxeDhcp4CallbackProtocolGuid; - -#endif /* _PXE_DHCP4CALLBACK_H */ -/* EOF - PxeDhcp4Callback.h */ -- cgit v1.2.3