mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
hv: remove 'flags' field in struct vm_io_range
Currently, 'flags' is defined and set but never be used in the flow of handling i/o request after then. Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
eab4e42e7b
commit
700a37856f
@@ -41,7 +41,6 @@ struct io_request {
|
||||
struct vm_io_range {
|
||||
uint16_t base; /**< IO port base */
|
||||
uint16_t len; /**< IO port range */
|
||||
uint32_t flags; /**< IO port attributes */
|
||||
};
|
||||
|
||||
struct vm_io_handler_desc;
|
||||
@@ -105,11 +104,6 @@ struct vm_io_handler_desc {
|
||||
io_write_fn_t io_write;
|
||||
};
|
||||
|
||||
|
||||
#define IO_ATTR_R 0U
|
||||
#define IO_ATTR_RW 1U
|
||||
#define IO_ATTR_NO_ACCESS 2U
|
||||
|
||||
/* Typedef for MMIO handler and range check routine */
|
||||
struct mmio_request;
|
||||
typedef int32_t (*hv_mem_io_handler_t)(struct io_request *io_req, void *handler_private_data);
|
||||
|
Reference in New Issue
Block a user