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)