mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
cxl/mailbox: move mailbox effect definitions to a header
Preparation for allowing devices to define their own CCI commands Signed-off-by: Gregory Price <gregory.price@memverge.com> Link: https://lore.kernel.org/r/20230906001517.324380-2-gregory.price@memverge.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20240705123039.963781-2-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
89b5cfcc31
commit
25da36d5d0
2 changed files with 33 additions and 19 deletions
18
include/hw/cxl/cxl_mailbox.h
Normal file
18
include/hw/cxl/cxl_mailbox.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* QEMU CXL Mailbox
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2. See the
|
||||
* COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef CXL_MAILBOX_H
|
||||
#define CXL_MAILBOX_H
|
||||
|
||||
#define CXL_MBOX_IMMEDIATE_CONFIG_CHANGE (1 << 1)
|
||||
#define CXL_MBOX_IMMEDIATE_DATA_CHANGE (1 << 2)
|
||||
#define CXL_MBOX_IMMEDIATE_POLICY_CHANGE (1 << 3)
|
||||
#define CXL_MBOX_IMMEDIATE_LOG_CHANGE (1 << 4)
|
||||
#define CXL_MBOX_SECURITY_STATE_CHANGE (1 << 5)
|
||||
#define CXL_MBOX_BACKGROUND_OPERATION (1 << 6)
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue