summaryrefslogtreecommitdiff
path: root/kernel/halts.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/halts.h')
-rw-r--r--kernel/halts.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/kernel/halts.h b/kernel/halts.h
index 11e47ff..ed0637f 100644
--- a/kernel/halts.h
+++ b/kernel/halts.h
@@ -1,21 +1,7 @@
#ifndef HALTS_H
#define HALTS_H
#include <fs/vfs.h>
+#include <sched/scheduler.h>
#include <typedefs.h>
-
-typedef struct {
- u8 *ptr;
- u8 active;
-} halt_t;
-
-int create_read_fdhalt(vfs_fd_t *fd);
-int create_read_inode_halt(vfs_inode_t *inode);
-void unset_read_fdhalt(int i);
-int create_write_fdhalt(vfs_fd_t *fd);
-int create_write_inode_halt(vfs_inode_t *inode);
-void unset_write_fdhalt(int i);
-int create_disconnect_fdhalt(vfs_fd_t *fd);
-void unset_disconnect_fdhalt(int i);
-int isset_fdhalt(vfs_inode_t *read_halts[], vfs_inode_t *write_halts[],
- vfs_inode_t *disconnect_halts[]);
+int isset_fdhalt(process_t *p);
#endif