forked from xuos/xiuos
Correct function name mmap_with_attr
This commit is contained in:
@@ -154,7 +154,7 @@ int mmap_with_attr(uintptr_t vaddr, uintptr_t paddr, int len, uintptr_t attr)
|
|||||||
.type = SYS_MMAP_CUSTOMIZE,
|
.type = SYS_MMAP_CUSTOMIZE,
|
||||||
.attr = attr,
|
.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)
|
int register_irq(int irq, int opcode)
|
||||||
|
|||||||
Reference in New Issue
Block a user