[v1,17/24] eal/linux: set eal base address for LoongArch
Checks
Commit Message
This patch sets a different eal base address for LoongArch
architecture.
Signed-off-by: Min Zhou <zhoumin@loongson.cn>
---
lib/eal/linux/eal_memory.c | 4 ++++
1 file changed, 4 insertions(+)
@@ -77,7 +77,11 @@ uint64_t eal_get_baseaddr(void)
* rte_mem_check_dma_mask for ensuring all memory is within supported
* range.
*/
+#if defined(RTE_ARCH_LOONGARCH)
+ return 0x7000000000ULL;
+#else
return 0x100000000ULL;
+#endif
}
/*