mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
refine: remove redundant data type definition
remove data defination of mmio_addr_t, vaddr_t, paddr_t, and ioport_t. Signed-off-by: Zheng, Gen <gen.zheng@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
This commit is contained in:
@@ -208,14 +208,14 @@ static void deny_guest_io_access(struct vm *vm, uint32_t address, uint32_t nbyte
|
||||
|
||||
static uint32_t
|
||||
default_io_read(__unused struct vm_io_handler *hdlr, __unused struct vm *vm,
|
||||
ioport_t address, size_t width)
|
||||
uint16_t address, size_t width)
|
||||
{
|
||||
uint32_t v = io_read(address, width);
|
||||
return v;
|
||||
}
|
||||
|
||||
static void default_io_write(__unused struct vm_io_handler *hdlr,
|
||||
__unused struct vm *vm, ioport_t addr,
|
||||
__unused struct vm *vm, uint16_t addr,
|
||||
size_t width, uint32_t v)
|
||||
{
|
||||
io_write(v, addr, width);
|
||||
|
Reference in New Issue
Block a user