Commit Graph

15 Commits

Author SHA1 Message Date
Mathieu Maret 4204087bd1 Implement thread_join
And use it for tinyc implementation
2024-02-16 00:51:07 +01:00
Mathieu Maret 0688afa76d fix gettid==getpid for 1 thread 2024-02-15 17:20:47 +01:00
Mathieu Maret 90436a4f46 Add usleep syscall 2024-02-14 18:43:47 +01:00
Mathieu Maret 1c2cd75c72 Add new thread sys call 2024-02-13 00:19:51 +01:00
Mathieu Maret c3f3eb435e implement munmap
Also add basic errno.h
2024-02-11 00:22:41 +01:00
Mathieu Maret 88b9c3160b Improve headers and add sys/mman.h 2024-02-10 21:26:01 +01:00
Mathieu Maret 8af3ba0762 mmap syscall declaration 2024-02-08 23:08:14 +01:00
Mathieu Maret 1120b40655 Rename Yolo syscall to Helo 2023-11-11 00:07:26 +01:00
Mathieu Maret 6471ee9a2d Implement brk syscall simple case 2022-09-03 22:43:41 +02:00
Mathieu Maret e9e584149c Add support for syscall with more than 3 args 2021-11-09 14:14:06 +01:00
Mathieu Maret d3a7ab59b7 Basic shell 2021-11-06 00:13:40 +01:00
Mathieu Maret 2b32908029 load userspace from disk 2021-11-05 23:02:23 +01:00
Mathieu Maret 7b60e1bdac Fix threadSwitch context 2021-11-02 22:00:31 +01:00
Mathieu Maret 84e104d83e Implement some basic syscall 2021-11-02 21:47:05 +01:00
Mathieu Maret 75dbbdb53b Wrap IRQ, Exception, cpu_context to be ready for user
Fix ASM where ebp was push 2 times.
One by pushw ebp
One by pushal later
2021-10-27 00:14:22 +02:00