summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/Library/DebugLibFdtPL011Uart/RamNonRuntime.c
blob: 715d3400ddd9e67923761f39b8d5f85e90f0147d (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
  Provide an empty lib instance constructor for modules that can only run from
  RAM but are not DXE_RUNTIME_DRIVER modules.

  This ensures that e.g. any HobLib constructor is ordered correctly. (The
  DXE_CORE calls constructors late, but the DXE_CORE HobLib instance needs no
  construction anyway.)

  Copyright (C) Red Hat

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

#include <Base.h>

/**
  Empty library instance constructor, only for ensuring the connectivity of the
  constructor dependency graph.
**/
RETURN_STATUS
EFIAPI
DebugLibFdtPL011UartRamConstructor (
  VOID
  )
{
  return RETURN_SUCCESS;
}