modified some syscall code in rlibc, fs stuff

This commit is contained in:
2026-06-29 17:00:07 -05:00
parent 97357f3170
commit 432d160b7a
285 changed files with 4223 additions and 3957 deletions

View File

@@ -137,6 +137,13 @@ int create_task(uint32_t entry_point, uint32_t cr3) {
return 1;
}
process_t* current_task() {
lock_scheduler();
process_t* rtn = &process_table[current_process];
unlock_scheduler();
return rtn;
}
void sleep(uint32_t ms) {
if (ms == 0) return;
lock_scheduler();