Commit Graph

161 Commits

Author SHA1 Message Date
1f93e8db13 Reduce proc stack size to 1M 2025-11-10 18:48:47 +01:00
5c02d4d44a Fix distingishing kernel/user mode cpu exceptions 2025-11-10 18:35:46 +01:00
efaddb970a Remove useless path fiels in VfsObj 2025-11-10 18:19:17 +01:00
02d60129b1 Compress base.img using FastLZ library 2025-11-09 21:38:27 +01:00
e4a5c07b3d Change proc state under held spinlock 2025-11-08 21:40:15 +01:00
e0162e9e0b Add dev_delhandle() syscall to delete a device handle from process resources 2025-11-08 16:24:04 +01:00
2fa77d073f Only allow absolute paths 2025-11-06 21:58:24 +01:00
88ac5cf877 New syscalls vfsavailmounts() and vfsmountstat() to get info about current VFS mountpoints 2025-11-04 00:24:58 +01:00
9612e7961e No networking for now 2025-11-02 18:31:51 +01:00
0f93aa2a81 Implement schedsleep() syscall to sleep a process for a given time 2025-11-02 16:46:37 +01:00
179c4b98e2 Only one fb-terminal-based putchar_() 2025-11-02 14:16:10 +01:00
e52b33671b Fix very subtle spinlock race condition due to atomics misuse 2025-11-02 02:17:03 +01:00
9ccc6751e3 Use CS register to detect kernel code vs. user code in case of an exception 2025-11-02 00:46:31 +01:00
d947192475 Make socket port binding a separate step with ipc_netsockbindport() syscall 2025-10-29 22:33:41 +01:00
4417141216 Implement ipc_netsockdelete() syscall and automatic dangling socket cleanup 2025-10-29 21:21:35 +01:00
815c2239fe Porting PicoTCP WIP 2025-10-29 14:29:06 +01:00
6722f42e68 fix tiny leak 2025-10-26 17:38:39 +01:00
2b3b135160 fix unused stuff warnings 2025-10-25 23:26:32 +02:00
e8d8e5e9f9 Expose raw reads/writes to store devs via dev interface 2025-10-20 00:00:53 +02:00
01da863b8b Handle disk partitioning 2025-10-19 22:29:19 +02:00
68e0e8848d Clean up kernel/storedev/atasd.c, remove ata_probe1() 2025-10-19 15:48:51 +02:00
c3621a33dc Support up to 4 ATA drives (primary and secondary bus) 2025-10-19 15:46:56 +02:00
4452f1b196 Change naming scheme for atasd and ramsd 2025-10-18 22:16:01 +02:00
0e0bff4888 Use implicitly passed _caller_pid in syscalls 2025-10-18 12:20:43 +02:00
a5fe64b253 Pass implicit PID into syscalls 2025-10-18 12:10:59 +02:00
8a1d42896c Decrease user process stack size to 4MiB 2025-10-17 00:04:10 +02:00
1a2962de80 Track process uptime 2025-10-16 15:45:36 +02:00
5158305fa6 Fix parenthesis in time_isleap() 2025-10-16 15:23:50 +02:00
702f0ddf87 Add time() syscall 2025-10-16 14:15:05 +02:00
48231931bd Improve ipcpipe locking 2025-10-15 23:26:14 +02:00
eefff6e492 Get RTC date 2025-10-15 23:08:23 +02:00
ac6ebce112 Add fs_delete() syscall 2025-10-15 20:10:26 +02:00
371d777a7c vfs_delete() implement deleting files 2025-10-15 20:10:00 +02:00
fa6c194163 Break devctl() up into smaller syscalls 2025-10-14 21:35:10 +02:00
0c3250e8d6 Remove/fix unused stuff and other warnings 2025-10-14 20:20:41 +02:00
01b37e41c2 Remove vobjcnt field of Proc 2025-10-14 20:07:42 +02:00
406434fed0 Break ioctl() up into smaller syscalls 2025-10-14 20:05:41 +02:00
c34a253d11 Split processctl() syscall into multiple smaller ones 2025-10-14 16:37:36 +02:00
8aec45316c Remove sysdefs/ipcpipe.h 2025-10-14 08:15:07 +02:00
9108299c31 Migrate off the big ipcpipe() syscall 2025-10-14 08:12:04 +02:00
c972b0fbd1 Fix buffer constness 2025-10-14 08:11:37 +02:00
25cb309105 Implement an ATA driver, Add vfsmount/vfsunmount syscalls 2025-10-14 00:39:59 +02:00
cb9e15330e Increate kernel stack size 2025-10-12 19:02:41 +02:00
ee93463c64 Add rand() syscall 2025-10-11 21:54:06 +02:00
d92a652024 Make uniqids truly random 2025-10-11 21:36:50 +02:00
b717387adb Implement random number generation with x86 rdrand 2025-10-11 21:36:33 +02:00
02a5d8b418 Move printf to root of project 2025-10-11 20:37:42 +02:00
6b0e05e506 Expose storedevs to the outside world via dev interface 2025-10-11 02:35:15 +02:00
3996f71316 Initialize devices before storedev_init() 2025-10-08 19:34:15 +02:00
0ac80c76b0 devctl commands for getting device info 2025-10-08 19:32:37 +02:00