summaryrefslogtreecommitdiff
path: root/ReferenceCode/AcpiTables/SampleCode/Lpit/lpit.act
blob: 82849dec5dc74a847cfec59f64cf0d18e07f9bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*++
  This file contains an 'Intel Peripheral Driver' and is
  licensed for Intel CPUs and chipsets under the terms of your
  license agreement with Intel or your vendor.  This file may
  be modified by the user, subject to additional terms of the
  license agreement
  --*/
/*++

Copyright (c) 2013 Intel Corporation. All rights reserved
This software and associated documentation (if any) is furnished
under a license and may only be used or copied in accordance
with the terms of the license. Except as permitted by such
license, no part of this software or documentation may be
reproduced, stored in a retrieval system, or transmitted in any
form or by any means without the express written consent of
Intel Corporation.


Module Name:

Lpit.act

Abstract:

This file contains a structure definition for the ACPI Low Power Idle Table
(LPIT).  The contents of this file should only be modified 
for bug fixes, no porting is required.  The table layout is defined in 
LowPowerIdleTable.h and the table contents are defined in Lpit.h.

--*/

   //
   // Statements that include other files
   //

#include "Lpit.h"

   //
   // Low Power Idle Table
   // Please modify all values in Lpit.h only.
   //

EFI_ACPI_LOW_POWER_IDLE_TABLE Lpit = {

  //
  // Header
  //


  EFI_ACPI_LOW_POWER_IDLE_TABLE_SIGNATURE,
  sizeof (EFI_ACPI_LOW_POWER_IDLE_TABLE),
  EFI_ACPI_LOW_POWER_IDLE_TABLE_REVISION ,

  //
  // Checksum will be updated at runtime
  //
  0x00,

  //
  // It is expected that these values will be updated at runtime
  //
  'A', 'L', 'A', 'S', 'K', 'A',

  0,
  EFI_ACPI_OEM_LPIT_REVISION,
  EFI_ACPI_CREATER_ID,
  EFI_ACPI_CREATER_REVISION,



  //
  // Descriptor
  //      
  {
    {
      EFI_ACPI_LOW_POWER_IDLE_MWAIT_TYPE,
      sizeof(EFI_ACPI_MWAIT_LPI_STATE_DESCRIPTOR),
      EFI_ACPI_HSW_LPI_AUDIO_ID,
      {0,0},
      {EFI_ACPI_LOW_POWER_IDLE_DEFAULT_FLAG},   // Flags 
      EFI_ACPI_HSW_LPI_TRIGGER, //EntryTrigger
      EFI_ACPI_HSW_LPI_MIN_RES, //Residency
      EFI_ACPI_HSW_LPI_LATENCY, //Latency
      EFI_ACPI_HSW_LPI_RES_COUNTER, //ResidencyCounter
      EFI_ACPI_LOW_POWER_IDLE_RES_FREQ_TSC //Residency counter frequency
    },
    {
      EFI_ACPI_LOW_POWER_IDLE_MWAIT_TYPE,
      sizeof(EFI_ACPI_MWAIT_LPI_STATE_DESCRIPTOR),
      EFI_ACPI_HSW_LPI_CS_ID,
      {0,0},
      {EFI_ACPI_LOW_POWER_IDLE_DEFAULT_FLAG},   // Flags 
      EFI_ACPI_HSW_LPI_TRIGGER, //EntryTrigger
      EFI_ACPI_HSW_LPI_MIN_RES, //Residency
      EFI_ACPI_HSW_LPI_LATENCY, //Latency
      EFI_ACPI_HSW_LPI_RES_COUNTER, //ResidencyCounter
      EFI_ACPI_LOW_POWER_IDLE_RES_FREQ_TSC //Residency counter frequency
    }
  }

};

VOID
main (
      VOID
      )

{
}