summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/CpuHotplugSmm/ApicId.h
blob: c0fa7f7978ffe06efbf912ffef285d5dbd229d2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/** @file
  Type and macro definitions for representing and printing APIC IDs, compatibly
  with the LocalApicLib and PrintLib classes, respectively.

  Copyright (c) 2020, Red Hat, Inc.

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

#ifndef APIC_ID_H_
#define APIC_ID_H_

//
// The type that LocalApicLib represents an APIC ID with.
//
typedef UINT32 APIC_ID;

//
// The PrintLib conversion specification for formatting an APIC_ID.
//
#define FMT_APIC_ID  "0x%08x"

#endif // APIC_ID_H_