Squash commits for public release

This commit is contained in:
2025-02-12 09:54:05 -05:00
commit 7118adc514
1108 changed files with 80873 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#ifndef _KERNEL_IO_TTY_PTY_MASTER_H
#define _KERNEL_IO_TTY_PTY_MASTER_H
#include <algo/sync_ringbuffer.h>
#include <fs/vfs.h>
#ifndef PTYS_COUNT
#define PTYS_COUNT 16
#endif
struct pty_slave_entry;
struct pty_master_entry {
sync_ringbuffer_t buffer;
struct pty_slave_entry* pts;
dentry_t dentry;
};
typedef struct pty_master_entry pty_master_entry_t;
extern pty_master_entry_t pty_masters[PTYS_COUNT];
int pty_master_alloc(file_descriptor_t* fd);
#endif