380 Commits

Author SHA1 Message Date
Mark 49a2f60c24 Add AHCI SATA write and ext2 file reading 2020-01-26 19:50:46 +02:00
Mark 5f9e6a3774 Add a bunch of stuff to sysfs 2020-01-26 00:32:23 +02:00
Mark 84d02993d4 Add a simple sysfs implementation 2020-01-25 23:04:55 +02:00
Mark 6a8f09a9d9 Organize source files, make USB stuff optional 2020-01-25 02:32:44 +02:00
Mark 5ff24ec6df Fix PS/2 keyboard input 2020-01-25 01:37:45 +02:00
Mark 0ab205579f Fix queue handling in UHCI driver, add USB keyboard support 2020-01-25 01:27:00 +02:00
Mark 016037659a USB: Add device enumeration and UHCI (ugly) support
Most of the idea for UHCI controller queue handling is
shamelessly stolen from https://github.com/pdoane/osdev, except
the way of handling queue heads and allocating them is very
simplified.
2020-01-24 17:40:28 +02:00
Mark e5b1674748 New AHCI driver, SATA/SATAPI support for reading (+ SATA writing) 2020-01-23 16:27:20 +02:00
Mark 28aa749956 Get rid of old AHCI/IDE drivers 2020-01-22 15:38:56 +02:00
Mark f648cd2b94 Get rid of old ext2 2020-01-22 15:36:58 +02:00
Mark 92fe570c38 Make kernel debug levels configurable 2020-01-22 15:31:57 +02:00
Mark dad41847e3 Add ttyS0 2020-01-22 15:01:37 +02:00
Mark 89b7b86fbb Add options to configure kernel cmdline 2020-01-22 13:35:50 +02:00
Mark b65bf12eb1 Sketchy mmap() and ioctl()s for fbdev, allow mapping VESA fbdev 2020-01-21 19:17:27 +02:00
Mark 0105aa8002 Proper line discipline for TTYs and simple line discipline for chardevs 2020-01-21 17:08:31 +02:00
Mark 5f5f315a4b PS/2 Mouse support (3-button), testing chardev 2020-01-20 23:24:16 +02:00
Mark 5d316c0691 Add caps lock handling (ps/2) 2020-01-20 17:08:58 +02:00
Mark 7d962ff208 Remove __isatty() system call 2020-01-20 16:58:14 +02:00
Mark f6c8c2b941 Add ^D (broken a bit, but kind of works) and TIOCGWINSZ 2020-01-20 16:57:05 +02:00
Mark 5d3e884b66 Basic job control with process groups. setuid bit support 2020-01-20 15:39:57 +02:00
Mark 6bd26ca5b6 Fix minor allocations problems with ext2, add PS/2 keys 2020-01-20 00:53:59 +02:00
Mark 27442d612f Add shebang parsing 2020-01-19 17:54:01 +02:00
Mark 020eb544a9 Automatic filesystem guessing when mounting 2020-01-17 16:02:57 +02:00
Mark 9626452ef7 Add mtime/ctime/atime support with system time 2020-01-17 13:58:41 +02:00
Mark c1bd980264 select() syscall for character device reads 2020-01-17 12:53:56 +02:00
Mark 4584b22585 Add timer value in debug console output 2020-01-17 12:15:23 +02:00
Mark 100fc00e18 Fix VESA framebuffer scrolling 2020-01-16 16:55:39 +02:00
Mark 6374b0b231 Make tarfs writable in-memory 2020-01-16 16:19:41 +02:00
Mark 97db4331b4 Add a way to handle illegal system call and segmentation faults in
signal handlers
2020-01-16 14:04:14 +02:00
Mark 1e597e0ac4 umount() system call 2020-01-15 22:36:29 +02:00
Mark f2ad1e69eb Fixed broken signal handling 2020-01-15 22:07:11 +02:00
Mark 05e10db0e2 Add "uname" system call 2020-01-15 17:16:03 +02:00
Mark 86cd5446cd Set system boot time properly, fix gettimeofday 2020-01-15 17:00:24 +02:00
Mark b7c8ce1d2b Clean comments up, merge ext2 inode block index code 2020-01-15 13:05:53 +02:00
Mark 12b2df3570 Fix header a bit for POSIX compat 2020-01-14 17:38:03 +02:00
Mark 9b00ad3bff Add lseek system call 2020-01-14 16:20:44 +02:00
Mark 94aee57638 Better permission handling, add chmod/chown 2020-01-14 14:07:57 +02:00
Mark 7e9fad9dd0 Add mkdir/rmdir 2020-01-14 13:04:14 +02:00
Mark dad9667f75 Add unlink and fix file positions when writing/reading 2020-01-14 12:33:32 +02:00
Mark 7cb823b8f0 Properly implement vnode -> path 2020-01-14 12:08:35 +02:00
Mark 0067f1bc74 Colorful errors 2020-01-14 11:32:06 +02:00
Mark fe9c7ea9a2 Optimize ELF loading with lseek 2020-01-14 11:13:01 +02:00
Mark 38ae0eb4bf More memory leak fixes 2020-01-13 23:30:56 +02:00
Mark 60ea4efb10 Add devfs stat() 2020-01-13 22:40:34 +02:00
Mark f00a4a2eac Added setXid/getXid, chdir 2020-01-13 17:30:09 +02:00
Mark 7100c0ff07 Add current directory and execve 2020-01-13 16:14:19 +02:00
Mark cfd0267927 Add opendir/readdir 2020-01-13 15:28:14 +02:00
Mark 63bd9a2b35 Add open/truncate/read/write operations + file access 2020-01-13 14:38:16 +02:00
Mark 8b0fe62240 Add read/write syscalls again 2020-01-12 22:59:13 +02:00
Mark d0784e5f4b Userspace init executes again, fixed missing FXSAVE zone in threads 2020-01-12 22:17:15 +02:00