hc
2024-08-14 865dc85cff0c170305dc18e865d2cb0b537a47ec
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
/** @file
  Header file for initialization of GT PowerManagement
 
  Copyright (c) 2019 Intel Corporation. All rights reserved. <BR>
 
  SPDX-License-Identifier: BSD-2-Clause-Patent
**/
 
#ifndef _GRAPHICS_INIT_H_
#define _GRAPHICS_INIT_H_
 
#include <Library/DxeServicesTableLib.h>
#include <Guid/DxeServices.h>
#include <Protocol/PciHostBridgeResourceAllocation.h>
#include <Library/PciSegmentLib.h>
#include <SaAccess.h>
#include <Protocol/SaPolicy.h>
#include "SaInitDxe.h"
#include "SaInit.h"
#include <PchAccess.h>
#include <CpuRegs.h>
#include <Library/CpuPlatformLib.h>
 
 
/**
  Initialize GT ACPI tables
 
  @param[in] ImageHandle - Handle for the image of this driver
  @param[in] SaPolicy    - SA DXE Policy protocol
 
  @retval EFI_SUCCESS          - GT ACPI initialization complete
  @retval EFI_NOT_FOUND        - Dxe System Table not found.
  @retval EFI_OUT_OF_RESOURCES - Mmio not allocated successfully.
**/
EFI_STATUS
GraphicsInit (
  IN EFI_HANDLE             ImageHandle,
  IN SA_POLICY_PROTOCOL     *SaPolicy
  );
 
/**
  Do Post GT PM Init Steps after VBIOS Initialization.
 
  @retval EFI_SUCCESS          Succeed.
**/
EFI_STATUS
PostPmInitEndOfDxe (
  VOID
  );
#endif