host: move memory defines to appropriate header

Moves memory defines for host architecture to
memory.h.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
Tomasz Lauda 2019-07-16 09:44:55 +02:00 committed by Tomasz Lauda
parent eb6378cb4b
commit 62035b22fc
2 changed files with 5 additions and 5 deletions

View File

@ -21,11 +21,6 @@
/* data cache line alignment */
#define PLATFORM_DCACHE_ALIGN sizeof(uint32_t)
#define PLATFORM_HEAP_SYSTEM 1
#define PLATFORM_HEAP_SYSTEM_RUNTIME 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

@ -20,6 +20,11 @@
#define MAILBOX_BASE 0
#define MAILBOX_BASE_SIZE 0x400
#define PLATFORM_HEAP_SYSTEM 1
#define PLATFORM_HEAP_SYSTEM_RUNTIME 1
#define PLATFORM_HEAP_RUNTIME 1
#define PLATFORM_HEAP_BUFFER 3
#endif /* __PLATFORM_MEMORY_H__ */
#else