]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/Undi32.h
Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning...
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / Undi / RuntimeDxe / Undi32.h
index d4ad6b65c1e7ef437583e5a0ef535969e9f15903..b7c721262a1f5416caaeaa681bc81f9bbe13ac5b 100644 (file)
@@ -94,6 +94,11 @@ typedef VOID (*map_mem)(UINT64, UINT64, UINT32, UINT32, UINT64);
 typedef VOID (*unmap_mem)(UINT64, UINT64, UINT32, UINT32, UINT64);\r
 typedef VOID (*sync_mem)(UINT64, UINT64, UINT32, UINT32, UINT64);\r
 \r
+extern UNDI_CALL_TABLE  api_table[];\r
+extern PXE_SW_UNDI      *pxe;     // !pxe structure\r
+extern PXE_SW_UNDI      *pxe_31;  // !pxe structure for 3.1 drivers\r
+extern UNDI32_DEV       *UNDI32DeviceList[MAX_NIC_INTERFACES];\r
+\r
 //\r
 // functions defined in e100b.c\r
 //\r
@@ -158,6 +163,63 @@ VOID FindPhySpeedAndDpx (NIC_DATA_INSTANCE *AdapterInfo, UINT32 PhyId);
 //\r
 // functions defined in init.c\r
 //\r
+EFI_STATUS\r
+InstallConfigTable (\r
+  IN VOID\r
+  );\r
+\r
+EFI_STATUS\r
+EFIAPI\r
+InitializeUNDIDriver (\r
+  IN EFI_HANDLE           ImageHandle,\r
+  IN EFI_SYSTEM_TABLE     *SystemTable\r
+  );\r
+\r
+VOID\r
+UNDI_notify_virtual (\r
+  EFI_EVENT event,\r
+  VOID      *context\r
+  );\r
+\r
+VOID\r
+EFIAPI\r
+UndiNotifyExitBs (\r
+  EFI_EVENT Event,\r
+  VOID      *Context\r
+  );\r
+\r
+EFI_STATUS\r
+EFIAPI\r
+UndiDriverSupported (\r
+  IN EFI_DRIVER_BINDING_PROTOCOL    *This,\r
+  IN EFI_HANDLE                     Controller,\r
+  IN EFI_DEVICE_PATH_PROTOCOL       *RemainingDevicePath\r
+  );\r
+\r
+EFI_STATUS\r
+EFIAPI\r
+UndiDriverStart (\r
+  IN EFI_DRIVER_BINDING_PROTOCOL    *This,\r
+  IN EFI_HANDLE                     Controller,\r
+  IN EFI_DEVICE_PATH_PROTOCOL       *RemainingDevicePath\r
+  );\r
+\r
+EFI_STATUS\r
+EFIAPI\r
+UndiDriverStop (\r
+  IN  EFI_DRIVER_BINDING_PROTOCOL    *This,\r
+  IN  EFI_HANDLE                     Controller,\r
+  IN  UINTN                          NumberOfChildren,\r
+  IN  EFI_HANDLE                     *ChildHandleBuffer\r
+  );\r
+\r
+EFI_STATUS\r
+AppendMac2DevPath (\r
+  IN OUT  EFI_DEVICE_PATH_PROTOCOL **DevPtr,\r
+  IN      EFI_DEVICE_PATH_PROTOCOL *BaseDevPtr,\r
+  IN      NIC_DATA_INSTANCE        *AdapterInfo\r
+  );\r
+\r
 VOID\r
 TmpDelay (\r
   IN UINT64 UnqId,\r