Commit Graph
157 Commits
Author SHA1 Message Date
rusya 697029016e syscalls: hopefully fix chdir syscall breaking sometimes 2025-11-20 21:12:05 +03:00
rusya 1f90fb5825 screen: implement cursor positioning 2025-11-20 20:13:45 +03:00
rusya 0b0492e756 syscalls: stop requiring a trailing slash for directories in chdir and vfs: emove some debug_log calls in follow_path 2025-11-20 20:13:45 +03:00
rusya 827189593c syscalls: make chdir follow path from the current->cwd and return 0 if there's no error 2025-11-20 16:12:40 +03:00
rusya a66a5da039 add creation of directory /katau/huy into the makefile 2025-11-20 16:11:16 +03:00
rusya 0de9f026b6 vfs: make vfs_read_file_by_path return error on error 2025-11-20 16:10:49 +03:00
rusya c17c23ddd5 tasking: make idle task halt 2025-11-20 15:53:57 +03:00
rusya 7dc522eb3d syscalls: remove excessive debug_log from sys_brk 2025-11-18 17:54:24 +03:00
rusya 68033325d2 implement prover stdin reading 2025-11-18 17:54:24 +03:00
rusya ccf954e1d6 mm: add a warning in map_page if a page is already mapped 2025-11-05 21:03:06 +03:00
rusya 57d2931b96 mm: fix mapping memory in non-present PDEs 2025-11-05 20:59:01 +03:00
rusya 561de6a4e3 syscalls: hopefully implement chdir syscall 2025-10-30 22:29:06 +03:00
rusya f4b0429062 syscalls: implement getcwd syscall 2025-10-30 20:26:28 +03:00
rusya 26c8280059 syscalls: fix page count for mapping in sys_execve and make caller run coreutils 2025-10-07 23:41:55 +03:00
rusya 88c1936e83 syscalls: make execve and vfs_read_file_by_path use follow_path, fix vfs_read_file_by_path name, fix execve-related pagefault 2025-10-07 23:41:55 +03:00
rusya 8c26f54d28 update buildroot-config 2025-10-01 21:15:38 +03:00
rusya 05fa945421 continue working on correct shell loading 2025-10-01 21:15:26 +03:00
rusya 2019f87b14 make exec_from_file take l9660_file* instead of a filename 2025-09-23 20:13:34 +03:00
rusya f697fab390 vfs: add follow_path function 2025-09-23 19:38:14 +03:00
rusya 1fb777adb0 improve makefile to work with buildroot iso 2025-09-18 14:54:27 +03:00
rusya 3ca60aea00 fix buildroot config 2025-09-18 14:53:27 +03:00
rusya bacf6f6782 update buildroot config to have linux use arch default config 2025-09-16 23:02:59 +03:00
rusya 2c8b5d4752 syscalls: implement argv and envp handling in execve 2025-09-16 22:41:32 +03:00
rusya 7c2f3735bf add buildroot config 2025-09-14 18:12:39 +03:00
rusya 91e0379fc9 syscalls: implement basic execve syscall, no argc, argv, envp support yet 2025-09-14 17:17:42 +03:00
rusya 4c26652ee2 syscalls: remove start_time from sys_nanosleep 2025-09-03 16:49:52 +03:00
rusya 63938e1acd syscalls: fix nanosleep, thanks to gemini, sorry for that 2025-09-03 16:35:07 +03:00
rusya 5b922ea773 syscalls: start trying to add nanosleep syscall 2025-09-02 00:15:29 +03:00
rusya a459751453 apic: init apic timer using pit, not precise on qemu 2025-09-01 23:22:33 +03:00
rusya 982f1a5fae apic: make msr-related function names consistent with the overall style 2025-08-30 21:11:51 +03:00
rusya 649c4c56a4 apic: fix timer and keyboard handling 2025-08-30 20:57:44 +03:00
rusya fb8dd43dd3 start implementing APIC utils 2025-08-29 18:35:22 +03:00
rusya 9e21167bd3 vfs: put test_iso9660 into vfs.c 2025-08-29 17:08:06 +03:00
rusya 7c43956ebe vfs: introduce adjustable ISO9660 buffer length for file reading 2025-08-22 17:50:42 +03:00
rusya 9bb6d9d1a5 screen: implement cursorhome terminal command 2025-08-22 17:43:41 +03:00
rusya fffa4b7699 kmain: allocate first 16 pages for stack 2025-08-20 21:01:09 +03:00
rusya 92511dbcd7 tasking: fix stack corruption on the scheduler trigger 2025-08-20 20:59:08 +03:00
rusya 9fdc551308 syscalls: improve working with files using vfs 2025-08-17 16:03:41 +03:00
rusya caa4005990 exec_from_file and vfs: fix reading file 2025-08-17 15:02:09 +03:00
rusya 0628470a7c still trying to read a file 2025-08-16 21:43:42 +03:00
rusya ce6e9642ee continue working on implementing lib9660 into the kernel 2025-08-16 19:41:48 +03:00
rusya 287ac77422 add lib9660 and test_iso9660 function 2025-08-14 21:41:54 +03:00
rusya ea39cb85f3 add atapi driver 2025-08-14 21:13:10 +03:00
rusya d017f0b245 syscalls: continue making brk syscall 2025-07-31 17:54:20 +03:00
rusya df45ffe2ce tasking: add brk to process struct 2025-07-31 17:02:56 +03:00
rusya 992d82c6d4 syscalls: make use of stderr and fix chdir syscall return value 2025-07-18 22:43:34 +03:00
rusya 3ae26ed88a syscalls: fix cwd-related stuff 2025-07-18 21:02:54 +03:00
rusya 359e5c6d78 syscalls: add chdir and getcwd syscalls, not tested yet 2025-07-16 15:42:35 +03:00
rusya aac4375b8e syscalls: add getpid syscall 2025-07-16 15:21:19 +03:00
rusya 8bc7e1d523 syscalls: fix handle_syscall function performing more that 1 syscall at a time 2025-07-09 17:23:18 +03:00