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

@@ -82,7 +82,7 @@ static uint64_t map_ioapic(
/* At some point we may need to translate this paddr to a vaddr.
* 1:1 mapping for now.
*/
return (vaddr_t) ioapic_paddr;
return ioapic_paddr;
}
static inline uint32_t