TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuCpuHotplug.h File Reference
#include <Base.h>

Go to the source code of this file.

Macros

#define QEMU_CPUHP_R_CMD_DATA2   0x0
 
#define QEMU_CPUHP_R_CPU_STAT   0x4
 
#define QEMU_CPUHP_STAT_ENABLED   BIT0
 
#define QEMU_CPUHP_STAT_INSERT   BIT1
 
#define QEMU_CPUHP_STAT_REMOVE   BIT2
 
#define QEMU_CPUHP_STAT_EJECT   BIT3
 
#define QEMU_CPUHP_STAT_FW_REMOVE   BIT4
 
#define QEMU_CPUHP_RW_CMD_DATA   0x8
 
#define QEMU_CPUHP_W_CPU_SEL   0x0
 
#define QEMU_CPUHP_W_CMD   0x5
 
#define QEMU_CPUHP_CMD_GET_PENDING   0x0
 
#define QEMU_CPUHP_CMD_GET_ARCH_ID   0x3
 

Detailed Description

Macros for accessing QEMU's CPU hotplug register block.

Copyright (C) 2019, Red Hat, Inc.

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

Specification Reference:
  • "docs/specs/acpi_cpu_hotplug.txt" in the QEMU source tree.

    The original (now "legacy") CPU hotplug interface appeared in QEMU v1.5.0. The new ("modern") hotplug interface appeared in QEMU v2.7.0.

    The macros in this header file map to the minimal subset of the modern interface that OVMF needs.

Definition in file QemuCpuHotplug.h.

Macro Definition Documentation

◆ QEMU_CPUHP_CMD_GET_ARCH_ID

#define QEMU_CPUHP_CMD_GET_ARCH_ID   0x3

Definition at line 46 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_CMD_GET_PENDING

#define QEMU_CPUHP_CMD_GET_PENDING   0x0

Definition at line 45 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_R_CMD_DATA2

#define QEMU_CPUHP_R_CMD_DATA2   0x0

Definition at line 31 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_R_CPU_STAT

#define QEMU_CPUHP_R_CPU_STAT   0x4

Definition at line 33 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_RW_CMD_DATA

#define QEMU_CPUHP_RW_CMD_DATA   0x8

Definition at line 40 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_STAT_EJECT

#define QEMU_CPUHP_STAT_EJECT   BIT3

Definition at line 37 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_STAT_ENABLED

#define QEMU_CPUHP_STAT_ENABLED   BIT0

Definition at line 34 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_STAT_FW_REMOVE

#define QEMU_CPUHP_STAT_FW_REMOVE   BIT4

Definition at line 38 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_STAT_INSERT

#define QEMU_CPUHP_STAT_INSERT   BIT1

Definition at line 35 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_STAT_REMOVE

#define QEMU_CPUHP_STAT_REMOVE   BIT2

Definition at line 36 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_W_CMD

#define QEMU_CPUHP_W_CMD   0x5

Definition at line 44 of file QemuCpuHotplug.h.

◆ QEMU_CPUHP_W_CPU_SEL

#define QEMU_CPUHP_W_CPU_SEL   0x0

Definition at line 42 of file QemuCpuHotplug.h.