OvmfPkg: cleanup whitespace in Facp.aslc / Platform.h

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13610 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2012-08-13 15:37:50 +00:00
parent edf4af6fb9
commit 2712ab4f54
2 changed files with 10 additions and 10 deletions

View File

@ -1,17 +1,17 @@
/** @file /** @file
FACP Table FACP Table
Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR> Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are This program and the accompanying materials are
licensed and made available under the terms and conditions of the BSD License licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#include "Platform.h" #include "Platform.h"
EFI_ACPI_1_0_FIXED_ACPI_DESCRIPTION_TABLE FACP = { EFI_ACPI_1_0_FIXED_ACPI_DESCRIPTION_TABLE FACP = {
@ -61,7 +61,7 @@ EFI_ACPI_1_0_FIXED_ACPI_DESCRIPTION_TABLE FACP = {
CENTURY, // index to century in RTC CMOS RAM CENTURY, // index to century in RTC CMOS RAM
0x03, // Boot architecture flag 0x03, // Boot architecture flag
0x00, // Boot architecture flag 0x00, // Boot architecture flag
RESERVED, // reserved RESERVED, // reserved
FLAG FLAG
}; };
@ -72,7 +72,7 @@ ReferenceAcpiTable (
) )
{ {
// //
// Reference the table being generated to prevent the optimizer from removing the // Reference the table being generated to prevent the optimizer from removing the
// data structure from the exeutable // data structure from the exeutable
// //
return (VOID*)&FACP; return (VOID*)&FACP;

View File

@ -6,16 +6,16 @@
licensed and made available under the terms and conditions of the BSD License licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#ifndef _Platform_h_INCLUDED_ #ifndef _Platform_h_INCLUDED_
#define _Platform_h_INCLUDED_ #define _Platform_h_INCLUDED_
#include <PiDxe.h> #include <PiDxe.h>
#include <IndustryStandard/Acpi.h> #include <IndustryStandard/Acpi.h>
// //
@ -28,7 +28,7 @@
#define EFI_ACPI_CREATOR_REVISION 0x00000097 #define EFI_ACPI_CREATOR_REVISION 0x00000097
#define INT_MODEL 0x01 #define INT_MODEL 0x01
#define SCI_INT_VECTOR 0x0009 #define SCI_INT_VECTOR 0x0009
#define SMI_CMD_IO_PORT 0 // If SMM was supported, then this would be 0xB2 #define SMI_CMD_IO_PORT 0 // If SMM was supported, then this would be 0xB2
#define ACPI_ENABLE 0 #define ACPI_ENABLE 0
#define ACPI_DISABLE 0 #define ACPI_DISABLE 0