From 4040754dafa0ee2e7d072971d93aaaad16a2b5a6 Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Thu, 19 Sep 2019 13:05:00 +0100 Subject: OvmfPkg: strip trailing whitespace Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Anthony Perard Cc: Julien Grall Cc: David Woodhouse Signed-off-by: Leif Lindholm Acked-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek Reviewed-by: Philippe Mathieu-Daude --- OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 4 ++-- OvmfPkg/AcpiPlatformDxe/Xen.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'OvmfPkg/AcpiPlatformDxe') diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c index 2b529d58a1..f872d91aea 100644 --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c @@ -124,7 +124,7 @@ LocateFvInstanceWithTables ( /** - Find ACPI tables in an FV and install them. + Find ACPI tables in an FV and install them. This is now a fall-back path. Normally, we will search for tables provided by the VMM first. @@ -132,7 +132,7 @@ LocateFvInstanceWithTables ( If that fails, we use this function to load the ACPI tables from an FV. The sources for the FV based tables is located under OvmfPkg/AcpiTables. - @param AcpiTable Protocol instance pointer + @param AcpiTable Protocol instance pointer **/ EFI_STATUS diff --git a/OvmfPkg/AcpiPlatformDxe/Xen.c b/OvmfPkg/AcpiPlatformDxe/Xen.c index f80dfe1a57..289ef971c4 100644 --- a/OvmfPkg/AcpiPlatformDxe/Xen.c +++ b/OvmfPkg/AcpiPlatformDxe/Xen.c @@ -6,7 +6,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent -**/ +**/ #include "AcpiPlatform.h" #include @@ -151,12 +151,12 @@ InstallXenTables ( } // - // If XSDT table is find, just install its tables. + // If XSDT table is find, just install its tables. // Otherwise, try to find and install the RSDT tables. // if (XenAcpiRsdpStructurePtr->XsdtAddress) { // - // Retrieve the addresses of XSDT and + // Retrieve the addresses of XSDT and // calculate the number of its table entries. // Xsdt = (EFI_ACPI_DESCRIPTION_HEADER *) (UINTN) @@ -212,7 +212,7 @@ InstallXenTables ( Rsdt = (EFI_ACPI_DESCRIPTION_HEADER *) (UINTN) XenAcpiRsdpStructurePtr->RsdtAddress; NumberOfTableEntries = (Rsdt->Length - - sizeof (EFI_ACPI_DESCRIPTION_HEADER)) / + sizeof (EFI_ACPI_DESCRIPTION_HEADER)) / sizeof (UINT32); // -- cgit v1.2.3