mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 06:19:24 +00:00
dm: completely remove enable_bar()/disable_bar() functions
Following up ond648df766c
, surgically remove all the functions related to enable_bar()/disable_bar() that got introduced in8787b65fde
. Tracked-On: #2902 Signed-off-by: Peter Fang <peter.fang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
a718fbe860
commit
4c38ff00c6
@@ -74,7 +74,5 @@ void init_inout(void);
|
||||
int emulate_inout(struct vmctx *ctx, int *pvcpu, struct pio_request *req);
|
||||
int register_inout(struct inout_port *iop);
|
||||
int unregister_inout(struct inout_port *iop);
|
||||
int enable_inout(struct inout_port *iop);
|
||||
int disable_inout(struct inout_port *iop);
|
||||
|
||||
#endif /* _INOUT_H_ */
|
||||
|
@@ -42,16 +42,13 @@ struct mem_range {
|
||||
long arg2;
|
||||
uint64_t base;
|
||||
uint64_t size;
|
||||
bool enabled;
|
||||
};
|
||||
#define MEM_F_READ 0x1
|
||||
#define MEM_F_WRITE 0x2
|
||||
#define MEM_F_RW 0x3
|
||||
#define MEM_F_RW (MEM_F_READ | MEM_F_WRITE)
|
||||
#define MEM_F_IMMUTABLE 0x4 /* mem_range cannot be unregistered */
|
||||
|
||||
int emulate_mem(struct vmctx *ctx, struct mmio_request *mmio_req);
|
||||
int disable_mem(struct mem_range *memp);
|
||||
int enable_mem(struct mem_range *memp);
|
||||
int register_mem(struct mem_range *memp);
|
||||
int register_mem_fallback(struct mem_range *memp);
|
||||
int unregister_mem(struct mem_range *memp);
|
||||
|
Reference in New Issue
Block a user