/** @file\r
Declaration of strctures and functions for SnpDxe driver.\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation. <BR> \r
+Copyright (c) 2004 - 2009, Intel Corporation. <BR> \r
All rights reserved. This program and the accompanying materials are licensed \r
and made available under the terms and conditions of the BSD License which \r
accompanies this distribution. The full text of the license may be found at \r
#include <Protocol/NetworkInterfaceIdentifier.h>\r
#include <Protocol/DevicePath.h>\r
\r
+#include <Guid/EventGroup.h>\r
+\r
#include <Library/DebugLib.h>\r
#include <Library/BaseMemoryLib.h>\r
#include <Library/UefiDriverEntryPoint.h>\r
#include <Library/UefiLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
\r
-#include <IndustryStandard/Pci22.h>\r
+#include <IndustryStandard/Pci.h>\r
\r
#define FOUR_GIGABYTES (UINT64) 0x100000000ULL\r
\r
EFI_PHYSICAL_ADDRESS VirtualAddress;\r
VOID *MapCookie;\r
} MapList[MAX_MAP_LENGTH];\r
+\r
+ EFI_EVENT ExitBootServicesEvent;\r
} SNP_DRIVER;\r
\r
#define EFI_SIMPLE_NETWORK_DEV_FROM_THIS(a) CR (a, SNP_DRIVER, Snp, SNP_DRIVER_SIGNATURE)\r
//\r
// Virtual to physical mapping for all UNDI 3.0s.\r
//\r
-typedef struct _V2P {\r
- struct _V2P *Next;\r
+typedef struct _V2P V2P;\r
+\r
+struct _V2P {\r
+ V2P *Next;\r
VOID *VirtualAddress;\r
UINTN BufferSize;\r
EFI_PHYSICAL_ADDRESS PhysicalAddress;\r
VOID *Unmap;\r
-} V2P;\r
+};\r
\r
/**\r
This routine maps the given CPU address to a Device address. It creates a\r