]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/CpuHotplugSmm/ApicId.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / OvmfPkg / CpuHotplugSmm / ApicId.h
1 /** @file
2 Type and macro definitions for representing and printing APIC IDs, compatibly
3 with the LocalApicLib and PrintLib classes, respectively.
4
5 Copyright (c) 2020, Red Hat, Inc.
6
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8 **/
9
10 #ifndef APIC_ID_H_
11 #define APIC_ID_H_
12
13 //
14 // The type that LocalApicLib represents an APIC ID with.
15 //
16 typedef UINT32 APIC_ID;
17
18 //
19 // The PrintLib conversion specification for formatting an APIC_ID.
20 //
21 #define FMT_APIC_ID "0x%08x"
22
23 #endif // APIC_ID_H_