include: arch: move addr_types to common location

All architectures declare those variables the same way, no need to
define them per arch, instead put them in common. If someone deviates,
they can create their own header.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-02 21:44:42 -04:00
commit d647751bbc
9 changed files with 7 additions and 55 deletions

View file

@ -16,6 +16,7 @@
#include <system.h>
#include <arch/nios2/asm_inline.h>
#include <arch/common/addr_types.h>
#include <generated_dts_board.h>
#include "nios2.h"
#include <arch/common/sys_io.h>
@ -39,9 +40,6 @@ extern "C" {
#include <irq.h>
#include <sw_isr_table.h>
/* physical/virtual address types required by the kernel */
typedef unsigned int paddr_t;
typedef unsigned int vaddr_t;
/**
* Configure a static interrupt.