mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +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:
@@ -153,7 +153,7 @@ static void uart_toggle_intr(struct vuart *vu)
|
||||
}
|
||||
|
||||
static void uart_write(__unused struct vm_io_handler *hdlr,
|
||||
struct vm *vm, ioport_t offset,
|
||||
struct vm *vm, uint16_t offset,
|
||||
__unused size_t width, uint32_t value)
|
||||
{
|
||||
struct vuart *vu = vm_vuart(vm);
|
||||
@@ -231,7 +231,7 @@ done:
|
||||
}
|
||||
|
||||
static uint32_t uart_read(__unused struct vm_io_handler *hdlr,
|
||||
struct vm *vm, ioport_t offset,
|
||||
struct vm *vm, uint16_t offset,
|
||||
__unused size_t width)
|
||||
{
|
||||
char iir, intr_reason, reg;
|
||||
|
||||
Reference in New Issue
Block a user