From a5a014b30ae7e0884641efb03645a30f80dbc5a9 Mon Sep 17 00:00:00 2001 From: TXuian <1163589503@qq.com> Date: Fri, 1 Nov 2024 15:44:46 +0800 Subject: [PATCH] Correct function name mmap_with_attr --- Ubiquitous/XiZi_AIoT/services/lib/usyscall/usyscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ubiquitous/XiZi_AIoT/services/lib/usyscall/usyscall.c b/Ubiquitous/XiZi_AIoT/services/lib/usyscall/usyscall.c index 3e6d151ab..8ed5fbee6 100644 --- a/Ubiquitous/XiZi_AIoT/services/lib/usyscall/usyscall.c +++ b/Ubiquitous/XiZi_AIoT/services/lib/usyscall/usyscall.c @@ -154,7 +154,7 @@ int mmap_with_attr(uintptr_t vaddr, uintptr_t paddr, int len, uintptr_t attr) .type = SYS_MMAP_CUSTOMIZE, .attr = attr, }; - return syscall(SYSCALL_MMAP, (intptr_t)vaddr, (intptr_t)paddr, (intptr_t)len, (intptr_t)&info); + return syscall(SYSCALL_MMAP, (intptr_t)&vaddr, (intptr_t)&paddr, (intptr_t)len, (intptr_t)&info); } int register_irq(int irq, int opcode)