VirtualBox

Ignore:
Timestamp:
Oct 29, 2015 4:30:44 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103777
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:
3 edited

Legend:

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

  • trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c

    r58464 r58466  
    5555  @param  MemoryType   Memory type of memory to allocate.
    5656  @param  Size         Size of memory to allocate.
    57  
     57
    5858  @return Allocated address for output.
    5959
     
    113113
    114114  EntryCount = (Rsdt->Length - sizeof (EFI_ACPI_DESCRIPTION_HEADER)) / sizeof(UINT32);
    115  
     115
    116116  EntryPtr = (UINT32 *)(Rsdt + 1);
    117117  for (Index = 0; Index < EntryCount; Index ++, EntryPtr ++) {
     
    121121    }
    122122  }
    123  
     123
    124124  return NULL;
    125125}
     
    152152
    153153  EntryCount = (Xsdt->Length - sizeof (EFI_ACPI_DESCRIPTION_HEADER)) / sizeof(UINT64);
    154  
     154
    155155  BasePtr = (UINTN)(Xsdt + 1);
    156156  for (Index = 0; Index < EntryCount; Index ++) {
     
    161161    }
    162162  }
    163  
     163
    164164  return NULL;
    165165}
     
    169169
    170170  @param Fadt   FADT table pointer
    171  
     171
    172172  @return  Facs table pointer.
    173173**/
     
    199199/**
    200200  To find Facs in Acpi tables.
    201  
    202   To find Firmware ACPI control strutcure in Acpi Tables since the S3 waking vector is stored 
     201
     202  To find Firmware ACPI control strutcure in Acpi Tables since the S3 waking vector is stored
    203203  in the table.
    204204
    205205  @param AcpiTableGuid   The guid used to find ACPI table in UEFI ConfigurationTable.
    206  
     206
    207207  @return  Facs table pointer.
    208208**/
     
    268268/**
    269269  To find Facs in Acpi tables.
    270  
    271   To find Firmware ACPI control strutcure in Acpi Tables since the S3 waking vector is stored 
     270
     271  To find Firmware ACPI control strutcure in Acpi Tables since the S3 waking vector is stored
    272272  in the table.
    273  
     273
    274274  @return  Facs table pointer.
    275275**/
     
    292292  Allocates and fills in the Page Directory and Page Table Entries to
    293293  establish a 1:1 Virtual to Physical mapping.
    294   If BootScriptExector driver will run in 64-bit mode, this function will establish the 1:1 
     294  If BootScriptExector driver will run in 64-bit mode, this function will establish the 1:1
    295295  virtual to physical mapping page table.
    296   If BootScriptExector driver will not run in 64-bit mode, this function will do nothing. 
    297  
    298   @return  the 1:1 Virtual to Physical identity mapping page table base address. 
     296  If BootScriptExector driver will not run in 64-bit mode, this function will do nothing.
     297
     298  @return  the 1:1 Virtual to Physical identity mapping page table base address.
    299299
    300300**/
     
    303303  VOID
    304304  )
    305 { 
     305{
    306306  if (FeaturePcdGet (PcdDxeIplSwitchToLongMode)) {
    307307    UINT32                                        RegEax;
     
    341341      }
    342342    }
    343    
     343
    344344    //
    345345    // IA-32e paging translates 48-bit linear addresses to 52-bit physical addresses.
     
    381381    // If DXE is running 32-bit mode, no need to establish page table.
    382382    //
    383     return  (EFI_PHYSICAL_ADDRESS) 0; 
    384   }
    385 }
    386 
    387 /**
    388   Gets the buffer of legacy memory below 1 MB 
     383    return  (EFI_PHYSICAL_ADDRESS) 0;
     384  }
     385}
     386
     387/**
     388  Gets the buffer of legacy memory below 1 MB
    389389  This function is to get the buffer in legacy memory below 1MB that is required during S3 resume.
    390390
     
    455455/**
    456456  Prepares all information that is needed in the S3 resume boot path.
    457  
    458   Allocate the resources or prepare informations and save in ACPI variable set for S3 resume boot path 
    459  
     457
     458  Allocate the resources or prepare informations and save in ACPI variable set for S3 resume boot path
     459
    460460  @param This                 A pointer to the EFI_ACPI_S3_SAVE_PROTOCOL instance.
    461461  @param LegacyMemoryAddress  The base address of legacy memory.
     
    568568/**
    569569  The Driver Entry Point.
    570  
     570
    571571  The function is the driver Entry point which will produce AcpiS3SaveProtocol.
    572  
     572
    573573  @param ImageHandle   A handle for the image that is initializing this driver
    574574  @param SystemTable   A pointer to the EFI system table
  • trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.h

    r58464 r58466  
    11/** @file
    2   This is an implementation of the ACPI S3 Save protocol.  This is defined in 
     2  This is an implementation of the ACPI S3 Save protocol.  This is defined in
    33  S3 boot path specification 0.9.
    44
     
    2020
    2121/**
    22   Gets the buffer of legacy memory below 1 MB 
     22  Gets the buffer of legacy memory below 1 MB
    2323  This function is to get the buffer in legacy memory below 1MB that is required during S3 resume.
    2424
     
    3939/**
    4040  Prepares all information that is needed in the S3 resume boot path.
    41  
    42   Allocate the resources or prepare informations and save in ACPI variable set for S3 resume boot path 
    43  
     41
     42  Allocate the resources or prepare informations and save in ACPI variable set for S3 resume boot path
     43
    4444  @param This                 A pointer to the EFI_ACPI_S3_SAVE_PROTOCOL instance.
    4545  @param LegacyMemoryAddress  The base address of legacy memory.
     
    5555S3Ready (
    5656  IN EFI_ACPI_S3_SAVE_PROTOCOL     *This,
    57   IN VOID                          *LegacyMemoryAddress   
     57  IN VOID                          *LegacyMemoryAddress
    5858  );
    5959#endif
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