nios2: include required macros for byte addressing
These are no-ops since this is not an arch that isn't byte- addressable. Change-Id: I09b0fd8b8d85f67bcca2dcb6ebc35843c19afa45 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
5a92526a7d
commit
a1c71b2043
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,11 @@ extern "C" {
|
|||
#define _NANO_ERR_ALLOCATION_FAIL (3) /* Kernel Allocation Failure */
|
||||
#define _NANO_ERR_SPURIOUS_INT (4) /* Spurious interrupt */
|
||||
|
||||
/* APIs need to support non-byte addressible architectures */
|
||||
|
||||
#define OCTET_TO_SIZEOFUNIT(X) (X)
|
||||
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
#include <stdint.h>
|
||||
#include <irq.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue