include: arch: move bits_portable.h to arch/common
We had architectures doing this differently, some had a dedicated sys_io.h file, some not. Unify how it is done by splitting the arch specific sys_io implementation into a sys_io file and include it instead. Move bits_portable.h to arch/common and split the file so more architecture can reuse some of the definitions here instead of duplicating code. Where applicable use the common sys_io/ffs definitions. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
e82a9e9a55
commit
b01568c2cd
22 changed files with 848 additions and 1363 deletions
|
@ -30,7 +30,8 @@
|
|||
#include <arch/arm/cortex_m/memory_map.h>
|
||||
#include <arch/arm/cortex_m/asm_inline.h>
|
||||
#include <arch/arm/cortex_m/addr_types.h>
|
||||
#include <arch/arm/cortex_m/sys_io.h>
|
||||
#include <arch/common/sys_io.h>
|
||||
#include <arch/common/ffs.h>
|
||||
#include <arch/arm/cortex_m/nmi.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue