Commit Graph

282 Commits

Author SHA1 Message Date
566b35f4d5 Big code refactor, get rid of HAL entirely 2025-11-11 21:26:27 +01:00
7015bc9576 Decouple I/O from HAL 2025-11-11 19:59:01 +01:00
344952fb5f Move string functions/utils from HAL to std/string 2025-11-11 19:54:09 +01:00
f5dae4984d Rename base.img.6pack to base.img.6pk 2025-11-11 01:49:49 +01:00
8fc99a5fb1 init Remove useless ref to ps2kbdev device 2025-11-11 01:23:44 +01:00
91ecc2dc6a Break when IpcPipe is full 2025-11-11 00:51:29 +01:00
1f793f287f Clean up kernel/proc, remove devs_spinlock, remove PROC_DIE() macro 2025-11-11 00:32:09 +01:00
44893aeeb0 tb Fix minor leak in 'do' builtin function (ufree args1) 2025-11-10 20:44:54 +01:00
26e5d92947 Use hal_memcpy to propagate new proc interrupt frame 2025-11-10 20:25:55 +01:00
d81d1133dd diagdummy Test concurrent openfs 2025-11-10 20:23:28 +01:00
7e3b162591 Protect busy VfsObjs during opening and deleting 2025-11-10 20:23:03 +01:00
a349154545 ulib Fix uninitialized variables 2025-11-10 18:49:08 +01:00
1f93e8db13 Reduce proc stack size to 1M 2025-11-10 18:48:47 +01:00
81015d600b ulib Non-partitioned umalloc implementation 2025-11-10 18:36:27 +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
f4dbe830db Use FAT16/20iMB for boot partition 2025-11-10 14:16:58 +01:00
6da93cd854 fs Fix bug, check if fs_read() returned < 0 2025-11-09 23:06:18 +01:00
4084336705 ulib Add umallocbig() and ufreebig() for non-fragmented allocations 2025-11-09 22:21:19 +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
f3fcc92991 README.md add screenshots 2025-11-04 00:53:16 +01:00
0ed10b019a static Add screenshots 2025-11-04 00:51:24 +01:00
da72450d2a add README.md 2025-11-04 00:42:54 +01:00
771bbd1e9a fs lsmount subcommand for listing VFS mountpoint info 2025-11-04 00:25:57 +01:00
95e5d17018 ulib Add vfsavailmounts() and vfsmountstat() 2025-11-04 00:25: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
7db6a8e130 Add fsh_t type for filesystem handles 2025-10-29 15:39:46 +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
f389f58daf fs Add unmount subcommand 2025-10-25 23:21:30 +02:00
08c1171d50 format uhome partition for disk.hdd 2025-10-25 23:07:11 +02:00
43482d5444 dev Device names are getting quite long heh 2025-10-20 00:02:08 +02:00
e8d8e5e9f9 Expose raw reads/writes to store devs via dev interface 2025-10-20 00:00:53 +02:00
ff33afbb2a fs Clean up dummy mount point post-formatting 2025-10-19 23:03:13 +02:00
1e0eca3076 fs Disk formatting subcommand 2025-10-19 23:01:02 +02:00
a96ea5edb6 tb Command-like scripts 2025-10-19 23:00:46 +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