Mathieu Maret
|
a03abab06a
|
Assign a mapped ressource to init prog
|
2024-02-08 20:54:36 +01:00 |
|
Mathieu Maret
|
b0ec767295
|
init: use zero driver for stack alloc
|
2024-02-08 00:07:12 +01:00 |
|
Mathieu Maret
|
07a3a33719
|
Fix write rights on pageflt
|
2024-02-07 23:23:35 +01:00 |
|
Mathieu Maret
|
2c05661f70
|
Improve debug message
|
2024-02-07 23:15:30 +01:00 |
|
Mathieu Maret
|
9ff45cb497
|
Implement freeing ressource on uAS destroy
|
2024-02-05 23:46:17 +01:00 |
|
Mathieu Maret
|
da266d19a3
|
Propagate page fault to ressource handler
Fix mmap arguments handling
|
2024-02-05 12:43:08 +01:00 |
|
Mathieu Maret
|
78cf247cd4
|
Add the ability to map/unmap a ressource
|
2024-02-01 23:47:52 +01:00 |
|
Mathieu Maret
|
26881d2728
|
Typo fix
|
2024-01-31 23:47:42 +01:00 |
|
Mathieu Maret
|
4ed181198c
|
Wip: zero mmap
|
2024-01-29 23:31:12 +01:00 |
|
Mathieu Maret
|
20ef80f754
|
Add some documentation
|
2024-01-29 23:31:10 +01:00 |
|
Mathieu Maret
|
dfe7a1dbc7
|
mmap syscall declaration
|
2024-01-29 23:29:50 +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
|
edbbaec930
|
Correct some warnings
|
2024-01-26 22:53:39 +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
|
2359cf2744
|
process: add name getter
|
2024-01-26 22:23:58 +01:00 |
|
Mathieu Maret
|
f110f85498
|
Simplify partition setup
To prepare part1 for grub, part2 for userdata
|
2023-11-20 00:15:50 +01:00 |
|
Mathieu Maret
|
f05e017d45
|
backtrace: print function name instead of addr
Thx to the ELF header given by the bootloader
|
2023-11-20 00:12:58 +01:00 |
|
Mathieu Maret
|
60e71f6521
|
elf: move struct definition to header
|
2023-11-20 00:09:02 +01:00 |
|
Mathieu Maret
|
6a00aa4762
|
Correct ld variable type
They should be declared as char
|
2023-11-20 00:02:22 +01:00 |
|
Mathieu Maret
|
01d54dea85
|
Add partial multiboot2 support
|
2023-11-17 23:32:52 +01:00 |
|
Mathieu Maret
|
1120b40655
|
Rename Yolo syscall to Helo
|
2023-11-11 00:07:26 +01:00 |
|
Mathieu Maret
|
18ea283213
|
Use format attribut and correct associated errors
|
2023-11-09 23:44:04 +01:00 |
|
Mathieu Maret
|
a179a6a0a7
|
use access from gcc 11
|
2023-11-08 21:52:55 +01:00 |
|
Mathieu Maret
|
bff24b2213
|
Various code fix
|
2023-11-08 21:00:38 +01:00 |
|
Mathieu Maret
|
44fa5967dd
|
Fix uninitialized variable
|
2023-03-21 23:41:23 +01:00 |
|
Mathieu Maret
|
098330c845
|
Add memmove to klibc
|
2023-03-05 20:34:24 +01:00 |
|
Mathieu Maret
|
a65a3d1697
|
Correct totologic warning
|
2023-02-01 13:26:53 +01:00 |
|
Mathieu Maret
|
509a1fd992
|
Test alloc on several page
|
2022-09-03 23:41:33 +02:00 |
|
Mathieu Maret
|
edcac85b35
|
OnDemand paging for heap
|
2022-09-03 23:32:31 +02:00 |
|
Mathieu Maret
|
6471ee9a2d
|
Implement brk syscall simple case
|
2022-09-03 22:43:41 +02:00 |
|
Mathieu Maret
|
c59eb339e9
|
Add Userspace Addr Space notion
|
2022-08-07 23:14:26 +02:00 |
|
Mathieu Maret
|
0e11da855c
|
Replace cst by its name
|
2022-08-07 16:20:01 +02:00 |
|
Mathieu Maret
|
ed55f1cc23
|
mem: Correct physical mem for code bank
|
2022-07-29 00:32:34 +02:00 |
|
Mathieu Maret
|
4e6622d16e
|
alloc: no need from slab >= PAGE_SiZE
|
2022-07-29 00:17:52 +02:00 |
|
Mathieu Maret
|
7891554d8b
|
move elf in dedicated file
|
2022-07-25 17:10:28 +02:00 |
|
Mathieu Maret
|
fb9bd8df7d
|
Various small fix
|
2021-11-13 08:31:05 +01:00 |
|
Mathieu Maret
|
9d35a686ab
|
Fix few issues/leaks
|
2021-11-12 10:19:43 +01:00 |
|
Mathieu Maret
|
d1994d44a3
|
Add locked ring buffer
|
2021-11-09 20:41:07 +01:00 |
|
Mathieu Maret
|
c3b4d65a36
|
Add semaphore
|
2021-11-09 15:14:11 +01:00 |
|
Mathieu Maret
|
e9e584149c
|
Add support for syscall with more than 3 args
|
2021-11-09 14:14:06 +01:00 |
|
Mathieu Maret
|
08a9d7442e
|
Add user file size before the file
As a quick fix before FS support
|
2021-11-08 22:33:15 +01:00 |
|
Mathieu Maret
|
9e528320cf
|
syscall fix variable decl
|
2021-11-08 22:31:57 +01:00 |
|
Mathieu Maret
|
39cf7ab3ed
|
Add atoi
|
2021-11-08 22:30:41 +01:00 |
|
Mathieu Maret
|
69d4702696
|
Remove debug log
|
2021-11-06 00:17:15 +01:00 |
|
Mathieu Maret
|
d3a7ab59b7
|
Basic shell
|
2021-11-06 00:13:40 +01:00 |
|
Mathieu Maret
|
288663ad58
|
Import ringbuffer implementation
From https://git.mathux.org/mathieu/ringbuffer
|
2021-11-05 23:31:28 +01:00 |
|
Mathieu Maret
|
2b32908029
|
load userspace from disk
|
2021-11-05 23:02:23 +01:00 |
|
Mathieu Maret
|
4ad5b58787
|
Userspace with a syscall
|
2021-11-04 11:40:53 +01:00 |
|
Mathieu Maret
|
a02167ad88
|
Reduce assert stack depth
This may cause page fault in test
|
2021-11-03 23:37:44 +01:00 |
|