2020-01-10 10:38:21 +08:00
|
|
|
/*
|
2021-03-14 12:58:10 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2020-01-10 10:38:21 +08:00
|
|
|
*
|
|
|
|
* 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 <stdint.h>
|
2021-08-06 18:35:58 +08:00
|
|
|
#include "raspi.h"
|
2020-01-10 10:38:21 +08:00
|
|
|
|
|
|
|
extern unsigned char __bss_start;
|
|
|
|
extern unsigned char __bss_end;
|
|
|
|
|
|
|
|
#define RT_HW_HEAP_BEGIN (void*)&__bss_end
|
2020-02-28 14:47:18 +08:00
|
|
|
#define RT_HW_HEAP_END (void*)(RT_HW_HEAP_BEGIN + 64 * 1024 * 1024)
|
2020-01-10 10:38:21 +08:00
|
|
|
|
2022-12-20 17:49:37 +08:00
|
|
|
#ifndef RT_USING_SMART
|
|
|
|
#define PV_OFFSET 0
|
|
|
|
#define KERNEL_VADDR_START 0
|
|
|
|
#endif
|
|
|
|
|
2020-01-10 10:38:21 +08:00
|
|
|
void rt_hw_board_init(void);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|