TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuCpuhp.h
Go to the documentation of this file.
1
15#ifndef QEMU_CPUHP_H_
16#define QEMU_CPUHP_H_
17
18#include <Protocol/MmCpuIo.h> // EFI_MM_CPU_IO_PROTOCOL
19#include <Uefi/UefiBaseType.h> // EFI_STATUS
20
21#include "ApicId.h" // APIC_ID
22
23UINT32
24QemuCpuhpReadCommandData2 (
26 );
27
28UINT8
29QemuCpuhpReadCpuStatus (
31 );
32
33UINT32
34QemuCpuhpReadCommandData (
36 );
37
38VOID
39QemuCpuhpWriteCpuSelector (
41 IN UINT32 Selector
42 );
43
44VOID
45QemuCpuhpWriteCpuStatus (
47 IN UINT8 CpuStatus
48 );
49
50VOID
51QemuCpuhpWriteCommand (
53 IN UINT8 Command
54 );
55
59 IN UINT32 PossibleCpuCount,
60 IN UINT32 ApicIdCount,
61 OUT APIC_ID *PluggedApicIds,
62 OUT UINT32 *PluggedCount,
63 OUT APIC_ID *ToUnplugApicIds,
64 OUT UINT32 *ToUnplugSelectors,
65 OUT UINT32 *ToUnplugCount
66 );
67
68#endif // QEMU_CPUHP_H_
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS QemuCpuhpCollectApicIds(IN CONST EFI_MM_CPU_IO_PROTOCOL *MmCpuIo, IN UINT32 PossibleCpuCount, IN UINT32 ApicIdCount, OUT APIC_ID *PluggedApicIds, OUT UINT32 *PluggedCount, OUT APIC_ID *ToUnplugApicIds, OUT UINT32 *ToUnplugSelectors, OUT UINT32 *ToUnplugCount)
Definition: QemuCpuhp.c:211
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29