summaryrefslogtreecommitdiff
path: root/Platform/AMD/AgesaModulePkg/Include/Library/AmdPostCodeLib.h
blob: e1eb83b32d68fb580d0b566521035f9ad0d57ae8 (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
/** @file
  Define PostCode Interface for AMD Platform.

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

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

**/

#pragma once

#include <AMD.h>

/**
  @brief Output Postcode to IO Port PcdIdsDebugPort specified, output to NBCFG_SCRATCH_0 in emulation case

  @param[in] AccessWidth   Access width
  @param[in] Value         Pointer to data

  @retval VOID

**/
VOID
LibAmdPostCode (
  IN       ACCESS_WIDTH  AccessWidth,
  IN       VOID          *Value
  );