VirtualBox

Ignore:
Timestamp:
Sep 11, 2019 8:46:37 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133262
Message:

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c

    r77662 r80721  
    22  Debug Port Library implementation based on usb debug port.
    33
    4   Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
    5   This program and the accompanying materials
    6   are licensed and made available under the terms and conditions of the BSD License
    7   which accompanies this distribution.  The full text of the license may be found at
    8   http://opensource.org/licenses/bsd-license.php.
    9 
    10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
    11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     4  Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
     5  SPDX-License-Identifier: BSD-2-Clause-Patent
    126
    137**/
     
    133127  UINT32       EhciMemoryBase;
    134128  //
     129  // The usb debug device In endpoint.
     130  //
     131  UINT8        InEndpoint;
     132  //
     133  // The usb debug device Out endpoint.
     134  //
     135  UINT8        OutEndpoint;
     136  //
    135137  // The Bulk In endpoint toggle bit.
    136138  //
     
    724726
    725727    //
     728    // Determine the usb debug device endpoints.
     729    //
     730    Handle->InEndpoint  = UsbDebugPortDescriptor.DebugInEndpoint;
     731    Handle->OutEndpoint = UsbDebugPortDescriptor.DebugOutEndpoint;
     732
     733    //
    726734    // enable the usb debug feature.
    727735    //
     
    880888    }
    881889
    882     Status = UsbDebugPortOut(UsbDebugPortRegister, Buffer + Total, Sent, OUTPUT_PID, 0x7F, 0x01, UsbDebugPortHandle->BulkOutToggle);
     890    Status = UsbDebugPortOut(UsbDebugPortRegister, Buffer + Total, Sent, OUTPUT_PID, 0x7F, UsbDebugPortHandle->OutEndpoint, UsbDebugPortHandle->BulkOutToggle);
    883891
    884892    if (RETURN_ERROR(Status)) {
     
    960968  }
    961969  UsbDebugPortRegister->UsbAddress  = 0x7F;
    962   UsbDebugPortRegister->UsbEndPoint = 0x82 & 0x0F;
     970  UsbDebugPortRegister->UsbEndPoint = UsbDebugPortHandle->InEndpoint & 0x0F;
    963971
    964972  //
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette