Relocate macros for supporting non-byte addressible architectures
Moves these macros to the main public API include file for each supported architecture, since the <arch>type.h include file is to be eliminated. Change-Id: Ia87b9c0bed1501bcce7f363bd4155f7ef642376a Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
ecd6acec01
commit
03a2abe737
6 changed files with 15 additions and 13 deletions
|
@ -49,6 +49,11 @@ extern "C" {
|
|||
#include <cputype.h>
|
||||
#endif
|
||||
|
||||
/* APIs need to support non-byte addressible architectures */
|
||||
|
||||
#define OCTET_TO_SIZEOFUNIT(X) (X)
|
||||
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
||||
|
||||
#ifdef CONFIG_CPU_CORTEXM
|
||||
#include <arch/arm/CortexM/init.h>
|
||||
#include <arch/arm/CortexM/exc.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue