VirtualBox

Ignore:
Timestamp:
Oct 29, 2015 4:30:44 AM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/Firmware/ShellPkg/Application/Shell/ConsoleWrappers.c

    r58459 r58466  
    116116
    117117/**
    118   Function to create a EFI_SIMPLE_TEXT_INPUT_PROTOCOL on top of a 
     118  Function to create a EFI_SIMPLE_TEXT_INPUT_PROTOCOL on top of a
    119119  SHELL_FILE_HANDLE to support redirecting input from a file.
    120120
     
    156156  ProtocolToReturn->SimpleTextIn.Reset         = FileBasedSimpleTextInReset;
    157157  ProtocolToReturn->SimpleTextIn.ReadKeyStroke = FileBasedSimpleTextInReadKeyStroke;
    158  
     158
    159159  Status = gBS->CreateEvent (
    160160                  EVT_NOTIFY_WAIT,
     
    171171  ///@todo possibly also install SimpleTextInputEx on the handle at this point.
    172172  Status = gBS->InstallProtocolInterface(
    173     &(ProtocolToReturn->TheHandle), 
    174     &gEfiSimpleTextInProtocolGuid, 
    175     EFI_NATIVE_INTERFACE, 
     173    &(ProtocolToReturn->TheHandle),
     174    &gEfiSimpleTextInProtocolGuid,
     175    EFI_NATIVE_INTERFACE,
    176176    &(ProtocolToReturn->SimpleTextIn));
    177177  if (!EFI_ERROR(Status)) {
     
    185185
    186186/**
    187   Function to close a EFI_SIMPLE_TEXT_INPUT_PROTOCOL on top of a 
     187  Function to close a EFI_SIMPLE_TEXT_INPUT_PROTOCOL on top of a
    188188  SHELL_FILE_HANDLE to support redirecting input from a file.
    189189
     
    208208
    209209  Status1 = gBS->UninstallProtocolInterface(
    210     ((SHELL_EFI_SIMPLE_TEXT_INPUT_PROTOCOL*)SimpleTextIn)->TheHandle, 
    211     &gEfiSimpleTextInProtocolGuid, 
     210    ((SHELL_EFI_SIMPLE_TEXT_INPUT_PROTOCOL*)SimpleTextIn)->TheHandle,
     211    &gEfiSimpleTextInProtocolGuid,
    212212    &(((SHELL_EFI_SIMPLE_TEXT_INPUT_PROTOCOL*)SimpleTextIn)->SimpleTextIn));
    213213
     
    278278{
    279279  EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *PassThruProtocol;
    280  
     280
    281281  PassThruProtocol = ((SHELL_EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *)This)->OriginalSimpleTextOut;
    282  
     282
    283283  // Pass the QueryMode call thru to the original SimpleTextOutProtocol
    284284  return (PassThruProtocol->QueryMode(
     
    416416
    417417/**
    418   Function to create a EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL on top of a 
     418  Function to create a EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL on top of a
    419419  SHELL_FILE_HANDLE to support redirecting output from a file.
    420420
     
    469469
    470470  Status = gBS->InstallProtocolInterface(
    471     &(ProtocolToReturn->TheHandle), 
    472     &gEfiSimpleTextOutProtocolGuid, 
    473     EFI_NATIVE_INTERFACE, 
     471    &(ProtocolToReturn->TheHandle),
     472    &gEfiSimpleTextOutProtocolGuid,
     473    EFI_NATIVE_INTERFACE,
    474474    &(ProtocolToReturn->SimpleTextOut));
    475475  if (!EFI_ERROR(Status)) {
     
    483483
    484484/**
    485   Function to close a EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL on top of a 
     485  Function to close a EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL on top of a
    486486  SHELL_FILE_HANDLE to support redirecting output from a file.
    487487
     
    501501  }
    502502  Status = gBS->UninstallProtocolInterface(
    503     ((SHELL_EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL*)SimpleTextOut)->TheHandle, 
    504     &gEfiSimpleTextOutProtocolGuid, 
     503    ((SHELL_EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL*)SimpleTextOut)->TheHandle,
     504    &gEfiSimpleTextOutProtocolGuid,
    505505    &(((SHELL_EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL*)SimpleTextOut)->SimpleTextOut));
    506506  FreePool(SimpleTextOut);
Note: See TracChangeset for help on using the changeset viewer.

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