|
4204087bd1
|
Implement thread_join
And use it for tinyc implementation
|
2024-02-16 00:51:07 +01:00 |
|
|
70366fa7be
|
Set pid_t type
|
2024-02-15 18:42:45 +01:00 |
|
|
a38a674a53
|
userspace: fix printf for unsigned
|
2024-02-15 18:42:45 +01:00 |
|
|
0688afa76d
|
fix gettid==getpid for 1 thread
|
2024-02-15 17:20:47 +01:00 |
|
|
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
|
fe6dfbc1c6
|
Add missing errno.h
|
2024-02-11 18:50:04 +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
|
ccfafe4a04
|
userspace: mmap test read and write
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
9fa9bd0411
|
userspace: add PROT flag for mmap
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
d9051ea59c
|
Propagate page fault to ressource handler
Fix mmap arguments handling
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
b9d741060f
|
Add the ability to map/unmap a ressource
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
8af3ba0762
|
mmap syscall declaration
|
2024-02-08 23:08:14 +01:00 |
|
Mathieu Maret
|
bd25bb8478
|
Add calloc, realloc, memmove. Sync klibc and libc
|
2024-01-31 12:57:35 +01:00 |
|
Mathieu Maret
|
946c47a988
|
Reorganize a bit includes like libc
|
2024-01-29 23:27:10 +01:00 |
|
Mathieu Maret
|
2b324ac62d
|
Implement malloc with a working free
|
2024-01-29 22:43:26 +01:00 |
|
Mathieu Maret
|
45ec3c1a7b
|
Fix brk api to match GLIC and add sbrk
Also free userspace allocated memory
|
2024-01-26 22:26:40 +01:00 |
|
Mathieu Maret
|
a4f5a367ab
|
Some userspace online doc
|
2023-11-11 00:09:00 +01:00 |
|
Mathieu Maret
|
bee58d9642
|
Add a (bad)free in userspace
|
2023-11-11 00:08:08 +01:00 |
|
Mathieu Maret
|
1120b40655
|
Rename Yolo syscall to Helo
|
2023-11-11 00:07:26 +01:00 |
|
Mathieu Maret
|
b0a192ce7c
|
Add tinyC grammar desc
|
2023-11-10 22:54:35 +01:00 |
|
Mathieu Maret
|
18ea283213
|
Use format attribut and correct associated errors
|
2023-11-09 23:44:04 +01:00 |
|
Mathieu Maret
|
9eb1e37a64
|
use access from gcc 11 for userspace
|
2023-11-08 21:55:11 +01:00 |
|
Mathieu Maret
|
6580bb08ba
|
tinyc : add > support
Also can be run several time
|
2023-03-21 23:40:28 +01:00 |
|
Mathieu Maret
|
445fb63134
|
Add tiny-C interpreter
|
2023-03-21 23:12:20 +01:00 |
|
Mathieu Maret
|
4c523bf956
|
libc: add a, bad, malloc
|
2023-03-21 22:41:17 +01:00 |
|
Mathieu Maret
|
509a1fd992
|
Test alloc on several page
|
2022-09-03 23:41:33 +02:00 |
|
Mathieu Maret
|
6471ee9a2d
|
Implement brk syscall simple case
|
2022-09-03 22:43:41 +02:00 |
|
Mathieu Maret
|
fb9bd8df7d
|
Various small fix
|
2021-11-13 08:31:05 +01:00 |
|
Mathieu Maret
|
e9e584149c
|
Add support for syscall with more than 3 args
|
2021-11-09 14:14:06 +01:00 |
|
Mathieu Maret
|
794d54180a
|
Typo fixing
|
2021-11-08 22:52:46 +01:00 |
|
Mathieu Maret
|
29017f7f7e
|
readline: fix backspace
|
2021-11-06 00:23:45 +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
|
47f1d3f8ab
|
Makefile: some simplification
|
2021-11-05 09:28:25 +01:00 |
|