Commit Graph

146 Commits

Author SHA1 Message Date
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
Mark 7ddb53c7a0 Don't run init task longer than needed, remove ethq handler for now 2020-01-12 17:42:48 +02:00
Mark 2aeca31778 Kernel tasks have negative pids 2020-01-12 17:32:12 +02:00
Mark bada9ed786 Rework thread init function a bit 2020-01-12 14:57:06 +02:00
Mark fa399280fd Add find() and link resolution to VFS 2020-01-12 12:57:31 +02:00
Mark 2e795d2ebf Minimal working vfs refactor 2020-01-10 15:37:54 +02:00
Mark 7272b762c0 Remove comments too 2020-01-10 14:21:44 +02:00
Mark 565f67188a Remove old VFS implementation 2020-01-10 14:09:45 +02:00
Mark f134a72dff Proper FPU initialization, SSE support 2020-01-09 19:55:55 +02:00
Mark a44012cb08 Store FPU context properly with FXSAVE/FXRSTOR 2020-01-09 19:38:20 +02:00
Mark ecf8fe5d46 Add basic urandom device 2020-01-09 15:28:02 +02:00
Mark 9da01f0d46 Merge devfs into dev.c, add stat() 2020-01-09 15:10:22 +02:00
Mark c39c4dca2a Add creat()/unlink()/mkdir() 2020-01-09 13:20:52 +02:00
Mark 9ca8d033a4 AHCI write support 2020-01-09 13:06:21 +02:00
Mark 22fd70a4aa Refactor: split syscall definitions into separate source files 2020-01-07 02:37:36 +02:00
Mark bc1ab6776c Add waitpid syscall 2020-01-05 14:44:07 +02:00
Mark 30078e18e6 Faster CVGA console 2020-01-05 02:32:22 +02:00
Mark 2495d2e705 Process hierarchy + fixed a retarded bug with whole queue reset when
removing a thread
2020-01-05 01:46:29 +02:00
Mark 1e3b890115 Fix a problem with root vnode in tarfs 2020-01-04 20:26:12 +02:00
Mark 7df7f9cbe4 Added reboot syscall (linux-like) 2020-01-04 19:09:49 +02:00
Mark c5875c4639 Scheduler optimization, console optimization (still slow as hell) 2020-01-04 15:29:44 +02:00
Mark dd8564a134 Added a kind-of-working openpty() 2020-01-03 22:13:38 +02:00
Mark 5dc3bf9f34 PSF, VESA fbcon support 2020-01-02 19:48:37 +02:00
Mark a47c5f6b9f Remove "extern" declaration in code block 2020-01-02 15:37:46 +02:00
Mark b50781ed2a Changed signal queue to bitmap 2020-01-02 15:20:06 +02:00
Mark 6a03d92882 Added global timer (PIT-backed now) and nanosleep() syscall 2019-12-31 13:01:47 +02:00
Mark 8380cd3155 Crude argument passing, added hex dump as demo program 2019-12-30 17:26:33 +02:00
Mark d005f86b17 Add chdir (working) and getcwd (stub) 2019-12-30 04:26:16 +02:00
Mark 689d0d9534 Fix readdir for ext2 2019-12-30 04:06:16 +02:00
Mark 86b45f4f95 Make ttyX not implement a vnode struct for itself 2019-12-30 02:02:27 +02:00
Mark 164022b8d1 Add pseudo devices 2019-12-30 01:43:40 +02:00