Skip to content

Commit 816f3b5

Browse files
committed
syscalls: dispatch pcontig()
1 parent 506159a commit 816f3b5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/syscalls/dispatch.c

+6-1
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,11 @@ void syscallDispatchMMIO(SyscallRequest *req) {
455455
req->unblock = true;
456456
}
457457

458+
void syscallDispatchPContig(SyscallRequest *req) {
459+
req->ret = pcontig(req->thread, req->params[0], req->params[1], req->params[2]);
460+
req->unblock = true;
461+
}
462+
458463
void (*syscallDispatchTable[])(SyscallRequest *) = {
459464
/* group 1: scheduler functions */
460465
syscallDispatchExit, // 0 - exit()
@@ -518,5 +523,5 @@ void (*syscallDispatchTable[])(SyscallRequest *) = {
518523
syscallDispatchIRQ, // 50 - irq()
519524
syscallDispatchIoctl, // 51 - ioctl()
520525
syscallDispatchMMIO, // 52 - mmio()
521-
NULL, // 53 - pcontig()
526+
syscallDispatchPContig, // 53 - pcontig()
522527
};

0 commit comments

Comments
 (0)