MdePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI 1.0b definitions from the ACPI Specification, revision 1.0b
|
||||
|
||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ACPI_1_0_H_
|
||||
@@ -357,7 +357,7 @@ typedef struct {
|
||||
#define EFI_ACPI_DMA_SPEED_TYPE_A 0x20
|
||||
#define EFI_ACPI_DMA_SPEED_TYPE_B 0x40
|
||||
#define EFI_ACPI_DMA_SPEED_TYPE_F 0x60
|
||||
|
||||
|
||||
#define EFI_ACPI_DMA_BUS_MASTER_MASK 0x04
|
||||
#define EFI_ACPI_DMA_BUS_MASTER 0x04
|
||||
|
||||
@@ -403,7 +403,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Root System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
|
||||
//
|
||||
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI 2.0 definitions from the ACPI Specification, revision 2.0
|
||||
|
||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ACPI_2_0_H_
|
||||
@@ -103,7 +103,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Root System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
|
||||
//
|
||||
|
||||
@@ -114,7 +114,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Extended System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
|
||||
//
|
||||
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI 3.0 definitions from the ACPI Specification Revision 3.0b October 10, 2006
|
||||
|
||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ACPI_3_0_H_
|
||||
@@ -128,7 +128,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Root System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
|
||||
//
|
||||
|
||||
@@ -139,7 +139,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Extended System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
|
||||
//
|
||||
|
||||
@@ -597,7 +597,7 @@ typedef struct {
|
||||
///
|
||||
/// "RSD PTR " Root System Description Pointer
|
||||
///
|
||||
#define EFI_ACPI_3_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
#define EFI_ACPI_3_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
|
||||
///
|
||||
/// "APIC" Multiple APIC Description Table
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI 4.0 definitions from the ACPI Specification Revision 4.0a April 5, 2010
|
||||
|
||||
Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ACPI_4_0_H_
|
||||
@@ -86,7 +86,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Root System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
|
||||
//
|
||||
|
||||
@@ -97,7 +97,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Extended System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
|
||||
//
|
||||
|
||||
@@ -1132,7 +1132,7 @@ typedef struct {
|
||||
///
|
||||
/// "RSD PTR " Root System Description Pointer
|
||||
///
|
||||
#define EFI_ACPI_4_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
#define EFI_ACPI_4_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
|
||||
///
|
||||
/// "APIC" Multiple APIC Description Table
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI 5.0 definitions from the ACPI Specification Revision 5.0a November 13, 2013.
|
||||
|
||||
Copyright (c) 2014 Hewlett-Packard Development Company, L.P.<BR>
|
||||
Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ACPI_5_0_H_
|
||||
@@ -208,7 +208,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Root System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
|
||||
//
|
||||
|
||||
@@ -219,7 +219,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Extended System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
|
||||
//
|
||||
|
||||
@@ -1876,7 +1876,7 @@ typedef struct {
|
||||
///
|
||||
/// "RSD PTR " Root System Description Pointer
|
||||
///
|
||||
#define EFI_ACPI_5_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
#define EFI_ACPI_5_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
|
||||
///
|
||||
/// "APIC" Multiple APIC Description Table
|
||||
|
@@ -1,16 +1,16 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI 5.1 definitions from the ACPI Specification Revision 5.1 Errata B January, 2016.
|
||||
|
||||
Copyright (c) 2014 Hewlett-Packard Development Company, L.P.<BR>
|
||||
Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ACPI_5_1_H_
|
||||
@@ -89,7 +89,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Root System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
|
||||
//
|
||||
|
||||
@@ -100,7 +100,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Extended System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
|
||||
//
|
||||
|
||||
@@ -1874,7 +1874,7 @@ typedef struct {
|
||||
UINT8 CommandComplete:1;
|
||||
UINT8 SciDoorbell:1;
|
||||
UINT8 Error:1;
|
||||
UINT8 PlatformNotification:1;
|
||||
UINT8 PlatformNotification:1;
|
||||
UINT8 Reserved:4;
|
||||
UINT8 Reserved1;
|
||||
} EFI_ACPI_5_1_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS;
|
||||
@@ -1892,7 +1892,7 @@ typedef struct {
|
||||
///
|
||||
/// "RSD PTR " Root System Description Pointer
|
||||
///
|
||||
#define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
#define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
|
||||
///
|
||||
/// "APIC" Multiple APIC Description Table
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI 6.0 definitions from the ACPI Specification Revision 6.0 Errata A January, 2016.
|
||||
|
||||
Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ACPI_6_0_H_
|
||||
@@ -88,7 +88,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Root System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
|
||||
//
|
||||
|
||||
@@ -99,7 +99,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Extended System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
|
||||
//
|
||||
|
||||
@@ -2063,7 +2063,7 @@ typedef struct {
|
||||
UINT8 CommandComplete:1;
|
||||
UINT8 SciDoorbell:1;
|
||||
UINT8 Error:1;
|
||||
UINT8 PlatformNotification:1;
|
||||
UINT8 PlatformNotification:1;
|
||||
UINT8 Reserved:4;
|
||||
UINT8 Reserved1;
|
||||
} EFI_ACPI_6_0_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS;
|
||||
@@ -2125,7 +2125,7 @@ typedef struct {
|
||||
///
|
||||
/// "RSD PTR " Root System Description Pointer
|
||||
///
|
||||
#define EFI_ACPI_6_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
#define EFI_ACPI_6_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
|
||||
///
|
||||
/// "APIC" Multiple APIC Description Table
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI 6.1 definitions from the ACPI Specification Revision 6.1 January, 2016.
|
||||
|
||||
Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ACPI_6_1_H_
|
||||
@@ -88,7 +88,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Root System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
|
||||
//
|
||||
|
||||
@@ -99,7 +99,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Extended System Description Table
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// No definition needed as it is a common description table header, the same with
|
||||
// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
|
||||
//
|
||||
|
||||
@@ -2095,7 +2095,7 @@ typedef struct {
|
||||
UINT8 CommandComplete:1;
|
||||
UINT8 SciDoorbell:1;
|
||||
UINT8 Error:1;
|
||||
UINT8 PlatformNotification:1;
|
||||
UINT8 PlatformNotification:1;
|
||||
UINT8 Reserved:4;
|
||||
UINT8 Reserved1;
|
||||
} EFI_ACPI_6_1_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS;
|
||||
@@ -2157,7 +2157,7 @@ typedef struct {
|
||||
///
|
||||
/// "RSD PTR " Root System Description Pointer
|
||||
///
|
||||
#define EFI_ACPI_6_1_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
#define EFI_ACPI_6_1_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
|
||||
|
||||
///
|
||||
/// "APIC" Multiple APIC Description Table
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI Alert Standard Format Description Table ASF! as described in the ASF2.0 Specification
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _ALERT_STANDARD_FORMAT_TABLE_H_
|
||||
@@ -31,7 +31,7 @@ typedef struct {
|
||||
} EFI_ACPI_ASF_RECORD_HEADER;
|
||||
|
||||
///
|
||||
/// This structure contains information that identifies the system's type
|
||||
/// This structure contains information that identifies the system's type
|
||||
/// and configuration
|
||||
///
|
||||
typedef struct {
|
||||
@@ -84,7 +84,7 @@ typedef struct {
|
||||
UINT8 DeviceAddress;
|
||||
UINT8 Command;
|
||||
UINT8 DataValue;
|
||||
} EFI_ACPI_ASF_CONTROLDATA;
|
||||
} EFI_ACPI_ASF_CONTROLDATA;
|
||||
|
||||
///
|
||||
/// Alert Remote Control System Actions
|
||||
|
@@ -2,13 +2,13 @@
|
||||
This file contains just some basic definitions that are needed by drivers
|
||||
that dealing with ATA/ATAPI interface.
|
||||
|
||||
Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
@@ -21,59 +21,59 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
///
|
||||
/// ATA5_IDENTIFY_DATA is defined in ATA-5.
|
||||
/// (This structure is provided mainly for backward-compatibility support.
|
||||
/// Old drivers may reference fields that are marked "obsolete" in
|
||||
/// ATA_IDENTIFY_DATA, which currently conforms to ATA-8.)
|
||||
/// Old drivers may reference fields that are marked "obsolete" in
|
||||
/// ATA_IDENTIFY_DATA, which currently conforms to ATA-8.)
|
||||
///
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
UINT16 config; ///< General Configuration.
|
||||
UINT16 cylinders; ///< Number of Cylinders.
|
||||
UINT16 reserved_2;
|
||||
UINT16 heads; ///< Number of logical heads.
|
||||
UINT16 vendor_data1;
|
||||
UINT16 vendor_data2;
|
||||
UINT16 sectors_per_track;
|
||||
UINT16 vendor_specific_7_9[3];
|
||||
CHAR8 SerialNo[20]; ///< ASCII
|
||||
UINT16 vendor_specific_20_21[2];
|
||||
UINT16 ecc_bytes_available;
|
||||
CHAR8 FirmwareVer[8]; ///< ASCII
|
||||
CHAR8 ModelName[40]; ///< ASCII
|
||||
UINT16 multi_sector_cmd_max_sct_cnt;
|
||||
UINT16 reserved_48;
|
||||
UINT16 capabilities;
|
||||
UINT16 reserved_50;
|
||||
UINT16 pio_cycle_timing;
|
||||
UINT16 reserved_52;
|
||||
UINT16 field_validity;
|
||||
UINT16 current_cylinders;
|
||||
UINT16 current_heads;
|
||||
UINT16 current_sectors;
|
||||
UINT16 CurrentCapacityLsb;
|
||||
UINT16 CurrentCapacityMsb;
|
||||
UINT16 reserved_59;
|
||||
UINT16 user_addressable_sectors_lo;
|
||||
UINT16 user_addressable_sectors_hi;
|
||||
UINT16 reserved_62;
|
||||
UINT16 multi_word_dma_mode;
|
||||
UINT16 advanced_pio_modes;
|
||||
UINT16 min_multi_word_dma_cycle_time;
|
||||
UINT16 rec_multi_word_dma_cycle_time;
|
||||
UINT16 min_pio_cycle_time_without_flow_control;
|
||||
UINT16 min_pio_cycle_time_with_flow_control;
|
||||
UINT16 reserved_69_79[11];
|
||||
UINT16 major_version_no;
|
||||
UINT16 minor_version_no;
|
||||
UINT16 command_set_supported_82; ///< word 82
|
||||
UINT16 command_set_supported_83; ///< word 83
|
||||
UINT16 command_set_feature_extn; ///< word 84
|
||||
UINT16 command_set_feature_enb_85; ///< word 85
|
||||
UINT16 command_set_feature_enb_86; ///< word 86
|
||||
UINT16 command_set_feature_default; ///< word 87
|
||||
UINT16 ultra_dma_mode; ///< word 88
|
||||
UINT16 reserved_89_127[39];
|
||||
UINT16 security_status;
|
||||
UINT16 vendor_data_129_159[31];
|
||||
UINT16 reserved_160_255[96];
|
||||
UINT16 reserved_2;
|
||||
UINT16 heads; ///< Number of logical heads.
|
||||
UINT16 vendor_data1;
|
||||
UINT16 vendor_data2;
|
||||
UINT16 sectors_per_track;
|
||||
UINT16 vendor_specific_7_9[3];
|
||||
CHAR8 SerialNo[20]; ///< ASCII
|
||||
UINT16 vendor_specific_20_21[2];
|
||||
UINT16 ecc_bytes_available;
|
||||
CHAR8 FirmwareVer[8]; ///< ASCII
|
||||
CHAR8 ModelName[40]; ///< ASCII
|
||||
UINT16 multi_sector_cmd_max_sct_cnt;
|
||||
UINT16 reserved_48;
|
||||
UINT16 capabilities;
|
||||
UINT16 reserved_50;
|
||||
UINT16 pio_cycle_timing;
|
||||
UINT16 reserved_52;
|
||||
UINT16 field_validity;
|
||||
UINT16 current_cylinders;
|
||||
UINT16 current_heads;
|
||||
UINT16 current_sectors;
|
||||
UINT16 CurrentCapacityLsb;
|
||||
UINT16 CurrentCapacityMsb;
|
||||
UINT16 reserved_59;
|
||||
UINT16 user_addressable_sectors_lo;
|
||||
UINT16 user_addressable_sectors_hi;
|
||||
UINT16 reserved_62;
|
||||
UINT16 multi_word_dma_mode;
|
||||
UINT16 advanced_pio_modes;
|
||||
UINT16 min_multi_word_dma_cycle_time;
|
||||
UINT16 rec_multi_word_dma_cycle_time;
|
||||
UINT16 min_pio_cycle_time_without_flow_control;
|
||||
UINT16 min_pio_cycle_time_with_flow_control;
|
||||
UINT16 reserved_69_79[11];
|
||||
UINT16 major_version_no;
|
||||
UINT16 minor_version_no;
|
||||
UINT16 command_set_supported_82; ///< word 82
|
||||
UINT16 command_set_supported_83; ///< word 83
|
||||
UINT16 command_set_feature_extn; ///< word 84
|
||||
UINT16 command_set_feature_enb_85; ///< word 85
|
||||
UINT16 command_set_feature_enb_86; ///< word 86
|
||||
UINT16 command_set_feature_default; ///< word 87
|
||||
UINT16 ultra_dma_mode; ///< word 88
|
||||
UINT16 reserved_89_127[39];
|
||||
UINT16 security_status;
|
||||
UINT16 vendor_data_129_159[31];
|
||||
UINT16 reserved_160_255[96];
|
||||
} ATA5_IDENTIFY_DATA;
|
||||
|
||||
///
|
||||
@@ -86,50 +86,50 @@ typedef struct {
|
||||
UINT16 obsolete_1;
|
||||
UINT16 specific_config; ///< Specific Configuration.
|
||||
UINT16 obsolete_3;
|
||||
UINT16 retired_4_5[2];
|
||||
UINT16 retired_4_5[2];
|
||||
UINT16 obsolete_6;
|
||||
UINT16 cfa_reserved_7_8[2];
|
||||
UINT16 retired_9;
|
||||
UINT16 retired_9;
|
||||
CHAR8 SerialNo[20]; ///< word 10~19
|
||||
UINT16 retired_20_21[2];
|
||||
UINT16 obsolete_22;
|
||||
UINT16 retired_20_21[2];
|
||||
UINT16 obsolete_22;
|
||||
CHAR8 FirmwareVer[8]; ///< word 23~26
|
||||
CHAR8 ModelName[40]; ///< word 27~46
|
||||
UINT16 multi_sector_cmd_max_sct_cnt;
|
||||
UINT16 trusted_computing_support;
|
||||
UINT16 trusted_computing_support;
|
||||
UINT16 capabilities_49;
|
||||
UINT16 capabilities_50;
|
||||
UINT16 obsolete_51_52[2];
|
||||
UINT16 field_validity;
|
||||
UINT16 obsolete_54_58[5];
|
||||
UINT16 obsolete_51_52[2];
|
||||
UINT16 field_validity;
|
||||
UINT16 obsolete_54_58[5];
|
||||
UINT16 multi_sector_setting;
|
||||
UINT16 user_addressable_sectors_lo;
|
||||
UINT16 user_addressable_sectors_hi;
|
||||
UINT16 obsolete_62;
|
||||
UINT16 multi_word_dma_mode;
|
||||
UINT16 advanced_pio_modes;
|
||||
UINT16 min_multi_word_dma_cycle_time;
|
||||
UINT16 rec_multi_word_dma_cycle_time;
|
||||
UINT16 min_pio_cycle_time_without_flow_control;
|
||||
UINT16 min_pio_cycle_time_with_flow_control;
|
||||
UINT16 user_addressable_sectors_lo;
|
||||
UINT16 user_addressable_sectors_hi;
|
||||
UINT16 obsolete_62;
|
||||
UINT16 multi_word_dma_mode;
|
||||
UINT16 advanced_pio_modes;
|
||||
UINT16 min_multi_word_dma_cycle_time;
|
||||
UINT16 rec_multi_word_dma_cycle_time;
|
||||
UINT16 min_pio_cycle_time_without_flow_control;
|
||||
UINT16 min_pio_cycle_time_with_flow_control;
|
||||
UINT16 additional_supported; ///< word 69
|
||||
UINT16 reserved_70;
|
||||
UINT16 reserved_71_74[4]; ///< Reserved for IDENTIFY PACKET DEVICE cmd.
|
||||
UINT16 queue_depth;
|
||||
UINT16 queue_depth;
|
||||
UINT16 serial_ata_capabilities;
|
||||
UINT16 reserved_77; ///< Reserved for Serial ATA
|
||||
UINT16 serial_ata_features_supported;
|
||||
UINT16 serial_ata_features_enabled;
|
||||
UINT16 major_version_no;
|
||||
UINT16 minor_version_no;
|
||||
UINT16 major_version_no;
|
||||
UINT16 minor_version_no;
|
||||
UINT16 command_set_supported_82; ///< word 82
|
||||
UINT16 command_set_supported_83; ///< word 83
|
||||
UINT16 command_set_feature_extn; ///< word 84
|
||||
UINT16 command_set_feature_enb_85; ///< word 85
|
||||
UINT16 command_set_feature_enb_86; ///< word 86
|
||||
UINT16 command_set_feature_default; ///< word 87
|
||||
UINT16 ultra_dma_mode; ///< word 88
|
||||
UINT16 time_for_security_erase_unit;
|
||||
UINT16 ultra_dma_mode; ///< word 88
|
||||
UINT16 time_for_security_erase_unit;
|
||||
UINT16 time_for_enhanced_security_erase_unit;
|
||||
UINT16 advanced_power_management_level;
|
||||
UINT16 master_password_identifier;
|
||||
@@ -154,7 +154,7 @@ typedef struct {
|
||||
UINT16 reserved_121_126[6];
|
||||
UINT16 obsolete_127;
|
||||
UINT16 security_status; ///< word 128
|
||||
UINT16 vendor_specific_129_159[31];
|
||||
UINT16 vendor_specific_129_159[31];
|
||||
UINT16 cfa_power_mode; ///< word 160
|
||||
UINT16 reserved_for_compactflash_161_167[7];
|
||||
UINT16 device_nominal_form_factor;
|
||||
@@ -239,7 +239,7 @@ typedef struct {
|
||||
UINT16 reserved_95_107[13];
|
||||
UINT16 world_wide_name[4]; ///< word 108~111
|
||||
UINT16 reserved_for_128bit_wwn_112_115[4];
|
||||
UINT16 reserved_116_118[3];
|
||||
UINT16 reserved_116_118[3];
|
||||
UINT16 command_and_feature_sets_supported; ///< word 119
|
||||
UINT16 command_and_feature_sets_supported_enabled;
|
||||
UINT16 reserved_121_124[4];
|
||||
@@ -458,7 +458,7 @@ typedef struct {
|
||||
|
||||
///
|
||||
/// ATAPI_PACKET_COMMAND is not defined in the ATA specification.
|
||||
/// We add it here for the convenience of ATA/ATAPI module writers.
|
||||
/// We add it here for the convenience of ATA/ATAPI module writers.
|
||||
///
|
||||
typedef union {
|
||||
UINT16 Data16[6];
|
||||
@@ -477,7 +477,7 @@ typedef union {
|
||||
#define ATAPI_MAX_DMA_CMD_SECTORS 0x100
|
||||
|
||||
// ATA/ATAPI Signature equates
|
||||
#define ATA_SIGNATURE 0x0101 ///< defined in ACS-3
|
||||
#define ATA_SIGNATURE 0x0101 ///< defined in ACS-3
|
||||
#define ATAPI_SIGNATURE 0xeb14 ///< defined in ACS-3
|
||||
#define ATAPI_SIGNATURE_32 0xeb140101 ///< defined in ACS-3
|
||||
|
||||
@@ -521,11 +521,11 @@ typedef union {
|
||||
#define ATA_CMD_GET_CONFIGURATION 0x46 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_GCCD_RT_FIELD_VALUE_ALL 0x00 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_GCCD_RT_FIELD_VALUE_CURRENT 0x01 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_GCCD_RT_FIELD_VALUE_SINGLE 0x02 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_GCCD_RT_FIELD_VALUE_RESERVED 0x03 ///< defined in ATAPI Multimedia Devices
|
||||
|
||||
#define ATA_GCCD_RT_FIELD_VALUE_SINGLE 0x02 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_GCCD_RT_FIELD_VALUE_RESERVED 0x03 ///< defined in ATAPI Multimedia Devices
|
||||
|
||||
#define ATA_FEATURE_LIST_PROFILE_LIST 0x0000 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_FEATURE_LIST_CORE 0x0001 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_FEATURE_LIST_CORE 0x0001 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_FEATURE_LIST_MORPHING 0x0002 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_FEATURE_LIST_REMOVEABLE_MEDIUM 0x0003 ///< defined in ATAPI Multimedia Devices
|
||||
#define ATA_FEATURE_LIST_WRITE_PROTECT 0x0004 ///< defined in ATAPI Multimedia Devices
|
||||
@@ -549,33 +549,33 @@ typedef union {
|
||||
//
|
||||
#define ATA_CMD_IDENTIFY_DRIVE 0xec ///< defined from ATA-3
|
||||
#define ATA_CMD_READ_BUFFER 0xe4 ///< defined from ATA-1
|
||||
#define ATA_CMD_READ_SECTORS 0x20 ///< defined from ATA-1
|
||||
#define ATA_CMD_READ_SECTORS 0x20 ///< defined from ATA-1
|
||||
#define ATA_CMD_READ_SECTORS_WITH_RETRY 0x21 ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_READ_LONG 0x22 ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_READ_LONG_WITH_RETRY 0x23 ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_READ_SECTORS_EXT 0x24 ///< defined from ATA-6
|
||||
#define ATA_CMD_READ_MULTIPLE 0xc4 ///< defined in ACS-3
|
||||
#define ATA_CMD_READ_MULTIPLE_EXT 0x29 ///< defined in ACS-3
|
||||
#define ATA_CMD_READ_LOG_EXT 0x2f ///< defined in ACS-3
|
||||
#define ATA_CMD_READ_MULTIPLE 0xc4 ///< defined in ACS-3
|
||||
#define ATA_CMD_READ_MULTIPLE_EXT 0x29 ///< defined in ACS-3
|
||||
#define ATA_CMD_READ_LOG_EXT 0x2f ///< defined in ACS-3
|
||||
|
||||
//
|
||||
// Class 2: PIO Data-Out Commands
|
||||
//
|
||||
#define ATA_CMD_FORMAT_TRACK 0x50 ///< defined from ATA-1, obsoleted from ATA-4
|
||||
#define ATA_CMD_WRITE_BUFFER 0xe8 ///< defined from ATA-1
|
||||
#define ATA_CMD_WRITE_BUFFER 0xe8 ///< defined from ATA-1
|
||||
#define ATA_CMD_WRITE_SECTORS 0x30 ///< defined from ATA-1
|
||||
#define ATA_CMD_WRITE_SECTORS_WITH_RETRY 0x31 ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_WRITE_LONG 0x32 ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_WRITE_LONG_WITH_RETRY 0x33 ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_WRITE_VERIFY 0x3c ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_WRITE_SECTORS_EXT 0x34 ///< defined from ATA-6
|
||||
#define ATA_CMD_WRITE_MULTIPLE 0xc5 ///< defined in ACS-3
|
||||
#define ATA_CMD_WRITE_MULTIPLE_EXT 0x39 ///< defined in ACS-3
|
||||
#define ATA_CMD_WRITE_MULTIPLE 0xc5 ///< defined in ACS-3
|
||||
#define ATA_CMD_WRITE_MULTIPLE_EXT 0x39 ///< defined in ACS-3
|
||||
|
||||
//
|
||||
// Class 3 No Data Command
|
||||
//
|
||||
#define ATA_CMD_ACK_MEDIA_CHANGE 0xdb ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_ACK_MEDIA_CHANGE 0xdb ///< defined from ATA-1, obsoleted from ATA-5
|
||||
#define ATA_CMD_BOOT_POST_BOOT 0xdc ///< defined from ATA-1, obsoleted from ATA-3
|
||||
#define ATA_CMD_BOOT_PRE_BOOT 0xdd ///< defined from ATA-1, obsoleted from ATA-3
|
||||
#define ATA_CMD_CHECK_POWER_MODE 0x98 ///< defined from ATA-1, obsoleted from ATA-4
|
||||
@@ -599,39 +599,39 @@ typedef union {
|
||||
#define ATA_CMD_STANDBY_ALIAS 0xe2 ///< defined from ATA-1
|
||||
#define ATA_CMD_STANDBY_IMMEDIATE 0x94 ///< defined from ATA-1, obsoleted from ATA-4
|
||||
#define ATA_CMD_STANDBY_IMMEDIATE_ALIAS 0xe0 ///< defined from ATA-1
|
||||
#define ATA_CMD_SLEEP 0xe6 ///< defined in ACS-3
|
||||
#define ATA_CMD_READ_NATIVE_MAX_ADDRESS 0xf8 ///< defined in ATA-6
|
||||
#define ATA_CMD_READ_NATIVE_MAX_ADDRESS_EXT 0x27 ///< defined in ATA-6
|
||||
#define ATA_CMD_SLEEP 0xe6 ///< defined in ACS-3
|
||||
#define ATA_CMD_READ_NATIVE_MAX_ADDRESS 0xf8 ///< defined in ATA-6
|
||||
#define ATA_CMD_READ_NATIVE_MAX_ADDRESS_EXT 0x27 ///< defined in ATA-6
|
||||
|
||||
//
|
||||
// Set Features Sub Command
|
||||
//
|
||||
#define ATA_SUB_CMD_ENABLE_VOLATILE_WRITE_CACHE 0x02 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_SET_TRANSFER_MODE 0x03 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_APM 0x05 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_PUIS 0x06 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_PUIS_SET_DEVICE_SPINUP 0x07 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_WRITE_READ_VERIFY 0x0b ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_SATA_FEATURE 0x10 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_MEDIA_STATUS_NOTIFICATION 0x31 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_FREE_FALL_CONTROL 0x41 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_ENABLE 0x42 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_SET_MAX_HOST_INTERFACE_SECTOR_TIMES 0x43 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_EXTENDED_POWER_CONDITIONS 0x4a ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_READ_LOOK_AHEAD 0x55 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_EN_DIS_DSN_FEATURE 0x63 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_REVERT_TO_POWER_ON_DEFAULTS 0x66 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_VOLATILE_WRITE_CACHE 0x82 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_APM 0x85 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_PUIS 0x86 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_WRITE_READ_VERIFY 0x8b ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_SATA_FEATURE 0x90 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_MEDIA_STATUS_NOTIFICATION 0x95 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_READ_LOOK_AHEAD 0xaa ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_FREE_FALL_CONTROL 0xc1 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_DISABLE 0xc2 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_EN_DIS_SENSE_DATA_REPORTING 0xc3 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_REVERT_TO_POWER_ON_DEFAULTS 0xcc ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_VOLATILE_WRITE_CACHE 0x02 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_SET_TRANSFER_MODE 0x03 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_APM 0x05 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_PUIS 0x06 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_PUIS_SET_DEVICE_SPINUP 0x07 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_WRITE_READ_VERIFY 0x0b ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_SATA_FEATURE 0x10 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_MEDIA_STATUS_NOTIFICATION 0x31 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_FREE_FALL_CONTROL 0x41 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_ENABLE 0x42 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_SET_MAX_HOST_INTERFACE_SECTOR_TIMES 0x43 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_EXTENDED_POWER_CONDITIONS 0x4a ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_READ_LOOK_AHEAD 0x55 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_EN_DIS_DSN_FEATURE 0x63 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_REVERT_TO_POWER_ON_DEFAULTS 0x66 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_VOLATILE_WRITE_CACHE 0x82 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_APM 0x85 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_PUIS 0x86 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_WRITE_READ_VERIFY 0x8b ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_SATA_FEATURE 0x90 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_MEDIA_STATUS_NOTIFICATION 0x95 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_READ_LOOK_AHEAD 0xaa ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_DISABLE_FREE_FALL_CONTROL 0xc1 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_DISABLE 0xc2 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_EN_DIS_SENSE_DATA_REPORTING 0xc3 ///< defined in ACS-3
|
||||
#define ATA_SUB_CMD_ENABLE_REVERT_TO_POWER_ON_DEFAULTS 0xcc ///< defined in ACS-3
|
||||
|
||||
//
|
||||
// S.M.A.R.T
|
||||
@@ -640,13 +640,13 @@ typedef union {
|
||||
#define ATA_CONSTANT_C2 0xc2 ///< reserved
|
||||
#define ATA_CONSTANT_4F 0x4f ///< reserved
|
||||
|
||||
#define ATA_SMART_READ_DATA 0xd0 ///< defined in ACS-3
|
||||
#define ATA_SMART_READ_DATA 0xd0 ///< defined in ACS-3
|
||||
|
||||
#define ATA_SMART_AUTOSAVE 0xd2 ///< defined in ACS-3
|
||||
#define ATA_SMART_AUTOSAVE 0xd2 ///< defined in ACS-3
|
||||
#define ATA_AUTOSAVE_DISABLE_ATTR 0x00
|
||||
#define ATA_AUTOSAVE_ENABLE_ATTR 0xf1
|
||||
|
||||
#define ATA_SMART_EXECUTE_OFFLINE_IMMEDIATE 0xd4 ///< defined in ACS-3
|
||||
#define ATA_SMART_EXECUTE_OFFLINE_IMMEDIATE 0xd4 ///< defined in ACS-3
|
||||
#define ATA_EXECUTE_SMART_OFFLINE_ROUTINE 0x00 ///< defined in ACS-3
|
||||
#define ATA_EXECUTE_SMART_OFFLINE_SHORT_SELFTEST 0x01 ///< defined in ACS-3
|
||||
#define ATA_EXECUTE_SMART_OFFLINE_EXTENDED_SELFTEST 0x02 ///< defined in ACS-3
|
||||
@@ -658,25 +658,25 @@ typedef union {
|
||||
#define ATA_EXECUTE_SMART_CAPTIVE_CONVEYANCE_SELFTEST 0x83 ///< defined in ACS-3
|
||||
#define ATA_EXECUTE_SMART_CAPTIVE_SELECTIVE_SELFTEST 0x84 ///< defined in ACS-3
|
||||
|
||||
#define ATA_SMART_READLOG 0xd5 ///< defined in ACS-3
|
||||
#define ATA_SMART_WRITELOG 0xd6 ///< defined in ACS-3
|
||||
#define ATA_SMART_READLOG 0xd5 ///< defined in ACS-3
|
||||
#define ATA_SMART_WRITELOG 0xd6 ///< defined in ACS-3
|
||||
#define ATA_SMART_ENABLE_OPERATION 0xd8 ///< reserved
|
||||
#define ATA_SMART_DISABLE_OPERATION 0xd9 ///< defined in ACS-3
|
||||
#define ATA_SMART_DISABLE_OPERATION 0xd9 ///< defined in ACS-3
|
||||
#define ATA_SMART_RETURN_STATUS 0xda ///< defined from ATA-3
|
||||
|
||||
#define ATA_SMART_THRESHOLD_NOT_EXCEEDED_VALUE 0xc24f ///< defined in ACS-3
|
||||
#define ATA_SMART_THRESHOLD_EXCEEDED_VALUE 0x2cf4 ///< defined in ACS-3
|
||||
#define ATA_SMART_THRESHOLD_NOT_EXCEEDED_VALUE 0xc24f ///< defined in ACS-3
|
||||
#define ATA_SMART_THRESHOLD_EXCEEDED_VALUE 0x2cf4 ///< defined in ACS-3
|
||||
|
||||
// SMART Log Definitions
|
||||
#define ATA_SMART_LOG_DIRECTORY 0x00 ///< defined in ACS-3
|
||||
#define ATA_SMART_SUM_SMART_ERROR_LOG 0x01 ///< defined in ACS-3
|
||||
#define ATA_SMART_COMP_SMART_ERROR_LOG 0x02 ///< defined in ACS-3
|
||||
#define ATA_SMART_EXT_COMP_SMART_ERROR_LOG 0x03 ///< defined in ACS-3
|
||||
#define ATA_SMART_SMART_SELFTEST_LOG 0x06 ///< defined in ACS-3
|
||||
#define ATA_SMART_EXT_SMART_SELFTEST_LOG 0x07 ///< defined in ACS-3
|
||||
#define ATA_SMART_SELECTIVE_SELFTEST_LOG 0x09 ///< defined in ACS-3
|
||||
#define ATA_SMART_HOST_VENDOR_SPECIFIC 0x80 ///< defined in ACS-3
|
||||
#define ATA_SMART_DEVICE_VENDOR_SPECIFIC 0xa0 ///< defined in ACS-3
|
||||
#define ATA_SMART_LOG_DIRECTORY 0x00 ///< defined in ACS-3
|
||||
#define ATA_SMART_SUM_SMART_ERROR_LOG 0x01 ///< defined in ACS-3
|
||||
#define ATA_SMART_COMP_SMART_ERROR_LOG 0x02 ///< defined in ACS-3
|
||||
#define ATA_SMART_EXT_COMP_SMART_ERROR_LOG 0x03 ///< defined in ACS-3
|
||||
#define ATA_SMART_SMART_SELFTEST_LOG 0x06 ///< defined in ACS-3
|
||||
#define ATA_SMART_EXT_SMART_SELFTEST_LOG 0x07 ///< defined in ACS-3
|
||||
#define ATA_SMART_SELECTIVE_SELFTEST_LOG 0x09 ///< defined in ACS-3
|
||||
#define ATA_SMART_HOST_VENDOR_SPECIFIC 0x80 ///< defined in ACS-3
|
||||
#define ATA_SMART_DEVICE_VENDOR_SPECIFIC 0xa0 ///< defined in ACS-3
|
||||
|
||||
//
|
||||
// Class 4: DMA Command
|
||||
@@ -687,18 +687,18 @@ typedef union {
|
||||
#define ATA_CMD_WRITE_DMA 0xca ///< defined from ATA-1
|
||||
#define ATA_CMD_WRITE_DMA_WITH_RETRY 0xcb ///< defined from ATA-1, obsoleted from ATA-
|
||||
#define ATA_CMD_WRITE_DMA_EXT 0x35 ///< defined from ATA-6
|
||||
|
||||
|
||||
//
|
||||
// ATA Security commands
|
||||
//
|
||||
#define ATA_CMD_SECURITY_SET_PASSWORD 0xf1 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_UNLOCK 0xf2 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_ERASE_PREPARE 0xf3 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_ERASE_UNIT 0xf4 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_FREEZE_LOCK 0xf5 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_DISABLE_PASSWORD 0xf6 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_SET_PASSWORD 0xf1 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_UNLOCK 0xf2 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_ERASE_PREPARE 0xf3 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_ERASE_UNIT 0xf4 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_FREEZE_LOCK 0xf5 ///< defined in ACS-3
|
||||
#define ATA_CMD_SECURITY_DISABLE_PASSWORD 0xf6 ///< defined in ACS-3
|
||||
|
||||
#define ATA_SECURITY_BUFFER_LENGTH 512 ///< defined in ACS-3
|
||||
#define ATA_SECURITY_BUFFER_LENGTH 512 ///< defined in ACS-3
|
||||
|
||||
//
|
||||
// ATA Device Config Overlay
|
||||
@@ -712,19 +712,19 @@ typedef union {
|
||||
//
|
||||
// ATA Trusted Computing Feature Set Commands
|
||||
//
|
||||
#define ATA_CMD_TRUSTED_NON_DATA 0x5b ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_RECEIVE 0x5c ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_RECEIVE_DMA 0x5d ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_SEND 0x5e ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_SEND_DMA 0x5f ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_NON_DATA 0x5b ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_RECEIVE 0x5c ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_RECEIVE_DMA 0x5d ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_SEND 0x5e ///< defined in ACS-3
|
||||
#define ATA_CMD_TRUSTED_SEND_DMA 0x5f ///< defined in ACS-3
|
||||
|
||||
//
|
||||
// ATA Trusted Receive Fields
|
||||
//
|
||||
#define ATA_TR_RETURN_SECURITY_PROTOCOL_INFORMATION 0x00 ///< defined in ACS-3
|
||||
#define ATA_TR_SECURITY_PROTOCOL_JEDEC_RESERVED 0xec ///< defined in ACS-3
|
||||
#define ATA_TR_SECURITY_PROTOCOL_SDCARD_RESERVED 0xed ///< defined in ACS-3
|
||||
#define ATA_TR_SECURITY_PROTOCOL_IEEE1667_RESERVED 0xee ///< defined in ACS-3
|
||||
#define ATA_TR_RETURN_SECURITY_PROTOCOL_INFORMATION 0x00 ///< defined in ACS-3
|
||||
#define ATA_TR_SECURITY_PROTOCOL_JEDEC_RESERVED 0xec ///< defined in ACS-3
|
||||
#define ATA_TR_SECURITY_PROTOCOL_SDCARD_RESERVED 0xed ///< defined in ACS-3
|
||||
#define ATA_TR_SECURITY_PROTOCOL_IEEE1667_RESERVED 0xee ///< defined in ACS-3
|
||||
|
||||
//
|
||||
// Equates used for Acoustic Flags
|
||||
@@ -732,18 +732,18 @@ typedef union {
|
||||
#define ATA_ACOUSTIC_LEVEL_BYPASS 0xff ///< defined from ATA-6
|
||||
#define ATA_ACOUSTIC_LEVEL_MAXIMUM_PERFORMANCE 0xfe ///< defined from ATA-6
|
||||
#define ATA_ACOUSTIC_LEVEL_QUIET 0x80 ///< defined from ATA-6
|
||||
|
||||
|
||||
//
|
||||
// Equates used for DiPM Support
|
||||
//
|
||||
#define ATA_CMD_DIPM_SUB 0x03 // defined in ACS-3 : Count value in SetFeature identification : 03h Device-initiated interface power state transitions
|
||||
#define ATA_DIPM_ENABLE 0x10 // defined in ACS-3
|
||||
#define ATA_DIPM_DISABLE 0x90 // defined in ACS-3
|
||||
#define ATA_CMD_DIPM_SUB 0x03 // defined in ACS-3 : Count value in SetFeature identification : 03h Device-initiated interface power state transitions
|
||||
#define ATA_DIPM_ENABLE 0x10 // defined in ACS-3
|
||||
#define ATA_DIPM_DISABLE 0x90 // defined in ACS-3
|
||||
|
||||
//
|
||||
// Equates used for DevSleep Support
|
||||
//
|
||||
#define ATA_CMD_DEVSLEEP_SUB 0x09 // defined in SATA 3.2 Gold Spec : Count value in SetFeature identification : 09h Device Sleep
|
||||
#define ATA_CMD_DEVSLEEP_SUB 0x09 // defined in SATA 3.2 Gold Spec : Count value in SetFeature identification : 09h Device Sleep
|
||||
#define ATA_DEVSLEEP_ENABLE 0x10 // defined in SATA 3.2 Gold Spec
|
||||
#define ATA_DEVSLEEP_DISABLE 0x90 // defined in SATA 3.2 Gold Spec
|
||||
|
||||
@@ -765,7 +765,7 @@ typedef union {
|
||||
/// Default content of device control register, disable INT,
|
||||
/// Bit3 is set to 1 according ATA-1
|
||||
///
|
||||
#define ATA_DEFAULT_CTL (0x0a)
|
||||
#define ATA_DEFAULT_CTL (0x0a)
|
||||
///
|
||||
/// Default context of Device/Head Register,
|
||||
/// Bit7 and Bit5 are set to 1 for back-compatibilities.
|
||||
@@ -778,9 +778,9 @@ typedef union {
|
||||
|
||||
//
|
||||
// Sense Key, Additional Sense Codes and Additional Sense Code Qualifier
|
||||
// defined in MultiMedia Commands (MMC, MMC-2)
|
||||
// defined in MultiMedia Commands (MMC, MMC-2)
|
||||
//
|
||||
// Sense Key
|
||||
// Sense Key
|
||||
//
|
||||
#define ATA_SK_NO_SENSE (0x0)
|
||||
#define ATA_SK_RECOVERY_ERROR (0x1)
|
||||
@@ -825,7 +825,7 @@ typedef union {
|
||||
|
||||
//
|
||||
// Error Register
|
||||
//
|
||||
//
|
||||
#define ATA_ERRREG_BBK BIT7 ///< Bad block detected defined from ATA-1, obsoleted from ATA-2
|
||||
#define ATA_ERRREG_UNC BIT6 ///< Uncorrectable Data defined from ATA-1, obsoleted from ATA-4
|
||||
#define ATA_ERRREG_MC BIT5 ///< Media Change defined from ATA-1, obsoleted from ATA-4
|
||||
|
@@ -1,8 +1,8 @@
|
||||
/** @file
|
||||
ACPI debug port 2 table definition, defined at
|
||||
/** @file
|
||||
ACPI debug port 2 table definition, defined at
|
||||
Microsoft DebugPort2Specification.
|
||||
|
||||
Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2012 - 2016, ARM Limited. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@@ -1,8 +1,8 @@
|
||||
/** @file
|
||||
ACPI debug port table definition, defined at
|
||||
/** @file
|
||||
ACPI debug port table definition, defined at
|
||||
Microsoft DebugPortSpecification.
|
||||
|
||||
Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
|
@@ -1,18 +1,18 @@
|
||||
/** @file
|
||||
ElTorito Partitions Format Definition.
|
||||
This file includes some defintions from
|
||||
ElTorito Partitions Format Definition.
|
||||
This file includes some defintions from
|
||||
1. "El Torito" Bootable CD-ROM Format Specification, Version 1.0.
|
||||
2. Volume and File Structure of CDROM for Information Interchange,
|
||||
2. Volume and File Structure of CDROM for Information Interchange,
|
||||
Standard ECMA-119. (IS0 9660)
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -57,13 +57,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
///
|
||||
///
|
||||
/// CD-ROM Volume Descriptor
|
||||
///
|
||||
typedef union {
|
||||
///
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 Type;
|
||||
CHAR8 Id[5]; ///< "CD001"
|
||||
UINT8 Type;
|
||||
CHAR8 Id[5]; ///< "CD001"
|
||||
CHAR8 Reserved[82];
|
||||
} Unknown;
|
||||
|
||||
@@ -72,29 +72,29 @@ typedef union {
|
||||
///
|
||||
struct {
|
||||
UINT8 Type; ///< Must be 0
|
||||
CHAR8 Id[5]; ///< "CD001"
|
||||
UINT8 Version; ///< Must be 1
|
||||
CHAR8 SystemId[32]; ///< "EL TORITO SPECIFICATION"
|
||||
CHAR8 Unused[32]; ///< Must be 0
|
||||
CHAR8 Id[5]; ///< "CD001"
|
||||
UINT8 Version; ///< Must be 1
|
||||
CHAR8 SystemId[32]; ///< "EL TORITO SPECIFICATION"
|
||||
CHAR8 Unused[32]; ///< Must be 0
|
||||
UINT8 EltCatalog[4]; ///< Absolute pointer to first sector of Boot Catalog
|
||||
CHAR8 Unused2[13]; ///< Must be 0
|
||||
} BootRecordVolume;
|
||||
|
||||
|
||||
///
|
||||
/// Primary Volumn Descriptor, defined in ISO 9660.
|
||||
///
|
||||
struct {
|
||||
UINT8 Type;
|
||||
UINT8 Type;
|
||||
CHAR8 Id[5]; ///< "CD001"
|
||||
UINT8 Version;
|
||||
UINT8 Version;
|
||||
UINT8 Unused; ///< Must be 0
|
||||
CHAR8 SystemId[32];
|
||||
CHAR8 VolumeId[32];
|
||||
UINT8 Unused2[8]; ///< Must be 0
|
||||
CHAR8 SystemId[32];
|
||||
CHAR8 VolumeId[32];
|
||||
UINT8 Unused2[8]; ///< Must be 0
|
||||
UINT32 VolSpaceSize[2]; ///< the number of Logical Blocks
|
||||
} PrimaryVolume;
|
||||
|
||||
} CDROM_VOLUME_DESCRIPTOR;
|
||||
} CDROM_VOLUME_DESCRIPTOR;
|
||||
|
||||
///
|
||||
/// Catalog Entry
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
ACPI high precision event timer table definition, at www.intel.com
|
||||
Specification name is IA-PC HPET (High Precision Event Timers) Specification.
|
||||
|
||||
Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _HIGH_PRECISION_EVENT_TIMER_TABLE_H_
|
||||
|
@@ -2,7 +2,7 @@
|
||||
Support for HSTI 1.1a specification, defined at
|
||||
Microsoft Hardware Security Testability Specification.
|
||||
|
||||
Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
#define PLATFORM_SECURITY_ROLE_PLATFORM_REFERENCE 0x00000001 // IHV
|
||||
#define PLATFORM_SECURITY_ROLE_PLATFORM_IBV 0x00000002
|
||||
#define PLATFORM_SECURITY_ROLE_IMPLEMENTOR_OEM 0x00000003
|
||||
#define PLATFORM_SECURITY_ROLE_IMPLEMENTOR_ODM 0x00000004
|
||||
#define PLATFORM_SECURITY_ROLE_IMPLEMENTOR_OEM 0x00000003
|
||||
#define PLATFORM_SECURITY_ROLE_IMPLEMENTOR_ODM 0x00000004
|
||||
|
||||
typedef struct {
|
||||
//
|
||||
|
@@ -1,8 +1,8 @@
|
||||
/** @file
|
||||
Hypertext Transfer Protocol -- HTTP/1.1 Standard definitions, from RFC 2616
|
||||
Hypertext Transfer Protocol -- HTTP/1.1 Standard definitions, from RFC 2616
|
||||
|
||||
This file contains common HTTP 1.1 definitions from RFC 2616
|
||||
|
||||
This file contains common HTTP 1.1 definitions from RFC 2616
|
||||
|
||||
(C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
///
|
||||
/// HTTP Version (currently HTTP 1.1)
|
||||
///
|
||||
///
|
||||
/// The version of an HTTP message is indicated by an HTTP-Version field
|
||||
/// in the first line of the message.
|
||||
///
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
///
|
||||
/// HTTP Request Method definitions
|
||||
///
|
||||
///
|
||||
/// The Method token indicates the method to be performed on the
|
||||
/// resource identified by the Request-URI. The method is case-sensitive.
|
||||
///
|
||||
@@ -50,27 +50,27 @@
|
||||
|
||||
///
|
||||
/// Accept Request Header
|
||||
/// The Accept request-header field can be used to specify certain media types which are
|
||||
/// acceptable for the response. Accept headers can be used to indicate that the request
|
||||
/// is specifically limited to a small set of desired types, as in the case of a request
|
||||
/// The Accept request-header field can be used to specify certain media types which are
|
||||
/// acceptable for the response. Accept headers can be used to indicate that the request
|
||||
/// is specifically limited to a small set of desired types, as in the case of a request
|
||||
/// for an in-line image.
|
||||
///
|
||||
#define HTTP_HEADER_ACCEPT "Accept"
|
||||
|
||||
|
||||
///
|
||||
///
|
||||
/// Accept-Charset Request Header
|
||||
/// The Accept-Charset request-header field can be used to indicate what character sets
|
||||
/// are acceptable for the response. This field allows clients capable of understanding
|
||||
/// more comprehensive or special-purpose character sets to signal that capability to a
|
||||
/// The Accept-Charset request-header field can be used to indicate what character sets
|
||||
/// are acceptable for the response. This field allows clients capable of understanding
|
||||
/// more comprehensive or special-purpose character sets to signal that capability to a
|
||||
/// server which is capable of representing documents in those character sets.
|
||||
///
|
||||
#define HTTP_HEADER_ACCEPT_CHARSET "Accept-Charset"
|
||||
|
||||
///
|
||||
///
|
||||
/// Accept-Language Request Header
|
||||
/// The Accept-Language request-header field is similar to Accept,
|
||||
/// but restricts the set of natural languages that are preferred
|
||||
/// The Accept-Language request-header field is similar to Accept,
|
||||
/// but restricts the set of natural languages that are preferred
|
||||
/// as a response to the request.
|
||||
///
|
||||
#define HTTP_HEADER_ACCEPT_LANGUAGE "Accept-Language"
|
||||
@@ -83,39 +83,39 @@
|
||||
#define HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges"
|
||||
|
||||
|
||||
///
|
||||
///
|
||||
/// Accept-Encoding Request Header
|
||||
/// The Accept-Encoding request-header field is similar to Accept,
|
||||
/// The Accept-Encoding request-header field is similar to Accept,
|
||||
/// but restricts the content-codings that are acceptable in the response.
|
||||
///
|
||||
#define HTTP_HEADER_ACCEPT_ENCODING "Accept-Encoding"
|
||||
|
||||
///
|
||||
/// Content-Encoding Header
|
||||
/// The Content-Encoding entity-header field is used as a modifier to the media-type.
|
||||
/// When present, its value indicates what additional content codings have been applied
|
||||
/// to the entity-body, and thus what decoding mechanisms must be applied in order to
|
||||
/// obtain the media-type referenced by the Content-Type header field. Content-Encoding
|
||||
/// is primarily used to allow a document to be compressed without losing the identity
|
||||
/// The Content-Encoding entity-header field is used as a modifier to the media-type.
|
||||
/// When present, its value indicates what additional content codings have been applied
|
||||
/// to the entity-body, and thus what decoding mechanisms must be applied in order to
|
||||
/// obtain the media-type referenced by the Content-Type header field. Content-Encoding
|
||||
/// is primarily used to allow a document to be compressed without losing the identity
|
||||
/// of its underlying media type.
|
||||
///
|
||||
#define HTTP_HEADER_CONTENT_ENCODING "Content-Encoding"
|
||||
|
||||
///
|
||||
///
|
||||
/// HTTP Content-Encoding Compression types
|
||||
///
|
||||
|
||||
#define HTTP_CONTENT_ENCODING_IDENTITY "identity" /// No transformation is used. This is the default value for content coding.
|
||||
#define HTTP_CONTENT_ENCODING_GZIP "gzip" /// Content-Encoding: GNU zip format (described in RFC 1952).
|
||||
#define HTTP_CONTENT_ENCODING_COMPRESS "compress" /// encoding format produced by the common UNIX file compression program "compress".
|
||||
#define HTTP_CONTENT_ENCODING_DEFLATE "deflate" /// The "zlib" format defined in RFC 1950 in combination with the "deflate"
|
||||
#define HTTP_CONTENT_ENCODING_COMPRESS "compress" /// encoding format produced by the common UNIX file compression program "compress".
|
||||
#define HTTP_CONTENT_ENCODING_DEFLATE "deflate" /// The "zlib" format defined in RFC 1950 in combination with the "deflate"
|
||||
/// compression mechanism described in RFC 1951.
|
||||
|
||||
|
||||
///
|
||||
/// Content-Type Header
|
||||
/// The Content-Type entity-header field indicates the media type of the entity-body sent to
|
||||
/// the recipient or, in the case of the HEAD method, the media type that would have been sent
|
||||
/// The Content-Type entity-header field indicates the media type of the entity-body sent to
|
||||
/// the recipient or, in the case of the HEAD method, the media type that would have been sent
|
||||
/// had the request been a GET.
|
||||
///
|
||||
#define HTTP_HEADER_CONTENT_TYPE "Content-Type"
|
||||
@@ -124,12 +124,12 @@
|
||||
//
|
||||
#define HTTP_CONTENT_TYPE_APP_JSON "application/json"
|
||||
#define HTTP_CONTENT_TYPE_APP_OCTET_STREAM "application/octet-stream"
|
||||
|
||||
|
||||
#define HTTP_CONTENT_TYPE_TEXT_HTML "text/html"
|
||||
#define HTTP_CONTENT_TYPE_TEXT_PLAIN "text/plain"
|
||||
#define HTTP_CONTENT_TYPE_TEXT_CSS "text/css"
|
||||
#define HTTP_CONTENT_TYPE_TEXT_XML "text/xml"
|
||||
|
||||
|
||||
#define HTTP_CONTENT_TYPE_IMAGE_GIF "image/gif"
|
||||
#define HTTP_CONTENT_TYPE_IMAGE_JPEG "image/jpeg"
|
||||
#define HTTP_CONTENT_TYPE_IMAGE_PNG "image/png"
|
||||
@@ -138,17 +138,17 @@
|
||||
|
||||
///
|
||||
/// Content-Length Header
|
||||
/// The Content-Length entity-header field indicates the size of the entity-body,
|
||||
/// in decimal number of OCTETs, sent to the recipient or, in the case of the HEAD
|
||||
/// The Content-Length entity-header field indicates the size of the entity-body,
|
||||
/// in decimal number of OCTETs, sent to the recipient or, in the case of the HEAD
|
||||
/// method, the size of the entity-body that would have been sent had the request been a GET.
|
||||
///
|
||||
#define HTTP_HEADER_CONTENT_LENGTH "Content-Length"
|
||||
|
||||
|
||||
///
|
||||
/// Transfer-Encoding Header
|
||||
/// The Transfer-Encoding general-header field indicates what (if any) type of transformation
|
||||
/// has been applied to the message body in order to safely transfer it between the sender
|
||||
/// and the recipient. This differs from the content-coding in that the transfer-coding
|
||||
/// The Transfer-Encoding general-header field indicates what (if any) type of transformation
|
||||
/// has been applied to the message body in order to safely transfer it between the sender
|
||||
/// and the recipient. This differs from the content-coding in that the transfer-coding
|
||||
/// is a property of the message, not of the entity.
|
||||
///
|
||||
#define HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding"
|
||||
@@ -156,14 +156,14 @@
|
||||
|
||||
///
|
||||
/// User Agent Request Header
|
||||
///
|
||||
/// The User-Agent request-header field contains information about the user agent originating
|
||||
/// the request. This is for statistical purposes, the tracing of protocol violations, and
|
||||
/// automated recognition of user agents for the sake of tailoring responses to avoid
|
||||
/// particular user agent limitations. User agents SHOULD include this field with requests.
|
||||
/// The field can contain multiple product tokens and comments identifying the agent and any
|
||||
/// subproducts which form a significant part of the user agent.
|
||||
/// By convention, the product tokens are listed in order of their significance for
|
||||
///
|
||||
/// The User-Agent request-header field contains information about the user agent originating
|
||||
/// the request. This is for statistical purposes, the tracing of protocol violations, and
|
||||
/// automated recognition of user agents for the sake of tailoring responses to avoid
|
||||
/// particular user agent limitations. User agents SHOULD include this field with requests.
|
||||
/// The field can contain multiple product tokens and comments identifying the agent and any
|
||||
/// subproducts which form a significant part of the user agent.
|
||||
/// By convention, the product tokens are listed in order of their significance for
|
||||
/// identifying the application.
|
||||
///
|
||||
#define HTTP_HEADER_USER_AGENT "User-Agent"
|
||||
@@ -171,49 +171,49 @@
|
||||
///
|
||||
/// Host Request Header
|
||||
///
|
||||
/// The Host request-header field specifies the Internet host and port number of the resource
|
||||
/// being requested, as obtained from the original URI given by the user or referring resource
|
||||
/// The Host request-header field specifies the Internet host and port number of the resource
|
||||
/// being requested, as obtained from the original URI given by the user or referring resource
|
||||
///
|
||||
#define HTTP_HEADER_HOST "Host"
|
||||
|
||||
///
|
||||
/// Location Response Header
|
||||
///
|
||||
/// The Location response-header field is used to redirect the recipient to a location other than
|
||||
/// the Request-URI for completion of the request or identification of a new resource.
|
||||
/// For 201 (Created) responses, the Location is that of the new resource which was created by
|
||||
/// the request. For 3xx responses, the location SHOULD indicate the server's preferred URI for
|
||||
///
|
||||
/// The Location response-header field is used to redirect the recipient to a location other than
|
||||
/// the Request-URI for completion of the request or identification of a new resource.
|
||||
/// For 201 (Created) responses, the Location is that of the new resource which was created by
|
||||
/// the request. For 3xx responses, the location SHOULD indicate the server's preferred URI for
|
||||
/// automatic redirection to the resource. The field value consists of a single absolute URI.
|
||||
///
|
||||
#define HTTP_HEADER_LOCATION "Location"
|
||||
|
||||
///
|
||||
/// The If-Match request-header field is used with a method to make it conditional.
|
||||
/// A client that has one or more entities previously obtained from the resource
|
||||
/// can verify that one of those entities is current by including a list of their
|
||||
/// associated entity tags in the If-Match header field.
|
||||
/// The purpose of this feature is to allow efficient updates of cached information
|
||||
/// with a minimum amount of transaction overhead. It is also used, on updating requests,
|
||||
/// to prevent inadvertent modification of the wrong version of a resource.
|
||||
/// A client that has one or more entities previously obtained from the resource
|
||||
/// can verify that one of those entities is current by including a list of their
|
||||
/// associated entity tags in the If-Match header field.
|
||||
/// The purpose of this feature is to allow efficient updates of cached information
|
||||
/// with a minimum amount of transaction overhead. It is also used, on updating requests,
|
||||
/// to prevent inadvertent modification of the wrong version of a resource.
|
||||
/// As a special case, the value "*" matches any current entity of the resource.
|
||||
///
|
||||
#define HTTP_HEADER_IF_MATCH "If-Match"
|
||||
|
||||
|
||||
///
|
||||
/// The If-None-Match request-header field is used with a method to make it conditional.
|
||||
/// A client that has one or more entities previously obtained from the resource can verify
|
||||
/// that none of those entities is current by including a list of their associated entity
|
||||
/// tags in the If-None-Match header field. The purpose of this feature is to allow efficient
|
||||
/// updates of cached information with a minimum amount of transaction overhead. It is also used
|
||||
/// to prevent a method (e.g. PUT) from inadvertently modifying an existing resource when the
|
||||
/// The If-None-Match request-header field is used with a method to make it conditional.
|
||||
/// A client that has one or more entities previously obtained from the resource can verify
|
||||
/// that none of those entities is current by including a list of their associated entity
|
||||
/// tags in the If-None-Match header field. The purpose of this feature is to allow efficient
|
||||
/// updates of cached information with a minimum amount of transaction overhead. It is also used
|
||||
/// to prevent a method (e.g. PUT) from inadvertently modifying an existing resource when the
|
||||
/// client believes that the resource does not exist.
|
||||
///
|
||||
#define HTTP_HEADER_IF_NONE_MATCH "If-None-Match"
|
||||
|
||||
|
||||
|
||||
///
|
||||
///
|
||||
/// Authorization Request Header
|
||||
/// The Authorization field value consists of credentials
|
||||
/// containing the authentication information of the user agent for
|
||||
@@ -223,8 +223,8 @@
|
||||
|
||||
///
|
||||
/// ETAG Response Header
|
||||
/// The ETag response-header field provides the current value of the entity tag
|
||||
/// for the requested variant.
|
||||
/// The ETag response-header field provides the current value of the entity tag
|
||||
/// for the requested variant.
|
||||
///
|
||||
#define HTTP_HEADER_ETAG "ETag"
|
||||
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
The definition for iSCSI Boot Firmware Table, it's defined in Microsoft's
|
||||
iSCSI Boot Firmware Table(iBFT) as Defined in ACPI 3.0b Specification.
|
||||
|
||||
Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
iSCSI Boot Firmware Table(iBFT) as Defined in ACPI 3.0b Specification.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -58,7 +58,7 @@ typedef struct {
|
||||
} EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_HEADER;
|
||||
|
||||
///
|
||||
/// Common Header of Boot Firmware Table Structure
|
||||
/// Common Header of Boot Firmware Table Structure
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 StructureId;
|
||||
@@ -78,7 +78,7 @@ typedef struct {
|
||||
UINT16 NIC0Offset;
|
||||
UINT16 Target0Offset;
|
||||
UINT16 NIC1Offset;
|
||||
UINT16 Target1Offset;
|
||||
UINT16 Target1Offset;
|
||||
} EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE;
|
||||
|
||||
#define EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE_VERSION 0x1
|
||||
@@ -100,8 +100,8 @@ typedef struct {
|
||||
|
||||
#define EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_INITIATOR_STRUCTURE_VERSION 0x1
|
||||
|
||||
#define EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_INITIATOR_STRUCTURE_FLAG_BLOCK_VALID BIT0
|
||||
#define EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_INITIATOR_STRUCTURE_FLAG_BOOT_SELECTED BIT1
|
||||
#define EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_INITIATOR_STRUCTURE_FLAG_BLOCK_VALID BIT0
|
||||
#define EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_INITIATOR_STRUCTURE_FLAG_BOOT_SELECTED BIT1
|
||||
|
||||
///
|
||||
/// NIC Structure
|
||||
|
@@ -1,17 +1,17 @@
|
||||
/** @file
|
||||
Defives data structures per MultiProcessor Specification Ver 1.4.
|
||||
|
||||
The MultiProcessor Specification defines an enhancement to the standard
|
||||
|
||||
The MultiProcessor Specification defines an enhancement to the standard
|
||||
to which PC manufacturers design DOS-compatible systems.
|
||||
|
||||
Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
Legacy Master Boot Record Format Definition.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
|
@@ -1,16 +1,16 @@
|
||||
/** @file
|
||||
ACPI memory mapped configuration space access table definition, defined at
|
||||
ACPI memory mapped configuration space access table definition, defined at
|
||||
in the PCI Firmware Specification, version 3.0.
|
||||
Specification is available at http://www.pcisig.com.
|
||||
|
||||
Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
|
||||
@@ -35,7 +35,7 @@ typedef struct {
|
||||
} EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE;
|
||||
|
||||
///
|
||||
/// MCFG Table header definition. The rest of the table
|
||||
/// MCFG Table header definition. The rest of the table
|
||||
/// must be defined in a platform specific manner.
|
||||
///
|
||||
typedef struct {
|
||||
|
@@ -1,9 +1,9 @@
|
||||
/** @file
|
||||
Support for Microsoft Secure MOR implementation, defined at
|
||||
Support for Microsoft Secure MOR implementation, defined at
|
||||
Microsoft Secure MOR implementation.
|
||||
https://msdn.microsoft.com/en-us/library/windows/hardware/mt270973(v=vs.85).aspx
|
||||
|
||||
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
Main PAL API's defined in Intel Itanium Architecture Software Developer's Manual.
|
||||
|
||||
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -1152,7 +1152,7 @@ typedef struct {
|
||||
///< be enabled or disabled by
|
||||
///< PAL_PROC_SET_FEATURES. The
|
||||
///< corresponding argument is ignored.
|
||||
|
||||
|
||||
UINT64 NoPresentPmi:1; ///< Bit37, No INIT, PMI, and LINT pins
|
||||
///< present. Denotes the absence of INIT,
|
||||
///< PMI, LINT0 and LINT1 pins on the
|
||||
@@ -1163,7 +1163,7 @@ typedef struct {
|
||||
///< enabled or disabled by
|
||||
///< PAL_PROC_SET_FEATURES. The corresponding
|
||||
///< argument is ignored.
|
||||
|
||||
|
||||
UINT64 NoSimpleImpInUndefinedIns:1; ///< Bit38, No Simple
|
||||
///< implementation of
|
||||
///< unimplemented instruction
|
||||
@@ -1432,7 +1432,7 @@ typedef struct {
|
||||
///< bit has no effect if BERR
|
||||
///< signalling is disabled. (See
|
||||
///< PAL_BUS_GET/SET_FEATURES)
|
||||
|
||||
|
||||
UINT64 EnableBerrPromotion:1; ///< Bit63. Enable BERR promotion. When
|
||||
///< 1, the Bus Error (BERR) signal is
|
||||
///< promoted to the Bus Initialization
|
||||
@@ -1757,15 +1757,15 @@ typedef struct {
|
||||
|
||||
UINT64 FailedInInsCache:1; ///< Bit11, Failure located in the
|
||||
///< instruction cache.
|
||||
|
||||
|
||||
UINT64 Mesi:3; ///< Bit14:12, 0 - cache line is invalid. 1 - cache
|
||||
///< line is held shared. 2 - cache line is held
|
||||
///< exclusive. 3 - cache line is modified. All other
|
||||
///< values are reserved.
|
||||
|
||||
|
||||
UINT64 MesiIsValid:1; ///< Bit15, The mesi field in the cache_check
|
||||
///< parameter is valid.
|
||||
|
||||
|
||||
UINT64 FailedWay:5; ///< Bit20:16, Failure located in the way of
|
||||
///< the cache indicated by this value.
|
||||
|
||||
@@ -2288,7 +2288,7 @@ typedef struct {
|
||||
///< ignored or generate an illegal argument in
|
||||
///< procedure calls if the caller sets these
|
||||
///< bits.
|
||||
|
||||
|
||||
UINT64 ControlSupport:1; ///< This bit defines if an implementation
|
||||
///< supports control of the PAL self-tests
|
||||
///< via the self-test control word. If
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
Support for the latest PCI standard.
|
||||
|
||||
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
|
@@ -7,15 +7,15 @@
|
||||
PC Card Standard, 8.0
|
||||
PCI Power Management Interface Specifiction, Revision 1.2
|
||||
|
||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2014 - 2015, Hewlett-Packard Development Company, L.P.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -116,8 +116,8 @@ typedef union {
|
||||
PCI_TYPE01 Bridge;
|
||||
} PCI_TYPE_GENERIC;
|
||||
|
||||
///
|
||||
/// CardBus Conroller Configuration Space,
|
||||
///
|
||||
/// CardBus Conroller Configuration Space,
|
||||
/// Section 4.5.1, PC Card Standard. 8.0
|
||||
///
|
||||
typedef struct {
|
||||
@@ -158,7 +158,7 @@ typedef struct {
|
||||
#define PCI_CLASS_MASS_STORAGE_OTHER 0x80
|
||||
|
||||
#define PCI_CLASS_NETWORK 0x02
|
||||
#define PCI_CLASS_NETWORK_ETHERNET 0x00
|
||||
#define PCI_CLASS_NETWORK_ETHERNET 0x00
|
||||
#define PCI_CLASS_NETWORK_TOKENRING 0x01
|
||||
#define PCI_CLASS_NETWORK_FDDI 0x02
|
||||
#define PCI_CLASS_NETWORK_ATM 0x03
|
||||
@@ -171,7 +171,7 @@ typedef struct {
|
||||
#define PCI_IF_VGA_8514 0x01
|
||||
#define PCI_CLASS_DISPLAY_XGA 0x01
|
||||
#define PCI_CLASS_DISPLAY_3D 0x02
|
||||
#define PCI_CLASS_DISPLAY_OTHER 0x80
|
||||
#define PCI_CLASS_DISPLAY_OTHER 0x80
|
||||
|
||||
#define PCI_CLASS_MEDIA 0x04
|
||||
#define PCI_CLASS_MEDIA_VIDEO 0x00
|
||||
@@ -199,7 +199,7 @@ typedef struct {
|
||||
#define PCI_CLASS_BRIDGE_OTHER 0x80
|
||||
#define PCI_CLASS_BRIDGE_ISA_PDECODE 0x80
|
||||
|
||||
#define PCI_CLASS_SCC 0x07 ///< Simple communications controllers
|
||||
#define PCI_CLASS_SCC 0x07 ///< Simple communications controllers
|
||||
#define PCI_SUBCLASS_SERIAL 0x00
|
||||
#define PCI_IF_GENERIC_XT 0x00
|
||||
#define PCI_IF_16450 0x01
|
||||
@@ -228,8 +228,8 @@ typedef struct {
|
||||
#define PCI_IF_8259_PIC 0x00
|
||||
#define PCI_IF_ISA_PIC 0x01
|
||||
#define PCI_IF_EISA_PIC 0x02
|
||||
#define PCI_IF_APIC_CONTROLLER 0x10 ///< I/O APIC interrupt controller , 32 bye none-prefectable memory.
|
||||
#define PCI_IF_APIC_CONTROLLER2 0x20
|
||||
#define PCI_IF_APIC_CONTROLLER 0x10 ///< I/O APIC interrupt controller , 32 bye none-prefectable memory.
|
||||
#define PCI_IF_APIC_CONTROLLER2 0x20
|
||||
#define PCI_SUBCLASS_DMA 0x01
|
||||
#define PCI_IF_8237_DMA 0x00
|
||||
#define PCI_IF_ISA_DMA 0x01
|
||||
@@ -297,25 +297,25 @@ typedef struct {
|
||||
|
||||
#define PCI_SECURITY_CONTROLLER 0x10 ///< Encryption and decryption controller
|
||||
#define PCI_SUBCLASS_NET_COMPUT 0x00
|
||||
#define PCI_SUBCLASS_ENTERTAINMENT 0x10
|
||||
#define PCI_SUBCLASS_ENTERTAINMENT 0x10
|
||||
#define PCI_SUBCLASS_SECURITY_OTHER 0x80
|
||||
|
||||
#define PCI_CLASS_DPIO 0x11
|
||||
#define PCI_SUBCLASS_DPIO 0x00
|
||||
#define PCI_SUBCLASS_DPIO_OTHER 0x80
|
||||
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether the Base Class code of device matched.
|
||||
|
||||
@param _p Specified device.
|
||||
@param c Base Class code needs matching.
|
||||
|
||||
@retval TRUE Base Class code matches the specified device.
|
||||
@retval FALSE Base Class code doesn't match the specified device.
|
||||
@retval FALSE Base Class code doesn't match the specified device.
|
||||
|
||||
**/
|
||||
#define IS_CLASS1(_p, c) ((_p)->Hdr.ClassCode[2] == (c))
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether the Base Class code and Sub-Class code of device matched.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -323,11 +323,11 @@ typedef struct {
|
||||
@param s Sub-Class code needs matching.
|
||||
|
||||
@retval TRUE Base Class code and Sub-Class code match the specified device.
|
||||
@retval FALSE Base Class code and Sub-Class code don't match the specified device.
|
||||
@retval FALSE Base Class code and Sub-Class code don't match the specified device.
|
||||
|
||||
**/
|
||||
#define IS_CLASS2(_p, c, s) (IS_CLASS1 (_p, c) && ((_p)->Hdr.ClassCode[1] == (s)))
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether the Base Class code, Sub-Class code and Interface code of device matched.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -336,12 +336,12 @@ typedef struct {
|
||||
@param p Interface code needs matching.
|
||||
|
||||
@retval TRUE Base Class code, Sub-Class code and Interface code match the specified device.
|
||||
@retval FALSE Base Class code, Sub-Class code and Interface code don't match the specified device.
|
||||
@retval FALSE Base Class code, Sub-Class code and Interface code don't match the specified device.
|
||||
|
||||
**/
|
||||
#define IS_CLASS3(_p, c, s, p) (IS_CLASS2 (_p, c, s) && ((_p)->Hdr.ClassCode[0] == (p)))
|
||||
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a display controller.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -351,7 +351,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_DISPLAY(_p) IS_CLASS1 (_p, PCI_CLASS_DISPLAY)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a VGA-compatible controller.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -361,7 +361,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_VGA(_p) IS_CLASS3 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_VGA, PCI_IF_VGA_VGA)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is an 8514-compatible controller.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -371,7 +371,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_8514(_p) IS_CLASS3 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_VGA, PCI_IF_VGA_8514)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is built before the Class Code field was defined.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -381,7 +381,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_OLD(_p) IS_CLASS1 (_p, PCI_CLASS_OLD)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a VGA-compatible device built before the Class Code field was defined.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -391,7 +391,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_OLD_VGA(_p) IS_CLASS2 (_p, PCI_CLASS_OLD, PCI_CLASS_OLD_VGA)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is an IDE controller.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -401,7 +401,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_IDE(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_IDE)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a SCSI bus controller.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -411,7 +411,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_SCSI(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SCSI)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a RAID controller.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -421,7 +421,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_RAID(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_RAID)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is an ISA bridge.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -431,7 +431,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_LPC(_p) IS_CLASS2 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a PCI-to-PCI bridge.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -441,7 +441,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_P2P(_p) IS_CLASS3 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_P2P, PCI_IF_BRIDGE_P2P)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a Subtractive Decode PCI-to-PCI bridge.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -451,7 +451,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_P2P_SUB(_p) IS_CLASS3 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_P2P, PCI_IF_BRIDGE_P2P_SUBTRACTIVE)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a 16550-compatible serial controller.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -461,7 +461,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_16550_SERIAL(_p) IS_CLASS3 (_p, PCI_CLASS_SCC, PCI_SUBCLASS_SERIAL, PCI_IF_16550)
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a Universal Serial Bus controller.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -473,7 +473,7 @@ typedef struct {
|
||||
#define IS_PCI_USB(_p) IS_CLASS2 (_p, PCI_CLASS_SERIAL, PCI_CLASS_SERIAL_USB)
|
||||
|
||||
//
|
||||
// the definition of Header Type
|
||||
// the definition of Header Type
|
||||
//
|
||||
#define HEADER_TYPE_DEVICE 0x00
|
||||
#define HEADER_TYPE_PCI_TO_PCI_BRIDGE 0x01
|
||||
@@ -483,7 +483,7 @@ typedef struct {
|
||||
// Mask of Header type
|
||||
//
|
||||
#define HEADER_LAYOUT_CODE 0x7f
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a PCI-PCI bridge.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -493,7 +493,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_PCI_BRIDGE(_p) (((_p)->Hdr.HeaderType & HEADER_LAYOUT_CODE) == (HEADER_TYPE_PCI_TO_PCI_BRIDGE))
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a CardBus bridge.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -503,7 +503,7 @@ typedef struct {
|
||||
|
||||
**/
|
||||
#define IS_CARDBUS_BRIDGE(_p) (((_p)->Hdr.HeaderType & HEADER_LAYOUT_CODE) == (HEADER_TYPE_CARDBUS_BRIDGE))
|
||||
/**
|
||||
/**
|
||||
Macro that checks whether device is a multiple functions device.
|
||||
|
||||
@param _p Specified device.
|
||||
@@ -548,17 +548,17 @@ typedef struct {
|
||||
//
|
||||
// defined in PCI-to-PCI Bridge Architecture Specification
|
||||
//
|
||||
#define PCI_BRIDGE_PRIMARY_BUS_REGISTER_OFFSET 0x18
|
||||
#define PCI_BRIDGE_SECONDARY_BUS_REGISTER_OFFSET 0x19
|
||||
#define PCI_BRIDGE_SUBORDINATE_BUS_REGISTER_OFFSET 0x1a
|
||||
#define PCI_BRIDGE_PRIMARY_BUS_REGISTER_OFFSET 0x18
|
||||
#define PCI_BRIDGE_SECONDARY_BUS_REGISTER_OFFSET 0x19
|
||||
#define PCI_BRIDGE_SUBORDINATE_BUS_REGISTER_OFFSET 0x1a
|
||||
#define PCI_BRIDGE_SECONDARY_LATENCY_TIMER_OFFSET 0x1b
|
||||
#define PCI_BRIDGE_STATUS_REGISTER_OFFSET 0x1E
|
||||
#define PCI_BRIDGE_CONTROL_REGISTER_OFFSET 0x3E
|
||||
#define PCI_BRIDGE_STATUS_REGISTER_OFFSET 0x1E
|
||||
#define PCI_BRIDGE_CONTROL_REGISTER_OFFSET 0x3E
|
||||
|
||||
///
|
||||
/// Interrupt Line "Unknown" or "No connection" value defined for x86 based system
|
||||
///
|
||||
#define PCI_INT_LINE_UNKNOWN 0xFF
|
||||
#define PCI_INT_LINE_UNKNOWN 0xFF
|
||||
|
||||
///
|
||||
/// PCI Access Data Format
|
||||
@@ -770,7 +770,7 @@ typedef struct {
|
||||
} EFI_PCI_CAPABILITY_MSI64;
|
||||
|
||||
///
|
||||
/// Capability EFI_PCI_CAPABILITY_ID_HOTPLUG,
|
||||
/// Capability EFI_PCI_CAPABILITY_ID_HOTPLUG,
|
||||
/// CompactPCI Hot Swap Specification PICMG 2.1, R1.0
|
||||
///
|
||||
typedef struct {
|
||||
@@ -789,8 +789,8 @@ typedef struct {
|
||||
|
||||
///
|
||||
/// EFI PCI Option ROM definitions
|
||||
///
|
||||
#define EFI_ROOT_BRIDGE_LIST 'eprb'
|
||||
///
|
||||
#define EFI_ROOT_BRIDGE_LIST 'eprb'
|
||||
#define EFI_PCI_EXPANSION_ROM_HEADER_EFISIGNATURE 0x0EF1 ///< defined in UEFI Spec.
|
||||
|
||||
#define PCI_EXPANSION_ROM_HEADER_SIGNATURE 0xaa55
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
Support for PCI 2.3 standard.
|
||||
|
||||
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
#pragma pack(1)
|
||||
///
|
||||
/// PCI-X Capabilities List,
|
||||
/// PCI-X Capabilities List,
|
||||
/// Section 7.2, PCI-X Addendum to the PCI Local Bus Specification, Revision 1.0b.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -106,7 +106,7 @@ typedef struct {
|
||||
} EFI_PCI_CAPABILITY_PCIX;
|
||||
|
||||
///
|
||||
/// PCI-X Bridge Capabilities List,
|
||||
/// PCI-X Bridge Capabilities List,
|
||||
/// Section 8.6.2, PCI-X Addendum to the PCI Local Bus Specification, Revision 1.0b.
|
||||
///
|
||||
typedef struct {
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
Support for PCI 3.0 standard.
|
||||
|
||||
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
|
@@ -2,14 +2,14 @@
|
||||
The file lists the PCI class codes only defined in PCI code and ID assignment specification
|
||||
revision 1.3.
|
||||
|
||||
Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
Support for the latest PCI standard.
|
||||
|
||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
|
@@ -3,14 +3,14 @@
|
||||
|
||||
This header file may not define all structures. Please extend as required.
|
||||
|
||||
Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
|
@@ -1,21 +1,21 @@
|
||||
/** @file
|
||||
EFI image format for PE32, PE32+ and TE. Please note some data structures are
|
||||
different for PE32 and PE32+. EFI_IMAGE_NT_HEADERS32 is for PE32 and
|
||||
EFI_IMAGE_NT_HEADERS64 is for PE32+.
|
||||
EFI image format for PE32, PE32+ and TE. Please note some data structures are
|
||||
different for PE32 and PE32+. EFI_IMAGE_NT_HEADERS32 is for PE32 and
|
||||
EFI_IMAGE_NT_HEADERS64 is for PE32+.
|
||||
|
||||
This file is coded to the Visual Studio, Microsoft Portable Executable and
|
||||
This file is coded to the Visual Studio, Microsoft Portable Executable and
|
||||
Common Object File Format Specification, Revision 8.3 - February 6, 2013.
|
||||
This file also includes some definitions in PI Specification, Revision 1.0.
|
||||
|
||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -134,12 +134,12 @@ typedef struct {
|
||||
|
||||
///
|
||||
/// @attention
|
||||
/// EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC means PE32 and
|
||||
/// EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC means PE32 and
|
||||
/// EFI_IMAGE_OPTIONAL_HEADER32 must be used. The data structures only vary
|
||||
/// after NT additional fields.
|
||||
///
|
||||
#define EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC 0x10b
|
||||
|
||||
|
||||
///
|
||||
/// Optional Header Standard Fields for PE32.
|
||||
///
|
||||
@@ -185,7 +185,7 @@ typedef struct {
|
||||
|
||||
///
|
||||
/// @attention
|
||||
/// EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC means PE32+ and
|
||||
/// EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC means PE32+ and
|
||||
/// EFI_IMAGE_OPTIONAL_HEADER64 must be used. The data structures only vary
|
||||
/// after NT additional fields.
|
||||
///
|
||||
@@ -296,7 +296,7 @@ typedef struct {
|
||||
/// Size of EFI_IMAGE_SECTION_HEADER.
|
||||
///
|
||||
#define EFI_IMAGE_SIZEOF_SECTION_HEADER 40
|
||||
|
||||
|
||||
//
|
||||
// Section Flags Values
|
||||
//
|
||||
@@ -304,12 +304,12 @@ typedef struct {
|
||||
#define EFI_IMAGE_SCN_CNT_CODE BIT5 ///< 0x00000020
|
||||
#define EFI_IMAGE_SCN_CNT_INITIALIZED_DATA BIT6 ///< 0x00000040
|
||||
#define EFI_IMAGE_SCN_CNT_UNINITIALIZED_DATA BIT7 ///< 0x00000080
|
||||
|
||||
|
||||
#define EFI_IMAGE_SCN_LNK_OTHER BIT8 ///< 0x00000100 ///< Reserved.
|
||||
#define EFI_IMAGE_SCN_LNK_INFO BIT9 ///< 0x00000200 ///< Section contains comments or some other type of information.
|
||||
#define EFI_IMAGE_SCN_LNK_REMOVE BIT11 ///< 0x00000800 ///< Section contents will not become part of image.
|
||||
#define EFI_IMAGE_SCN_LNK_COMDAT BIT12 ///< 0x00001000
|
||||
|
||||
|
||||
#define EFI_IMAGE_SCN_ALIGN_1BYTES BIT20 ///< 0x00100000
|
||||
#define EFI_IMAGE_SCN_ALIGN_2BYTES BIT21 ///< 0x00200000
|
||||
#define EFI_IMAGE_SCN_ALIGN_4BYTES (BIT20|BIT21) ///< 0x00300000
|
||||
@@ -317,7 +317,7 @@ typedef struct {
|
||||
#define EFI_IMAGE_SCN_ALIGN_16BYTES (BIT20|BIT22) ///< 0x00500000
|
||||
#define EFI_IMAGE_SCN_ALIGN_32BYTES (BIT21|BIT22) ///< 0x00600000
|
||||
#define EFI_IMAGE_SCN_ALIGN_64BYTES (BIT20|BIT21|BIT22) ///< 0x00700000
|
||||
|
||||
|
||||
#define EFI_IMAGE_SCN_MEM_DISCARDABLE BIT25 ///< 0x02000000
|
||||
#define EFI_IMAGE_SCN_MEM_NOT_CACHED BIT26 ///< 0x04000000
|
||||
#define EFI_IMAGE_SCN_MEM_NOT_PAGED BIT27 ///< 0x08000000
|
||||
@@ -415,7 +415,7 @@ typedef struct {
|
||||
#define EFI_IMAGE_COMDAT_SELECT_SAME_SIZE 3
|
||||
#define EFI_IMAGE_COMDAT_SELECT_EXACT_MATCH 4
|
||||
#define EFI_IMAGE_COMDAT_SELECT_ASSOCIATIVE 5
|
||||
|
||||
|
||||
//
|
||||
// the following values only be referred in PeCoff, not defined in PECOFF.
|
||||
//
|
||||
@@ -450,9 +450,9 @@ typedef struct {
|
||||
#define EFI_IMAGE_REL_I386_SECREL 0x000B
|
||||
#define EFI_IMAGE_REL_I386_REL32 0x0014 ///< PC-relative 32-bit reference to the symbols virtual address.
|
||||
|
||||
//
|
||||
//
|
||||
// x64 processor relocation types.
|
||||
//
|
||||
//
|
||||
#define IMAGE_REL_AMD64_ABSOLUTE 0x0000
|
||||
#define IMAGE_REL_AMD64_ADDR64 0x0001
|
||||
#define IMAGE_REL_AMD64_ADDR32 0x0002
|
||||
|
@@ -2,14 +2,14 @@
|
||||
Main SAL API's defined in Intel Itanium Processor Family System Abstraction
|
||||
Layer Specification Revision 3.2 (December 2003)
|
||||
|
||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -17,16 +17,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#define __SAL_API_H__
|
||||
|
||||
///
|
||||
/// SAL return status type
|
||||
/// SAL return status type
|
||||
///
|
||||
typedef INTN EFI_SAL_STATUS;
|
||||
|
||||
///
|
||||
/// Call completed without error.
|
||||
/// Call completed without error.
|
||||
///
|
||||
#define EFI_SAL_SUCCESS ((EFI_SAL_STATUS) 0)
|
||||
///
|
||||
/// Call completed without error, but some information was lost due to overflow.
|
||||
/// Call completed without error, but some information was lost due to overflow.
|
||||
///
|
||||
#define EFI_SAL_OVERFLOW ((EFI_SAL_STATUS) 1)
|
||||
///
|
||||
@@ -34,7 +34,7 @@ typedef INTN EFI_SAL_STATUS;
|
||||
///
|
||||
#define EFI_SAL_WARM_BOOT_NEEDED ((EFI_SAL_STATUS) 2)
|
||||
///
|
||||
/// More information is available for retrieval.
|
||||
/// More information is available for retrieval.
|
||||
///
|
||||
#define EFI_SAL_MORE_RECORDS ((EFI_SAL_STATUS) 3)
|
||||
///
|
||||
@@ -46,15 +46,15 @@ typedef INTN EFI_SAL_STATUS;
|
||||
///
|
||||
#define EFI_SAL_INVALID_ARGUMENT ((EFI_SAL_STATUS) - 2)
|
||||
///
|
||||
/// Call completed without error.
|
||||
/// Call completed without error.
|
||||
///
|
||||
#define EFI_SAL_ERROR ((EFI_SAL_STATUS) - 3)
|
||||
///
|
||||
/// Virtual address not registered.
|
||||
/// Virtual address not registered.
|
||||
///
|
||||
#define EFI_SAL_VIRTUAL_ADDRESS_ERROR ((EFI_SAL_STATUS) - 4)
|
||||
///
|
||||
/// No information available.
|
||||
/// No information available.
|
||||
///
|
||||
#define EFI_SAL_NO_INFORMATION ((EFI_SAL_STATUS) - 5)
|
||||
///
|
||||
@@ -213,7 +213,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// Parameter of EFI_SAL_GET_STATE_INFO, EFI_SAL_GET_STATE_INFO_SIZE, and EFI_SAL_CLEAR_STATE_INFO
|
||||
//
|
||||
//
|
||||
// Type of information
|
||||
//
|
||||
#define EFI_SAL_MCA_STATE_INFO 0x0
|
||||
@@ -345,8 +345,8 @@ typedef struct _SAL_UPDATE_PAL_INFO_BLOCK {
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
///
|
||||
/// The ASCII string representation of "SST_" that confirms the presence of the table.
|
||||
///
|
||||
/// The ASCII string representation of "SST_" that confirms the presence of the table.
|
||||
///
|
||||
UINT32 Signature;
|
||||
///
|
||||
/// The length of the entire table in bytes, starting from offset zero and including the
|
||||
@@ -470,7 +470,7 @@ typedef struct {
|
||||
UINT64 NumberOfProcessors;
|
||||
UINT64 LocalIDRegister;
|
||||
} SAL_COHERENCE_DOMAIN_INFO;
|
||||
|
||||
|
||||
///
|
||||
/// Format of Purge Translation Cache Coherence Domain Entry.
|
||||
///
|
||||
@@ -504,7 +504,7 @@ typedef struct {
|
||||
UINT8 CheckSum;
|
||||
} EFI_SAL_FIT_ENTRY;
|
||||
//
|
||||
// FIT Types
|
||||
// FIT Types
|
||||
//
|
||||
#define EFI_SAL_FIT_FIT_HEADER_TYPE 0x00
|
||||
#define EFI_SAL_FIT_PAL_B_TYPE 0x01
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
Support for SCSI-2 standard
|
||||
|
||||
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -346,9 +346,9 @@ typedef struct {
|
||||
UINT8 BlockSize0;
|
||||
UINT8 Protection;
|
||||
UINT8 LogicPerPhysical;
|
||||
UINT8 LowestAlignLogic2;
|
||||
UINT8 LowestAlignLogic1;
|
||||
UINT8 Reserved[16];
|
||||
UINT8 LowestAlignLogic2;
|
||||
UINT8 LowestAlignLogic1;
|
||||
UINT8 Reserved[16];
|
||||
} EFI_SCSI_DISK_CAPACITY_DATA16;
|
||||
|
||||
typedef struct {
|
||||
|
@@ -1,17 +1,17 @@
|
||||
/** @file
|
||||
ACPI Serial Port Console Redirection Table as defined by Microsoft in
|
||||
http://www.microsoft.com/whdc/system/platform/server/spcr.mspx
|
||||
|
||||
Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
|
||||
Copyright (c) 2014 - 2016, ARM Limited. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_
|
||||
|
@@ -3,13 +3,13 @@
|
||||
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -101,10 +101,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
///
|
||||
/// Inactive type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.43.
|
||||
/// Upper-level software that interprets the SMBIOS structure-table should bypass an
|
||||
/// Upper-level software that interprets the SMBIOS structure-table should bypass an
|
||||
/// Inactive structure just like a structure type that the software does not recognize.
|
||||
///
|
||||
#define SMBIOS_TYPE_INACTIVE 0x007E
|
||||
#define SMBIOS_TYPE_INACTIVE 0x007E
|
||||
|
||||
///
|
||||
/// End-of-table type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.44.
|
||||
@@ -117,7 +117,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
///
|
||||
/// Types 0 through 127 (7Fh) are reserved for and defined by this
|
||||
/// specification. Types 128 through 256 (80h to FFh) are available for system- and OEM-specific information.
|
||||
/// specification. Types 128 through 256 (80h to FFh) are available for system- and OEM-specific information.
|
||||
///
|
||||
typedef UINT8 SMBIOS_TYPE;
|
||||
|
||||
@@ -225,8 +225,8 @@ typedef struct {
|
||||
UINT32 PrinterIsSupported :1;
|
||||
UINT32 CgaMonoIsSupported :1;
|
||||
UINT32 NecPc98 :1;
|
||||
UINT32 ReservedForVendor :32; ///< Bits 32-63. Bits 32-47 reserved for BIOS vendor
|
||||
///< and bits 48-63 reserved for System Vendor.
|
||||
UINT32 ReservedForVendor :32; ///< Bits 32-63. Bits 32-47 reserved for BIOS vendor
|
||||
///< and bits 48-63 reserved for System Vendor.
|
||||
} MISC_BIOS_CHARACTERISTICS;
|
||||
|
||||
///
|
||||
@@ -300,7 +300,7 @@ typedef struct {
|
||||
///
|
||||
/// System Wake-up Type.
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
SystemWakeupTypeReserved = 0x00,
|
||||
SystemWakeupTypeOther = 0x01,
|
||||
SystemWakeupTypeUnknown = 0x02,
|
||||
@@ -314,10 +314,10 @@ typedef enum {
|
||||
|
||||
///
|
||||
/// System Information (Type 1).
|
||||
///
|
||||
/// The information in this structure defines attributes of the overall system and is
|
||||
///
|
||||
/// The information in this structure defines attributes of the overall system and is
|
||||
/// intended to be associated with the Component ID group of the system's MIF.
|
||||
/// An SMBIOS implementation is associated with a single system instance and contains
|
||||
/// An SMBIOS implementation is associated with a single system instance and contains
|
||||
/// one and only one System Information (Type 1) structure.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -333,7 +333,7 @@ typedef struct {
|
||||
} SMBIOS_TABLE_TYPE1;
|
||||
|
||||
///
|
||||
/// Base Board - Feature Flags.
|
||||
/// Base Board - Feature Flags.
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 Motherboard :1;
|
||||
@@ -347,7 +347,7 @@ typedef struct {
|
||||
///
|
||||
/// Base Board - Board Type.
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
BaseBoardTypeUnknown = 0x1,
|
||||
BaseBoardTypeOther = 0x2,
|
||||
BaseBoardTypeServerBlade = 0x3,
|
||||
@@ -366,7 +366,7 @@ typedef enum {
|
||||
///
|
||||
/// Base Board (or Module) Information (Type 2).
|
||||
///
|
||||
/// The information in this structure defines attributes of a system baseboard -
|
||||
/// The information in this structure defines attributes of a system baseboard -
|
||||
/// for example a motherboard, planar, or server blade or other standard system module.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -387,7 +387,7 @@ typedef struct {
|
||||
///
|
||||
/// System Enclosure or Chassis Types
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
MiscChassisTypeOther = 0x01,
|
||||
MiscChassisTypeUnknown = 0x02,
|
||||
MiscChassisTypeDeskTop = 0x03,
|
||||
@@ -429,7 +429,7 @@ typedef enum {
|
||||
///
|
||||
/// System Enclosure or Chassis States .
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
ChassisStateOther = 0x01,
|
||||
ChassisStateUnknown = 0x02,
|
||||
ChassisStateSafe = 0x03,
|
||||
@@ -441,7 +441,7 @@ typedef enum {
|
||||
///
|
||||
/// System Enclosure or Chassis Security Status.
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
ChassisSecurityStatusOther = 0x01,
|
||||
ChassisSecurityStatusUnknown = 0x02,
|
||||
ChassisSecurityStatusNone = 0x03,
|
||||
@@ -462,11 +462,11 @@ typedef struct {
|
||||
///
|
||||
/// System Enclosure or Chassis (Type 3).
|
||||
///
|
||||
/// The information in this structure defines attributes of the system's mechanical enclosure(s).
|
||||
/// For example, if a system included a separate enclosure for its peripheral devices,
|
||||
/// The information in this structure defines attributes of the system's mechanical enclosure(s).
|
||||
/// For example, if a system included a separate enclosure for its peripheral devices,
|
||||
/// two structures would be returned: one for the main, system enclosure and the second for
|
||||
/// the peripheral device enclosure. The additions to this structure in v2.1 of this specification
|
||||
/// support the population of the CIM_Chassis class.
|
||||
/// support the population of the CIM_Chassis class.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -514,29 +514,29 @@ typedef enum {
|
||||
/// Processor Information - Processor Family.
|
||||
///
|
||||
typedef enum {
|
||||
ProcessorFamilyOther = 0x01,
|
||||
ProcessorFamilyOther = 0x01,
|
||||
ProcessorFamilyUnknown = 0x02,
|
||||
ProcessorFamily8086 = 0x03,
|
||||
ProcessorFamily8086 = 0x03,
|
||||
ProcessorFamily80286 = 0x04,
|
||||
ProcessorFamilyIntel386 = 0x05,
|
||||
ProcessorFamilyIntel386 = 0x05,
|
||||
ProcessorFamilyIntel486 = 0x06,
|
||||
ProcessorFamily8087 = 0x07,
|
||||
ProcessorFamily80287 = 0x08,
|
||||
ProcessorFamily80387 = 0x09,
|
||||
ProcessorFamily80387 = 0x09,
|
||||
ProcessorFamily80487 = 0x0A,
|
||||
ProcessorFamilyPentium = 0x0B,
|
||||
ProcessorFamilyPentium = 0x0B,
|
||||
ProcessorFamilyPentiumPro = 0x0C,
|
||||
ProcessorFamilyPentiumII = 0x0D,
|
||||
ProcessorFamilyPentiumMMX = 0x0E,
|
||||
ProcessorFamilyCeleron = 0x0F,
|
||||
ProcessorFamilyPentiumIIXeon = 0x10,
|
||||
ProcessorFamilyPentiumIII = 0x11,
|
||||
ProcessorFamilyPentiumIII = 0x11,
|
||||
ProcessorFamilyM1 = 0x12,
|
||||
ProcessorFamilyM2 = 0x13,
|
||||
ProcessorFamilyIntelCeleronM = 0x14,
|
||||
ProcessorFamilyIntelPentium4Ht = 0x15,
|
||||
ProcessorFamilyAmdDuron = 0x18,
|
||||
ProcessorFamilyK5 = 0x19,
|
||||
ProcessorFamilyK5 = 0x19,
|
||||
ProcessorFamilyK6 = 0x1A,
|
||||
ProcessorFamilyK6_2 = 0x1B,
|
||||
ProcessorFamilyK6_3 = 0x1C,
|
||||
@@ -630,7 +630,7 @@ typedef enum {
|
||||
ProcessorFamilyAmdPhenomFxQuadCore = 0x8C,
|
||||
ProcessorFamilyAmdPhenomX4QuadCore = 0x8D,
|
||||
ProcessorFamilyAmdPhenomX2DualCore = 0x8E,
|
||||
ProcessorFamilyAmdAthlonX2DualCore = 0x8F,
|
||||
ProcessorFamilyAmdAthlonX2DualCore = 0x8F,
|
||||
ProcessorFamilyPARISC = 0x90,
|
||||
ProcessorFamilyPaRisc8500 = 0x91,
|
||||
ProcessorFamilyPaRisc8000 = 0x92,
|
||||
@@ -677,7 +677,7 @@ typedef enum {
|
||||
ProcessorFamilyIntelCore2DuoMobile = 0xC4,
|
||||
ProcessorFamilyIntelCore2SoloMobile = 0xC5,
|
||||
ProcessorFamilyIntelCoreI7 = 0xC6,
|
||||
ProcessorFamilyDualCoreIntelCeleron = 0xC7,
|
||||
ProcessorFamilyDualCoreIntelCeleron = 0xC7,
|
||||
ProcessorFamilyIBM390 = 0xC8,
|
||||
ProcessorFamilyG4 = 0xC9,
|
||||
ProcessorFamilyG5 = 0xCA,
|
||||
@@ -736,12 +736,12 @@ typedef enum {
|
||||
} PROCESSOR_FAMILY2_DATA;
|
||||
|
||||
///
|
||||
/// Processor Information - Voltage.
|
||||
/// Processor Information - Voltage.
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 ProcessorVoltageCapability5V :1;
|
||||
UINT8 ProcessorVoltageCapability3_3V :1;
|
||||
UINT8 ProcessorVoltageCapability2_9V :1;
|
||||
UINT8 ProcessorVoltageCapability5V :1;
|
||||
UINT8 ProcessorVoltageCapability3_3V :1;
|
||||
UINT8 ProcessorVoltageCapability2_9V :1;
|
||||
UINT8 ProcessorVoltageCapabilityReserved :1; ///< Bit 3, must be zero.
|
||||
UINT8 ProcessorVoltageReserved :3; ///< Bits 4-6, must be zero.
|
||||
UINT8 ProcessorVoltageIndicateLegacy :1;
|
||||
@@ -865,13 +865,13 @@ typedef struct {
|
||||
///
|
||||
/// Processor Information (Type 4).
|
||||
///
|
||||
/// The information in this structure defines the attributes of a single processor;
|
||||
/// a separate structure instance is provided for each system processor socket/slot.
|
||||
/// For example, a system with an IntelDX2 processor would have a single
|
||||
/// The information in this structure defines the attributes of a single processor;
|
||||
/// a separate structure instance is provided for each system processor socket/slot.
|
||||
/// For example, a system with an IntelDX2 processor would have a single
|
||||
/// structure instance, while a system with an IntelSX2 processor would have a structure
|
||||
/// to describe the main CPU, and a second structure to describe the 80487 co-processor.
|
||||
/// to describe the main CPU, and a second structure to describe the 80487 co-processor.
|
||||
///
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
SMBIOS_TABLE_STRING Socket;
|
||||
UINT8 ProcessorType; ///< The enumeration value from PROCESSOR_TYPE_DATA.
|
||||
@@ -913,7 +913,7 @@ typedef struct {
|
||||
///
|
||||
/// Memory Controller Error Detecting Method.
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
ErrorDetectingMethodOther = 0x01,
|
||||
ErrorDetectingMethodUnknown = 0x02,
|
||||
ErrorDetectingMethodNone = 0x03,
|
||||
@@ -940,7 +940,7 @@ typedef struct {
|
||||
///
|
||||
/// Memory Controller Information - Interleave Support.
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
MemoryInterleaveOther = 0x01,
|
||||
MemoryInterleaveUnknown = 0x02,
|
||||
MemoryInterleaveOneWay = 0x03,
|
||||
@@ -965,10 +965,10 @@ typedef struct {
|
||||
///
|
||||
/// Memory Controller Information (Type 5, Obsolete).
|
||||
///
|
||||
/// The information in this structure defines the attributes of the system's memory controller(s)
|
||||
/// and the supported attributes of any memory-modules present in the sockets controlled by
|
||||
/// this controller.
|
||||
/// Note: This structure, and its companion Memory Module Information (Type 6, Obsolete),
|
||||
/// The information in this structure defines the attributes of the system's memory controller(s)
|
||||
/// and the supported attributes of any memory-modules present in the sockets controlled by
|
||||
/// this controller.
|
||||
/// Note: This structure, and its companion Memory Module Information (Type 6, Obsolete),
|
||||
/// are obsolete starting with version 2.1 of this specification. The Physical Memory Array (Type 16)
|
||||
/// and Memory Device (Type 17) structures should be used instead. BIOS providers might
|
||||
/// choose to implement both memory description types to allow existing DMI browsers
|
||||
@@ -979,7 +979,7 @@ typedef struct {
|
||||
UINT8 ErrDetectMethod; ///< The enumeration value from MEMORY_ERROR_DETECT_METHOD.
|
||||
MEMORY_ERROR_CORRECT_CAPABILITY ErrCorrectCapability;
|
||||
UINT8 SupportInterleave; ///< The enumeration value from MEMORY_SUPPORT_INTERLEAVE_TYPE.
|
||||
UINT8 CurrentInterleave; ///< The enumeration value from MEMORY_SUPPORT_INTERLEAVE_TYPE .
|
||||
UINT8 CurrentInterleave; ///< The enumeration value from MEMORY_SUPPORT_INTERLEAVE_TYPE .
|
||||
UINT8 MaxMemoryModuleSize;
|
||||
MEMORY_SPEED_TYPE SupportSpeed;
|
||||
UINT16 SupportMemoryType;
|
||||
@@ -1017,11 +1017,11 @@ typedef struct {
|
||||
///
|
||||
/// Memory Module Information (Type 6, Obsolete)
|
||||
///
|
||||
/// One Memory Module Information structure is included for each memory-module socket
|
||||
/// One Memory Module Information structure is included for each memory-module socket
|
||||
/// in the system. The structure describes the speed, type, size, and error status
|
||||
/// of each system memory module. The supported attributes of each module are described
|
||||
/// by the "owning" Memory Controller Information structure.
|
||||
/// Note: This structure, and its companion Memory Controller Information (Type 5, Obsolete),
|
||||
/// of each system memory module. The supported attributes of each module are described
|
||||
/// by the "owning" Memory Controller Information structure.
|
||||
/// Note: This structure, and its companion Memory Controller Information (Type 5, Obsolete),
|
||||
/// are obsolete starting with version 2.1 of this specification. The Physical Memory Array (Type 16)
|
||||
/// and Memory Device (Type 17) structures should be used instead.
|
||||
///
|
||||
@@ -1063,7 +1063,7 @@ typedef enum {
|
||||
} CACHE_ERROR_TYPE_DATA;
|
||||
|
||||
///
|
||||
/// Cache Information - System Cache Type.
|
||||
/// Cache Information - System Cache Type.
|
||||
///
|
||||
typedef enum {
|
||||
CacheTypeOther = 0x01,
|
||||
@@ -1074,7 +1074,7 @@ typedef enum {
|
||||
} CACHE_TYPE_DATA;
|
||||
|
||||
///
|
||||
/// Cache Information - Associativity.
|
||||
/// Cache Information - Associativity.
|
||||
///
|
||||
typedef enum {
|
||||
CacheAssociativityOther = 0x01,
|
||||
@@ -1096,7 +1096,7 @@ typedef enum {
|
||||
///
|
||||
/// Cache Information (Type 7).
|
||||
///
|
||||
/// The information in this structure defines the attributes of CPU cache device in the system.
|
||||
/// The information in this structure defines the attributes of CPU cache device in the system.
|
||||
/// One structure is specified for each such device, whether the device is internal to
|
||||
/// or external to the CPU module. Cache modules can be associated with a processor structure
|
||||
/// in one or two ways, depending on the SMBIOS version.
|
||||
@@ -1121,7 +1121,7 @@ typedef struct {
|
||||
} SMBIOS_TABLE_TYPE7;
|
||||
|
||||
///
|
||||
/// Port Connector Information - Connector Types.
|
||||
/// Port Connector Information - Connector Types.
|
||||
///
|
||||
typedef enum {
|
||||
PortConnectorTypeNone = 0x00,
|
||||
@@ -1168,7 +1168,7 @@ typedef enum {
|
||||
} MISC_PORT_CONNECTOR_TYPE;
|
||||
|
||||
///
|
||||
/// Port Connector Information - Port Types
|
||||
/// Port Connector Information - Port Types
|
||||
///
|
||||
typedef enum {
|
||||
PortTypeNone = 0x00,
|
||||
@@ -1213,8 +1213,8 @@ typedef enum {
|
||||
///
|
||||
/// Port Connector Information (Type 8).
|
||||
///
|
||||
/// The information in this structure defines the attributes of a system port connector,
|
||||
/// e.g. parallel, serial, keyboard, or mouse ports. The port's type and connector information
|
||||
/// The information in this structure defines the attributes of a system port connector,
|
||||
/// e.g. parallel, serial, keyboard, or mouse ports. The port's type and connector information
|
||||
/// are provided. One structure is present for each port provided by the system.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -1321,7 +1321,7 @@ typedef enum {
|
||||
} MISC_SLOT_USAGE;
|
||||
|
||||
///
|
||||
/// System Slots - Slot Length.
|
||||
/// System Slots - Slot Length.
|
||||
///
|
||||
typedef enum {
|
||||
SlotLengthOther = 0x01,
|
||||
@@ -1331,7 +1331,7 @@ typedef enum {
|
||||
} MISC_SLOT_LENGTH;
|
||||
|
||||
///
|
||||
/// System Slots - Slot Characteristics 1.
|
||||
/// System Slots - Slot Characteristics 1.
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 CharacteristicsUnknown :1;
|
||||
@@ -1344,7 +1344,7 @@ typedef struct {
|
||||
UINT8 ModemRingResumeSupported:1;
|
||||
} MISC_SLOT_CHARACTERISTICS1;
|
||||
///
|
||||
/// System Slots - Slot Characteristics 2.
|
||||
/// System Slots - Slot Characteristics 2.
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 PmeSignalSupported :1;
|
||||
@@ -1356,7 +1356,7 @@ typedef struct {
|
||||
///
|
||||
/// System Slots (Type 9)
|
||||
///
|
||||
/// The information in this structure defines the attributes of a system slot.
|
||||
/// The information in this structure defines the attributes of a system slot.
|
||||
/// One structure is provided for each slot in the system.
|
||||
///
|
||||
///
|
||||
@@ -1379,7 +1379,7 @@ typedef struct {
|
||||
} SMBIOS_TABLE_TYPE9;
|
||||
|
||||
///
|
||||
/// On Board Devices Information - Device Types.
|
||||
/// On Board Devices Information - Device Types.
|
||||
///
|
||||
typedef enum {
|
||||
OnBoardDeviceTypeOther = 0x01,
|
||||
@@ -1406,10 +1406,10 @@ typedef struct {
|
||||
///
|
||||
/// On Board Devices Information (Type 10, obsolete).
|
||||
///
|
||||
/// Note: This structure is obsolete starting with version 2.6 specification; the Onboard Devices Extended
|
||||
/// Information (Type 41) structure should be used instead . BIOS providers can choose to implement both
|
||||
/// types to allow existing SMBIOS browsers to properly display the system's onboard devices information.
|
||||
/// The information in this structure defines the attributes of devices that are onboard (soldered onto)
|
||||
/// Note: This structure is obsolete starting with version 2.6 specification; the Onboard Devices Extended
|
||||
/// Information (Type 41) structure should be used instead . BIOS providers can choose to implement both
|
||||
/// types to allow existing SMBIOS browsers to properly display the system's onboard devices information.
|
||||
/// The information in this structure defines the attributes of devices that are onboard (soldered onto)
|
||||
/// a system element, usually the baseboard. In general, an entry in this table implies that the BIOS
|
||||
/// has some level of control over the enabling of the associated device for use by the system.
|
||||
///
|
||||
@@ -1420,8 +1420,8 @@ typedef struct {
|
||||
|
||||
///
|
||||
/// OEM Strings (Type 11).
|
||||
/// This structure contains free form strings defined by the OEM. Examples of this are:
|
||||
/// Part Numbers for Reference Documents for the system, contact information for the manufacturer, etc.
|
||||
/// This structure contains free form strings defined by the OEM. Examples of this are:
|
||||
/// Part Numbers for Reference Documents for the system, contact information for the manufacturer, etc.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1431,7 +1431,7 @@ typedef struct {
|
||||
///
|
||||
/// System Configuration Options (Type 12).
|
||||
///
|
||||
/// This structure contains information required to configure the base board's Jumpers and Switches.
|
||||
/// This structure contains information required to configure the base board's Jumpers and Switches.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1442,8 +1442,8 @@ typedef struct {
|
||||
///
|
||||
/// BIOS Language Information (Type 13).
|
||||
///
|
||||
/// The information in this structure defines the installable language attributes of the BIOS.
|
||||
///
|
||||
/// The information in this structure defines the installable language attributes of the BIOS.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
UINT8 InstallableLanguages;
|
||||
@@ -1463,9 +1463,9 @@ typedef struct {
|
||||
///
|
||||
/// Group Associations (Type 14).
|
||||
///
|
||||
/// The Group Associations structure is provided for OEMs who want to specify
|
||||
/// the arrangement or hierarchy of certain components (including other Group Associations)
|
||||
/// within the system.
|
||||
/// The Group Associations structure is provided for OEMs who want to specify
|
||||
/// the arrangement or hierarchy of certain components (including other Group Associations)
|
||||
/// within the system.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1475,7 +1475,7 @@ typedef struct {
|
||||
|
||||
///
|
||||
/// System Event Log - Event Log Types.
|
||||
///
|
||||
///
|
||||
typedef enum {
|
||||
EventLogTypeReserved = 0x00,
|
||||
EventLogTypeSingleBitECC = 0x01,
|
||||
@@ -1506,8 +1506,8 @@ typedef enum {
|
||||
} EVENT_LOG_TYPE_DATA;
|
||||
|
||||
///
|
||||
/// System Event Log - Variable Data Format Types.
|
||||
///
|
||||
/// System Event Log - Variable Data Format Types.
|
||||
///
|
||||
typedef enum {
|
||||
EventLogVariableNone = 0x00,
|
||||
EventLogVariableHandle = 0x01,
|
||||
@@ -1515,7 +1515,7 @@ typedef enum {
|
||||
EventLogVariableMutilEventHandle = 0x03,
|
||||
EventLogVariablePOSTResultBitmap = 0x04,
|
||||
EventLogVariableSysManagementType = 0x05,
|
||||
EventLogVariableMutliEventSysManagmentType = 0x06,
|
||||
EventLogVariableMutliEventSysManagmentType = 0x06,
|
||||
EventLogVariableUnused = 0x07,
|
||||
EventLogVariableOEMAssigned = 0x80
|
||||
} EVENT_LOG_VARIABLE_DATA;
|
||||
@@ -1531,10 +1531,10 @@ typedef struct {
|
||||
///
|
||||
/// System Event Log (Type 15).
|
||||
///
|
||||
/// The presence of this structure within the SMBIOS data returned for a system indicates
|
||||
/// that the system supports an event log. An event log is a fixed-length area within a
|
||||
/// non-volatile storage element, starting with a fixed-length (and vendor-specific) header
|
||||
/// record, followed by one or more variable-length log records.
|
||||
/// The presence of this structure within the SMBIOS data returned for a system indicates
|
||||
/// that the system supports an event log. An event log is a fixed-length area within a
|
||||
/// non-volatile storage element, starting with a fixed-length (and vendor-specific) header
|
||||
/// record, followed by one or more variable-length log records.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1585,7 +1585,7 @@ typedef enum {
|
||||
} MEMORY_ARRAY_USE;
|
||||
|
||||
///
|
||||
/// Physical Memory Array - Error Correction Types.
|
||||
/// Physical Memory Array - Error Correction Types.
|
||||
///
|
||||
typedef enum {
|
||||
MemoryErrorCorrectionOther = 0x01,
|
||||
@@ -1600,8 +1600,8 @@ typedef enum {
|
||||
///
|
||||
/// Physical Memory Array (Type 16).
|
||||
///
|
||||
/// This structure describes a collection of memory devices that operate
|
||||
/// together to form a memory address space.
|
||||
/// This structure describes a collection of memory devices that operate
|
||||
/// together to form a memory address space.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1693,10 +1693,10 @@ typedef struct {
|
||||
///
|
||||
/// Memory Device (Type 17).
|
||||
///
|
||||
/// This structure describes a single memory device that is part of
|
||||
/// This structure describes a single memory device that is part of
|
||||
/// a larger Physical Memory Array (Type 16).
|
||||
/// Note: If a system includes memory-device sockets, the SMBIOS implementation
|
||||
/// includes a Memory Device structure instance for each slot, whether or not the
|
||||
/// Note: If a system includes memory-device sockets, the SMBIOS implementation
|
||||
/// includes a Memory Device structure instance for each slot, whether or not the
|
||||
/// socket is currently populated.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -1719,7 +1719,7 @@ typedef struct {
|
||||
SMBIOS_TABLE_STRING PartNumber;
|
||||
//
|
||||
// Add for smbios 2.6
|
||||
//
|
||||
//
|
||||
UINT8 Attributes;
|
||||
//
|
||||
// Add for smbios 2.7
|
||||
@@ -1735,9 +1735,9 @@ typedef struct {
|
||||
} SMBIOS_TABLE_TYPE17;
|
||||
|
||||
///
|
||||
/// 32-bit Memory Error Information - Error Type.
|
||||
/// 32-bit Memory Error Information - Error Type.
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
MemoryErrorOther = 0x01,
|
||||
MemoryErrorUnknown = 0x02,
|
||||
MemoryErrorOk = 0x03,
|
||||
@@ -1755,9 +1755,9 @@ typedef enum {
|
||||
} MEMORY_ERROR_TYPE;
|
||||
|
||||
///
|
||||
/// 32-bit Memory Error Information - Error Granularity.
|
||||
/// 32-bit Memory Error Information - Error Granularity.
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
MemoryGranularityOther = 0x01,
|
||||
MemoryGranularityOtherUnknown = 0x02,
|
||||
MemoryGranularityDeviceLevel = 0x03,
|
||||
@@ -1765,9 +1765,9 @@ typedef enum {
|
||||
} MEMORY_ERROR_GRANULARITY;
|
||||
|
||||
///
|
||||
/// 32-bit Memory Error Information - Error Operation.
|
||||
/// 32-bit Memory Error Information - Error Operation.
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
MemoryErrorOperationOther = 0x01,
|
||||
MemoryErrorOperationUnknown = 0x02,
|
||||
MemoryErrorOperationRead = 0x03,
|
||||
@@ -1777,8 +1777,8 @@ typedef enum {
|
||||
|
||||
///
|
||||
/// 32-bit Memory Error Information (Type 18).
|
||||
///
|
||||
/// This structure identifies the specifics of an error that might be detected
|
||||
///
|
||||
/// This structure identifies the specifics of an error that might be detected
|
||||
/// within a Physical Memory Array.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -1795,7 +1795,7 @@ typedef struct {
|
||||
///
|
||||
/// Memory Array Mapped Address (Type 19).
|
||||
///
|
||||
/// This structure provides the address mapping for a Physical Memory Array.
|
||||
/// This structure provides the address mapping for a Physical Memory Array.
|
||||
/// One structure is present for each contiguous address range described.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -1814,8 +1814,8 @@ typedef struct {
|
||||
///
|
||||
/// Memory Device Mapped Address (Type 20).
|
||||
///
|
||||
/// This structure maps memory address space usually to a device-level granularity.
|
||||
/// One structure is present for each contiguous address range described.
|
||||
/// This structure maps memory address space usually to a device-level granularity.
|
||||
/// One structure is present for each contiguous address range described.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1868,9 +1868,9 @@ typedef enum {
|
||||
///
|
||||
/// Built-in Pointing Device (Type 21).
|
||||
///
|
||||
/// This structure describes the attributes of the built-in pointing device for the
|
||||
/// This structure describes the attributes of the built-in pointing device for the
|
||||
/// system. The presence of this structure does not imply that the built-in
|
||||
/// pointing device is active for the system's use!
|
||||
/// pointing device is active for the system's use!
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1882,7 +1882,7 @@ typedef struct {
|
||||
///
|
||||
/// Portable Battery - Device Chemistry
|
||||
///
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
PortableBatteryDeviceChemistryOther = 0x01,
|
||||
PortableBatteryDeviceChemistryUnknown = 0x02,
|
||||
PortableBatteryDeviceChemistryLeadAcid = 0x03,
|
||||
@@ -1896,8 +1896,8 @@ typedef enum {
|
||||
///
|
||||
/// Portable Battery (Type 22).
|
||||
///
|
||||
/// This structure describes the attributes of the portable battery(s) for the system.
|
||||
/// The structure contains the static attributes for the group. Each structure describes
|
||||
/// This structure describes the attributes of the portable battery(s) for the system.
|
||||
/// The structure contains the static attributes for the group. Each structure describes
|
||||
/// a single battery pack's attributes.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -1922,11 +1922,11 @@ typedef struct {
|
||||
///
|
||||
/// System Reset (Type 23)
|
||||
///
|
||||
/// This structure describes whether Automatic System Reset functions enabled (Status).
|
||||
/// This structure describes whether Automatic System Reset functions enabled (Status).
|
||||
/// If the system has a watchdog Timer and the timer is not reset (Timer Reset)
|
||||
/// before the Interval elapses, an automatic system reset will occur. The system will re-boot
|
||||
/// according to the Boot Option. This function may repeat until the Limit is reached, at which time
|
||||
/// the system will re-boot according to the Boot Option at Limit.
|
||||
/// before the Interval elapses, an automatic system reset will occur. The system will re-boot
|
||||
/// according to the Boot Option. This function may repeat until the Limit is reached, at which time
|
||||
/// the system will re-boot according to the Boot Option at Limit.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1940,7 +1940,7 @@ typedef struct {
|
||||
///
|
||||
/// Hardware Security (Type 24).
|
||||
///
|
||||
/// This structure describes the system-wide hardware security settings.
|
||||
/// This structure describes the system-wide hardware security settings.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1950,10 +1950,10 @@ typedef struct {
|
||||
///
|
||||
/// System Power Controls (Type 25).
|
||||
///
|
||||
/// This structure describes the attributes for controlling the main power supply to the system.
|
||||
/// Software that interprets this structure uses the month, day, hour, minute, and second values
|
||||
/// to determine the number of seconds until the next power-on of the system. The presence of
|
||||
/// this structure implies that a timed power-on facility is available for the system.
|
||||
/// This structure describes the attributes for controlling the main power supply to the system.
|
||||
/// Software that interprets this structure uses the month, day, hour, minute, and second values
|
||||
/// to determine the number of seconds until the next power-on of the system. The presence of
|
||||
/// this structure implies that a timed power-on facility is available for the system.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -1975,7 +1975,7 @@ typedef struct {
|
||||
///
|
||||
/// Voltage Probe (Type 26)
|
||||
///
|
||||
/// This describes the attributes for a voltage probe in the system.
|
||||
/// This describes the attributes for a voltage probe in the system.
|
||||
/// Each structure describes a single voltage probe.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -2002,9 +2002,9 @@ typedef struct {
|
||||
///
|
||||
/// Cooling Device (Type 27)
|
||||
///
|
||||
/// This structure describes the attributes for a cooling device in the system.
|
||||
/// Each structure describes a single cooling device.
|
||||
///
|
||||
/// This structure describes the attributes for a cooling device in the system.
|
||||
/// Each structure describes a single cooling device.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
UINT16 TemperatureProbeHandle;
|
||||
@@ -2029,8 +2029,8 @@ typedef struct {
|
||||
///
|
||||
/// Temperature Probe (Type 28).
|
||||
///
|
||||
/// This structure describes the attributes for a temperature probe in the system.
|
||||
/// Each structure describes a single temperature probe.
|
||||
/// This structure describes the attributes for a temperature probe in the system.
|
||||
/// Each structure describes a single temperature probe.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -2057,7 +2057,7 @@ typedef struct {
|
||||
/// Electrical Current Probe (Type 29).
|
||||
///
|
||||
/// This structure describes the attributes for an electrical current probe in the system.
|
||||
/// Each structure describes a single electrical current probe.
|
||||
/// Each structure describes a single electrical current probe.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -2075,9 +2075,9 @@ typedef struct {
|
||||
///
|
||||
/// Out-of-Band Remote Access (Type 30).
|
||||
///
|
||||
/// This structure describes the attributes and policy settings of a hardware facility
|
||||
/// that may be used to gain remote access to a hardware system when the operating system
|
||||
/// is not available due to power-down status, hardware failures, or boot failures.
|
||||
/// This structure describes the attributes and policy settings of a hardware facility
|
||||
/// that may be used to gain remote access to a hardware system when the operating system
|
||||
/// is not available due to power-down status, hardware failures, or boot failures.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -2088,8 +2088,8 @@ typedef struct {
|
||||
///
|
||||
/// Boot Integrity Services (BIS) Entry Point (Type 31).
|
||||
///
|
||||
/// Structure type 31 (decimal) is reserved for use by the Boot Integrity Services (BIS).
|
||||
///
|
||||
/// Structure type 31 (decimal) is reserved for use by the Boot Integrity Services (BIS).
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
UINT8 Checksum;
|
||||
@@ -2122,12 +2122,12 @@ typedef enum {
|
||||
///
|
||||
/// System Boot Information (Type 32).
|
||||
///
|
||||
/// The client system firmware, e.g. BIOS, communicates the System Boot Status to the
|
||||
/// client's Pre-boot Execution Environment (PXE) boot image or OS-present management
|
||||
/// application via this structure. When used in the PXE environment, for example,
|
||||
/// this code identifies the reason the PXE was initiated and can be used by boot-image
|
||||
/// software to further automate an enterprise's PXE sessions. For example, an enterprise
|
||||
/// could choose to automatically download a hardware-diagnostic image to a client whose
|
||||
/// The client system firmware, e.g. BIOS, communicates the System Boot Status to the
|
||||
/// client's Pre-boot Execution Environment (PXE) boot image or OS-present management
|
||||
/// application via this structure. When used in the PXE environment, for example,
|
||||
/// this code identifies the reason the PXE was initiated and can be used by boot-image
|
||||
/// software to further automate an enterprise's PXE sessions. For example, an enterprise
|
||||
/// could choose to automatically download a hardware-diagnostic image to a client whose
|
||||
/// reason code indicated either a firmware- or operating system-detected hardware failure.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -2139,9 +2139,9 @@ typedef struct {
|
||||
///
|
||||
/// 64-bit Memory Error Information (Type 33).
|
||||
///
|
||||
/// This structure describes an error within a Physical Memory Array,
|
||||
/// This structure describes an error within a Physical Memory Array,
|
||||
/// when the error address is above 4G (0xFFFFFFFF).
|
||||
///
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
UINT8 ErrorType; ///< The enumeration value from MEMORY_ERROR_TYPE.
|
||||
@@ -2154,7 +2154,7 @@ typedef struct {
|
||||
} SMBIOS_TABLE_TYPE33;
|
||||
|
||||
///
|
||||
/// Management Device - Type.
|
||||
/// Management Device - Type.
|
||||
///
|
||||
typedef enum {
|
||||
ManagementDeviceTypeOther = 0x01,
|
||||
@@ -2173,7 +2173,7 @@ typedef enum {
|
||||
} MISC_MANAGEMENT_DEVICE_TYPE;
|
||||
|
||||
///
|
||||
/// Management Device - Address Type.
|
||||
/// Management Device - Address Type.
|
||||
///
|
||||
typedef enum {
|
||||
ManagementDeviceAddressTypeOther = 0x01,
|
||||
@@ -2186,7 +2186,7 @@ typedef enum {
|
||||
///
|
||||
/// Management Device (Type 34).
|
||||
///
|
||||
/// The information in this structure defines the attributes of a Management Device.
|
||||
/// The information in this structure defines the attributes of a Management Device.
|
||||
/// A Management Device might control one or more fans or voltage, current, or temperature
|
||||
/// probes as defined by one or more Management Device Component structures.
|
||||
///
|
||||
@@ -2201,8 +2201,8 @@ typedef struct {
|
||||
///
|
||||
/// Management Device Component (Type 35)
|
||||
///
|
||||
/// This structure associates a cooling device or environmental probe with structures
|
||||
/// that define the controlling hardware device and (optionally) the component's thresholds.
|
||||
/// This structure associates a cooling device or environmental probe with structures
|
||||
/// that define the controlling hardware device and (optionally) the component's thresholds.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -2215,8 +2215,8 @@ typedef struct {
|
||||
///
|
||||
/// Management Device Threshold Data (Type 36).
|
||||
///
|
||||
/// The information in this structure defines threshold information for
|
||||
/// a component (probe or cooling-unit) contained within a Management Device.
|
||||
/// The information in this structure defines threshold information for
|
||||
/// a component (probe or cooling-unit) contained within a Management Device.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
@@ -2250,7 +2250,7 @@ typedef enum {
|
||||
/// Memory Channel (Type 37)
|
||||
///
|
||||
/// The information in this structure provides the correlation between a Memory Channel
|
||||
/// and its associated Memory Devices. Each device presents one or more loads to the channel.
|
||||
/// and its associated Memory Devices. Each device presents one or more loads to the channel.
|
||||
/// The sum of all device loads cannot exceed the channel's defined maximum.
|
||||
///
|
||||
typedef struct {
|
||||
@@ -2331,10 +2331,10 @@ typedef struct {
|
||||
} SMBIOS_TABLE_TYPE39;
|
||||
|
||||
///
|
||||
/// Additional Information Entry Format.
|
||||
/// Additional Information Entry Format.
|
||||
///
|
||||
typedef struct {
|
||||
UINT8 EntryLength;
|
||||
typedef struct {
|
||||
UINT8 EntryLength;
|
||||
UINT16 ReferencedHandle;
|
||||
UINT8 ReferencedOffset;
|
||||
SMBIOS_TABLE_STRING EntryString;
|
||||
@@ -2344,13 +2344,13 @@ typedef struct {
|
||||
///
|
||||
/// Additional Information (Type 40).
|
||||
///
|
||||
/// This structure is intended to provide additional information for handling unspecified
|
||||
/// enumerated values and interim field updates in another structure.
|
||||
/// This structure is intended to provide additional information for handling unspecified
|
||||
/// enumerated values and interim field updates in another structure.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
UINT8 NumberOfAdditionalInformationEntries;
|
||||
ADDITIONAL_INFORMATION_ENTRY AdditionalInfoEntries[1];
|
||||
ADDITIONAL_INFORMATION_ENTRY AdditionalInfoEntries[1];
|
||||
} SMBIOS_TABLE_TYPE40;
|
||||
|
||||
///
|
||||
@@ -2372,10 +2372,10 @@ typedef enum{
|
||||
///
|
||||
/// Onboard Devices Extended Information (Type 41).
|
||||
///
|
||||
/// The information in this structure defines the attributes of devices that
|
||||
/// are onboard (soldered onto) a system element, usually the baseboard.
|
||||
/// In general, an entry in this table implies that the BIOS has some level of
|
||||
/// control over the enabling of the associated device for use by the system.
|
||||
/// The information in this structure defines the attributes of devices that
|
||||
/// are onboard (soldered onto) a system element, usually the baseboard.
|
||||
/// In general, an entry in this table implies that the BIOS has some level of
|
||||
/// control over the enabling of the associated device for use by the system.
|
||||
///
|
||||
typedef struct {
|
||||
SMBIOS_STRUCTURE Hdr;
|
||||
|
@@ -2,14 +2,14 @@
|
||||
This file declares the SMBus definitions defined in SmBus Specifciation V2.0
|
||||
and defined in PI1.0 specification volume 5.
|
||||
|
||||
Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/** @file
|
||||
TCG Physical Presence definition.
|
||||
|
||||
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
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.
|
||||
|
||||
**/
|
||||
@@ -65,7 +65,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#define TCG_PHYSICAL_PRESENCE_ENABLE 1
|
||||
#define TCG_PHYSICAL_PRESENCE_DISABLE 2
|
||||
#define TCG_PHYSICAL_PRESENCE_ACTIVATE 3
|
||||
#define TCG_PHYSICAL_PRESENCE_DEACTIVATE 4
|
||||
#define TCG_PHYSICAL_PRESENCE_DEACTIVATE 4
|
||||
#define TCG_PHYSICAL_PRESENCE_CLEAR 5
|
||||
#define TCG_PHYSICAL_PRESENCE_ENABLE_ACTIVATE 6
|
||||
#define TCG_PHYSICAL_PRESENCE_DEACTIVATE_DISABLE 7
|
||||
|
@@ -91,13 +91,13 @@ typedef struct {
|
||||
|
||||
//
|
||||
// The length (in bytes) of the TLSPlaintext records payload MUST NOT exceed 2^14.
|
||||
// Refers to section 6.2 of RFC5246.
|
||||
// Refers to section 6.2 of RFC5246.
|
||||
//
|
||||
#define TLS_PLAINTEXT_RECORD_MAX_PAYLOAD_LENGTH 16384
|
||||
|
||||
//
|
||||
// The length (in bytes) of the TLSCiphertext records payload MUST NOT exceed 2^14 + 2048.
|
||||
// Refers to section 6.2 of RFC5246.
|
||||
// Refers to section 6.2 of RFC5246.
|
||||
//
|
||||
#define TLS_CIPHERTEXT_RECORD_MAX_PAYLOAD_LENGTH 18432
|
||||
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
/** @file
|
||||
TPM Specification data structures (TCG TPM Specification Version 1.2 Revision 103)
|
||||
See http://trustedcomputinggroup.org for latest specification updates
|
||||
|
||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
|
||||
@@ -155,8 +155,8 @@ typedef UINT32 TPM_KEY_CONTROL;
|
||||
///
|
||||
typedef UINT32 TPM_NV_INDEX;
|
||||
///
|
||||
/// The family ID. Family IDs are automatically assigned a sequence number by the TPM.
|
||||
/// A trusted process can set the FamilyID value in an individual row to NULL, which
|
||||
/// The family ID. Family IDs are automatically assigned a sequence number by the TPM.
|
||||
/// A trusted process can set the FamilyID value in an individual row to NULL, which
|
||||
/// invalidates that row. The family ID resets to NULL on each change of TPM Owner.
|
||||
///
|
||||
typedef UINT32 TPM_FAMILY_ID;
|
||||
@@ -826,7 +826,7 @@ typedef struct tdTPM_STANY_FLAGS{
|
||||
#define TPM_AF_TOSPRESENT ((TPM_CAPABILITY_AREA) 4)
|
||||
|
||||
//
|
||||
// All those structures defined in section 7.4, 7.5, 7.6 are not normative and
|
||||
// All those structures defined in section 7.4, 7.5, 7.6 are not normative and
|
||||
// thus no definitions here
|
||||
//
|
||||
// Part 2, section 7.4: TPM_PERMANENT_DATA
|
||||
@@ -901,7 +901,7 @@ typedef struct tdTPM_STANY_FLAGS{
|
||||
|
||||
//
|
||||
// Part 2, section 8: PCR Structures
|
||||
//
|
||||
//
|
||||
|
||||
///
|
||||
/// Part 2, section 8.1: TPM_PCR_SELECTION
|
||||
@@ -1039,7 +1039,7 @@ typedef struct tdTPM_BOUND_DATA {
|
||||
|
||||
//
|
||||
// Part 2 section 10: TPM_KEY complex
|
||||
//
|
||||
//
|
||||
|
||||
//
|
||||
// Section 10.1, 10.4, and 10.5 have been defined previously
|
||||
|
@@ -520,4 +520,4 @@ typedef union {
|
||||
#define PTP_TIMEOUT_C (200 * 1000) // 200ms
|
||||
#define PTP_TIMEOUT_D (30 * 1000) // 30ms
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
TCG EFI Platform Definition in TCG_EFI_Platform_1_20_Final
|
||||
|
||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
@@ -190,7 +190,7 @@ typedef struct {
|
||||
|
||||
typedef struct tdEFI_GPT_DATA {
|
||||
EFI_PARTITION_TABLE_HEADER EfiPartitionHeader;
|
||||
UINTN NumberOfPartitions;
|
||||
UINTN NumberOfPartitions;
|
||||
EFI_PARTITION_ENTRY Partitions[1];
|
||||
} EFI_GPT_DATA;
|
||||
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI Watchdog Action Table (WADT) as defined at
|
||||
Microsoft Hardware Watchdog Timers Design Specification.
|
||||
|
||||
Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
|
||||
@@ -36,8 +36,8 @@ typedef struct {
|
||||
UINT32 TimerPeriod;
|
||||
UINT32 MaxCount;
|
||||
UINT32 MinCount;
|
||||
UINT8 WatchdogFlags;
|
||||
UINT8 Reserved_61[3];
|
||||
UINT8 WatchdogFlags;
|
||||
UINT8 Reserved_61[3];
|
||||
UINT32 NumberWatchdogInstructionEntries;
|
||||
} EFI_ACPI_WATCHDOG_ACTION_1_0_TABLE;
|
||||
|
||||
|
@@ -1,15 +1,15 @@
|
||||
/** @file
|
||||
/** @file
|
||||
ACPI Watchdog Resource Table (WDRT) as defined at
|
||||
Microsoft Windows Hardware Developer Central.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#ifndef _WATCHDOG_RESOURCE_TABLE_H_
|
||||
|
@@ -2,8 +2,8 @@
|
||||
Defines Windows SMM Security Mitigation Table
|
||||
@ https://msdn.microsoft.com/windows/hardware/drivers/bringup/acpi-system-description-tables#wsmt
|
||||
|
||||
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
@@ -2,8 +2,8 @@
|
||||
Defines Windows UX Capsule GUID and layout defined at Microsoft
|
||||
Windows UEFI Firmware Update Platform specification
|
||||
|
||||
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
Reference in New Issue
Block a user