nios2: port to unified kernel
With this patch we introduce unified kernel support for NIOS II. Not all test cases have been ported, but the following command currently succeeds with 43/43 passing test cases: $ sanitycheck --arch=nios2 -xKERNEL_TYPE=unified \ --tag=unified_capable Issue: ZEP-934 Change-Id: Id8effa0369a6a22c4d0a789fa2a8e108af0e0786 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
9f0977791f
commit
431607c20a
10 changed files with 212 additions and 54 deletions
|
@ -1774,7 +1774,11 @@ __asm__(".macro _build_mem_pool name, min_size, max_size, n_max\n\t"
|
|||
static void __attribute__ ((used)) __k_mem_pool_quad_block_size_define(void)
|
||||
{
|
||||
__asm__(".globl __memory_pool_quad_block_size\n\t"
|
||||
#ifdef CONFIG_NIOS2
|
||||
"__memory_pool_quad_block_size = %0\n\t"
|
||||
#else
|
||||
"__memory_pool_quad_block_size = %c0\n\t"
|
||||
#endif
|
||||
:
|
||||
: "n"(sizeof(struct k_mem_pool_quad_block)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue