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
|
@ -18,6 +18,8 @@
|
|||
#include <arch/nios2/asm_inline.h>
|
||||
#include <generated_dts_board.h>
|
||||
#include "nios2.h"
|
||||
#include <arch/common/sys_io.h>
|
||||
#include <arch/common/ffs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue