host: fix build errors

Fixes building errors for arch host.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
Tomasz Lauda 2018-09-24 10:33:36 +02:00
parent 30f8f76288
commit 658ef67d1d
2 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,10 @@
/* data cache line alignment */
#define PLATFORM_DCACHE_ALIGN sizeof(uint32_t)
#define PLATFORM_HEAP_SYSTEM 1
#define PLATFORM_HEAP_RUNTIME 1
#define PLATFORM_HEAP_BUFFER 3
static inline void *arch_get_stack_ptr(void)
{
void *frames[ARCH_STACK_DUMP_FRAMES];

View File

@ -192,7 +192,7 @@ typedef void(*log_func)();
#define __log_message(func_name, lvl, comp_id, format, ...) \
{ \
_DECLARE_LOG_ENTRY(lvl, format, comp_id, PP_NARG(__VA_ARGS__)); \
BASE_LOG(func_name, (uint32_t)&log_entry, ##__VA_ARGS__) \
BASE_LOG(func_name, &log_entry, ##__VA_ARGS__) \
}
#define _log_message(mbox, atomic, level, comp_id, format, ...) \