diff options
author | dzwdz | 2022-07-07 18:34:47 +0200 |
---|---|---|
committer | dzwdz | 2022-07-07 18:34:47 +0200 |
commit | 8dc3d7df4c73b320fa84b2e871732276a7c6e20f (patch) | |
tree | 8c0eae523e8349cdf7763e5deacd6b5e10c85f61 /src/init/driver/ps2.c | |
parent | b935b0202ffeafcf775be96c95c8a67b62241a12 (diff) |
shared: add a flags argument to _syscall_fs_respond
Diffstat (limited to 'src/init/driver/ps2.c')
-rw-r--r-- | src/init/driver/ps2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/init/driver/ps2.c b/src/init/driver/ps2.c index 5623b98..d01c522 100644 --- a/src/init/driver/ps2.c +++ b/src/init/driver/ps2.c @@ -56,10 +56,10 @@ static void main_loop(void) { switch (res.op) { case VFSOP_OPEN: if (res.flags & OPEN_CREATE) { - _syscall_fs_respond(NULL, -1); + _syscall_fs_respond(NULL, -1, 0); break; } - _syscall_fs_respond(NULL, 1); + _syscall_fs_respond(NULL, 1, 0); break; case VFSOP_READ: @@ -71,11 +71,11 @@ static void main_loop(void) { parse_scancode(buf[i]); } ret = ring_get((void*)&backlog, buf, res.capacity); - _syscall_fs_respond(buf, ret); + _syscall_fs_respond(buf, ret, 0); break; default: - _syscall_fs_respond(NULL, -1); + _syscall_fs_respond(NULL, -1, 0); break; } } |