/* * Copyright (c) 2006-2023, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Email: opensource_embedded@phytium.com.cn * * Change Logs: * Date Author Notes * 2023-04-27 huanghe first version * */ #include "rtconfig.h" #include #include /* mmu config */ #ifdef RT_USING_SMART #if defined(TARGET_ARMV8_AARCH64) struct mem_desc platform_mem_desc[] = { { KERNEL_VADDR_START, KERNEL_VADDR_START + 0x0fffffff, (rt_size_t)ARCH_MAP_FAILED, NORMAL_MEM } }; #else struct mem_desc platform_mem_desc[] = { { KERNEL_VADDR_START, KERNEL_VADDR_START + 0x10000000, (rt_size_t)ARCH_MAP_FAILED, NORMAL_MEM } }; #endif const rt_uint32_t platform_mem_desc_size = sizeof(platform_mem_desc) / sizeof(platform_mem_desc[0]); #else /* mmu config */ struct mem_desc platform_mem_desc[] = { { 0x80000000, 0xFFFFFFFF, 0x80000000, DDR_MEM }, { 0, //< QSPI 0x1FFFFFFF, 0, DEVICE_MEM }, { 0x20000000, //