[libcpu][aarch64] 使用设备树对CPU进行初始化 (#8221)

This commit is contained in:
fangjianzhou
2023-11-28 14:20:11 +08:00
committed by GitHub
parent c06f4e98fc
commit 249871cbbc
23 changed files with 1101 additions and 782 deletions

View File

@@ -90,10 +90,6 @@ rt_region_t init_page_region = {
*/
void rt_hw_board_init(void)
{
extern void (*system_off)(void);
extern void reboot(void);
system_off = reboot;
/* io device remap */
#ifdef RT_USING_SMART
rt_hw_mmu_map_init(&rt_kernel_space, (void*)0xfffffffff0000000, 0x10000000, MMUTable, PV_OFFSET);