summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/Network/SnpDxe/Snp.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/Network/SnpDxe/Snp.h')
-rw-r--r--MdeModulePkg/Universal/Network/SnpDxe/Snp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Snp.h b/MdeModulePkg/Universal/Network/SnpDxe/Snp.h
index 5fd0a4f06f..37de65ab05 100644
--- a/MdeModulePkg/Universal/Network/SnpDxe/Snp.h
+++ b/MdeModulePkg/Universal/Network/SnpDxe/Snp.h
@@ -135,13 +135,15 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gSimpleNetworkComponentName2;
//
// Virtual to physical mapping for all UNDI 3.0s.
//
-typedef struct _V2P {
- struct _V2P *Next;
+typedef struct _V2P V2P;
+
+struct _V2P {
+ V2P *Next;
VOID *VirtualAddress;
UINTN BufferSize;
EFI_PHYSICAL_ADDRESS PhysicalAddress;
VOID *Unmap;
-} V2P;
+};
/**
This routine maps the given CPU address to a Device address. It creates a