summaryrefslogtreecommitdiff
path: root/Platform/AMD/AgesaModulePkg/Include/Protocol/AmdNbioPcieServicesProtocol.h
blob: 57e98931eeb84e284fbea89a1506a2352e5467d4 (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
/** @file

  Copyright (C) 2008-2025 Advanced Micro Devices, Inc. All rights reserved.<BR>

  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#ifndef NBIO_PCIE_SERVICES_PROTOCOL_H_
#define NBIO_PCIE_SERVICES_PROTOCOL_H_

// Current PROTOCOL revision
#define AMD_NBIO_PCIE_SERVICES_REVISION  0x00

///
/// Forward declaration for the NBIO_PCIE_SERVICES_PROTOCOL
///
typedef struct _DXE_AMD_NBIO_PCIE_SERVICES_PROTOCOL DXE_AMD_NBIO_PCIE_SERVICES_PROTOCOL;

//
// Protocol Definitions
//

/**
  Returns the NBIO debug options configuration structure
  This
    A pointer to the DXE_AMD_NBIO_SMU_SERVICES_PROTOCOL instance.
  DebugOptions
    A pointer to a pointer to store the address of the PCIe topology structure
**/
typedef
EFI_STATUS
(EFIAPI *AMD_NBIO_PCIE_GET_TOPOLOGY_STRUCT)(
  IN  DXE_AMD_NBIO_PCIE_SERVICES_PROTOCOL  *This,
  OUT UINT32                               **DebugOptions
  );

///
/// The Dxe of PCIE Services
///
struct _DXE_AMD_NBIO_PCIE_SERVICES_PROTOCOL {
  AMD_NBIO_PCIE_GET_TOPOLOGY_STRUCT    PcieGetTopology;  ///<
};

extern EFI_GUID  gAmdNbioPcieServicesProtocolGuid;

#endif /* NBIO_PCIE_SERVICES_PROTOCOL_H */