2022-03-29 11:08:25 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2017-5-30 Bernard the first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __BOARD_H__
|
|
|
|
#define __BOARD_H__
|
|
|
|
|
|
|
|
#include <rk3568.h>
|
|
|
|
|
|
|
|
extern unsigned char __bss_start;
|
|
|
|
extern unsigned char __bss_end;
|
|
|
|
|
|
|
|
#define RT_HW_HEAP_BEGIN (void *)&__bss_end
|
|
|
|
#define RT_HW_HEAP_END (void *)(RT_HW_HEAP_BEGIN + 64 * 1024 * 1024)
|
|
|
|
|
2022-12-20 17:49:37 +08:00
|
|
|
#ifndef RT_USING_SMART
|
|
|
|
#define PV_OFFSET 0
|
|
|
|
#define KERNEL_VADDR_START 0
|
|
|
|
#endif
|
|
|
|
|
2022-03-29 11:08:25 +08:00
|
|
|
void rt_hw_board_init(void);
|
|
|
|
|
|
|
|
#endif /* __BOARD_H__ */
|