rt-thread-official/bsp/qemu-vexpress-a9/drivers/board.h

30 lines
617 B
C
Raw Normal View History

2017-09-19 12:14:52 +08:00
/*
* Copyright (c) 2006-2020, RT-Thread Development Team
2017-09-19 12:14:52 +08:00
*
* SPDX-License-Identifier: Apache-2.0
2017-09-19 12:14:52 +08:00
*
* Change Logs:
* Date Author Notes
* 2013-07-06 Bernard the first version
*/
#ifndef __BOARD_H__
#define __BOARD_H__
#include <realview.h>
#include "vexpress_a9.h"
2017-09-19 12:14:52 +08:00
#if defined(__CC_ARM)
extern int Image$$RW_IRAM1$$ZI$$Limit;
#define HEAP_BEGIN ((void*)&Image$$RW_IRAM1$$ZI$$Limit)
#elif defined(__GNUC__)
extern int __bss_end;
#define HEAP_BEGIN ((void*)&__bss_end)
#endif
#define HEAP_END (void*)(0x60000000 + 8 * 1024 * 1024)
void rt_hw_board_init(void);
#endif