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:
Zheng, Gen
2018-04-13 14:51:25 +08:00
committed by Jack Ren
parent f3db18b981
commit 6b1782b360
14 changed files with 68 additions and 79 deletions

View File

@@ -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;