X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=OvmfPkg%2FCpuHotplugSmm%2FApicId.h;fp=OvmfPkg%2FCpuHotplugSmm%2FApicId.h;h=3c365148ed02109557c4257f831f5e3046d3106f;hb=763840c9abc8d48567498edf00e2f31a0220184f;hp=0000000000000000000000000000000000000000;hpb=f668e78871659f438ed4548650ffd07c31a429b5;p=mirror_edk2.git diff --git a/OvmfPkg/CpuHotplugSmm/ApicId.h b/OvmfPkg/CpuHotplugSmm/ApicId.h new file mode 100644 index 0000000000..3c365148ed --- /dev/null +++ b/OvmfPkg/CpuHotplugSmm/ApicId.h @@ -0,0 +1,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_