diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-27 07:02:05 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-27 07:02:05 +0000 |
commit | d01c093a582c001ae3817706b3d664e9ea3d00ba (patch) | |
tree | f39385177d3daa3d1b10752fa090ce7976ea3a26 /MdeModulePkg | |
parent | fa9f28be567af823f3b388804784714f7a367555 (diff) | |
download | edk2-d01c093a582c001ae3817706b3d664e9ea3d00ba.zip edk2-d01c093a582c001ae3817706b3d664e9ea3d00ba.tar.gz edk2-d01c093a582c001ae3817706b3d664e9ea3d00ba.tar.bz2 |
1. Sync Tcp4 protocol definitions to match UEFI 2.1
2. Clean up codes.
3. Remove struct definition content for big-endian, because UEFI 2.1 declare only little-endian supported.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3714 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbMouseDxe/usbmouse.c | 15 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Network/SnpDxe/receive.c | 4 |
6 files changed, 2 insertions, 25 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c index 2e3edfd..0eaa9cc 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c @@ -1271,8 +1271,6 @@ EhcAsyncIsochronousTransfer ( return EFI_UNSUPPORTED;
}
-//@MT: EFI_DRIVER_ENTRY_POINT (EhcDriverEntryPoint)
-
EFI_STATUS
EFIAPI
EhcDriverEntryPoint (
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c index 8cda00f..28d9b63 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c +++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c @@ -1828,8 +1828,6 @@ Uhci2AsyncIsochronousTransfer ( return EFI_UNSUPPORTED;
}
-//@MT: EFI_DRIVER_ENTRY_POINT (UhciDriverEntryPoint)
-
EFI_STATUS
EFIAPI
UhciDriverEntryPoint (
diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c b/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c index f551c0a..55cf88c 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c @@ -113,8 +113,6 @@ EFI_DRIVER_BINDING_PROTOCOL gUsbKeyboardDriverBinding = { NULL
};
-//@MT: EFI_DRIVER_ENTRY_POINT (USBKeyboardDriverBindingEntryPoint)
-
EFI_STATUS
EFIAPI
USBKeyboardDriverBindingEntryPoint (
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c index 33c3755..bae04a2 100644 --- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c +++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c @@ -594,8 +594,6 @@ EFI_DRIVER_BINDING_PROTOCOL gUSBMassDriverBinding = { NULL
};
-//@MT: EFI_DRIVER_ENTRY_POINT (USBMassStorageEntryPoint)
-
EFI_STATUS
EFIAPI
USBMassStorageEntryPoint (
diff --git a/MdeModulePkg/Bus/Usb/UsbMouseDxe/usbmouse.c b/MdeModulePkg/Bus/Usb/UsbMouseDxe/usbmouse.c index 446e8eb..4d9aed9 100644 --- a/MdeModulePkg/Bus/Usb/UsbMouseDxe/usbmouse.c +++ b/MdeModulePkg/Bus/Usb/UsbMouseDxe/usbmouse.c @@ -24,19 +24,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <IndustryStandard/Usb.h>
-//
-// Driver Consumed Protocol Prototypes
-//
-//@MT:#include EFI_PROTOCOL_DEFINITION (DriverBinding)
-//@MT:#include EFI_PROTOCOL_DEFINITION (UsbIo)
-
-//
-// Driver Produced Protocol Prototypes
-//
-//@MT:#include EFI_PROTOCOL_DEFINITION (SimplePointer)
-
-//@MT:#include "UsbDxeLib.h"
-//@MT:#include "hid.h"
#include "usbmouse.h"
#include "mousehid.h"
@@ -147,8 +134,6 @@ UsbMouseReset ( //
// Driver start here
//
-//@MT: EFI_DRIVER_ENTRY_POINT (USBMouseDriverBindingEntryPoint)
-
EFI_STATUS
EFIAPI
USBMouseDriverBindingEntryPoint (
diff --git a/MdeModulePkg/Universal/Network/SnpDxe/receive.c b/MdeModulePkg/Universal/Network/SnpDxe/receive.c index 64ca256..58bfa34 100644 --- a/MdeModulePkg/Universal/Network/SnpDxe/receive.c +++ b/MdeModulePkg/Universal/Network/SnpDxe/receive.c @@ -115,7 +115,7 @@ pxe_receive ( //
// Issue UNDI command and check result.
//
- DEBUG ((EFI_D_INFO, "\nsnp->undi.receive () "));
+ DEBUG ((EFI_D_NET, "\nsnp->undi.receive () "));
(*snp->issue_undi32_command) ((UINT64)(UINTN) &snp->cdb);
@@ -125,7 +125,7 @@ pxe_receive ( case PXE_STATCODE_NO_DATA:
DEBUG (
- (EFI_D_INFO,
+ (EFI_D_NET,
"\nsnp->undi.receive () %xh:%xh\n",
snp->cdb.StatFlags,
snp->cdb.StatCode)
|