Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-19 | kernel: vfs: Add support for open hook | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-19 | kernel: Add reboot() and reboot syscall | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-19 | kernel: tty: Implement tty_ioctl() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-19 | kernel: sched: Align 'tdq_lock' on cache line size | Ian Moffett | |
The lock should be aligned on a cache line boundary so it isn't in a cache line with other data. This is important for 'tdq_lock' as it is used by every processor which constantly acquires and releases it. This alignment can reduce how violently cache lines bounce between processor local caches. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-18 | kernel: tty: Handle input processing better | Ian Moffett | |
- Fix copying logic in tty_read() - Handle ICANON correctly - Add ECHO c_lflag bit - Add TTY_SOURCE_DEV and TTY_SOURCE_RAW defines Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-18 | kernel: tty: Add tty_putstr() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-18 | kernel: tty: Handle ICANON | Ian Moffett | |
Add basic handling for canonical mode Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-18 | kernel: syslog: Remove useless variable | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-17 | kernel: tty: Append to ring before length check | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-16 | kernel: panic: Call intr_mask() first | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-16 | kernel: sched: Move loader code away from sched | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-14 | kernel: init: Cleanup whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-14 | kernel: machdep: Add machine_panic() + panic beep | Ian Moffett | |
machine_panic() handles things like backtracing, beeping the speaker and halting the processor. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-14 | kernel: tty: Add tty_attach() | Ian Moffett | |
This commit adds a new routine called tty_attach(). This routine allows a TTY to be registered with the system and have a device file associated with it. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-12 | kernel: tty: Add initial TTY code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-12 | kernel: vcons: Don't touch termios | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-30 | kernel: panic: Try to stop other processors | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-28 | kernel: vfs: Pass source vnode to vfsops.init() | Kaimakan71 | |
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-27 | kernel: vfs: Implement sys_mount() | Kaimakan71 | |
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-27 | kernel: kern_exec: Fix argp resize logic | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-27 | kernel: kern_exec: Fixup cleanup in execv() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: kern_exec: Close file descriptor | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: Add support for execv() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Expose sched_init_stack() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Move sched stack macros to sched.h | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Implement SEEK_END | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Move sys_exit() from kern_syscall.c | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: Implement basic loader_unload() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Acquire mutex in read() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Acquire mutex in write() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: Add support for mutex locks | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: sched: Add support for early preemption | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel: filedesc: Ensure write() fd is correct | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-25 | kernel: sched: Use exec_args for argp, envp, etc | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-24 | kernel: Add ioctl support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-22 | kernel: auxv: Add AT_PAGESIZE | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-21 | kernel: sched: Ensure td is removed from queue | Ian Moffett | |
Upon sched_exit(), the thread should not be in the queue Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-21 | kernel: sched: Create idle thread | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-18 | kernel: filedesc: Handle multiple oflag bits | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-17 | kernel: vfs_subr: Add vfs_write() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-16 | kernel: vm_map: Add mmap() and munmap() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-13 | kernel: signal: Fix deadlock in signal_handle() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-13 | kernel: filedesc: Increment offset per read() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: create_dev() -> device_create() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: Get rid of invalid_uaddr() | Ian Moffett | |
Use signal_raise(NULL, SIGSEGV) instead Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: signals: Add initial signal implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: sched: Lock thread upon sched_exit() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: fs: Add devfs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: filedesc: Check fd_desc before using it | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel: filedesc: Cleanup whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |