Break devctl() up into smaller syscalls
This commit is contained in:
13
kernel/syscall/dev.h
Normal file
13
kernel/syscall/dev.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef SYSCALL_DEV_H_
|
||||
#define SYSCALL_DEV_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include "syscall.h"
|
||||
|
||||
int32_t SYSCALL2(sys_dev_gethandle, dev1, devname1);
|
||||
int32_t SYSCALL0(sys_dev_listsize);
|
||||
int32_t SYSCALL2(sys_dev_stat, devstat1, idx1);
|
||||
int32_t SYSCALL5(sys_dev_cmd, dev1, cmd1, argbuf1, len1, extra1);
|
||||
|
||||
#endif // SYSCALL_DEV_H_
|
||||
Reference in New Issue
Block a user