Mathieu Maret
|
c3f3eb435e
|
implement munmap
Also add basic errno.h
|
2024-02-11 00:22:41 +01:00 |
|
Mathieu Maret
|
3339f8b059
|
Fix customData free
|
2024-02-10 22:49:24 +01:00 |
|
Mathieu Maret
|
88b9c3160b
|
Improve headers and add sys/mman.h
|
2024-02-10 21:26:01 +01:00 |
|
Mathieu Maret
|
b352eab798
|
gdb: print_list can take the next element name in param
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
b8c4c782de
|
Fix findVirtualRegionBeforeAddr
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
1895781213
|
Assign a mapped ressource to init prog
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
cca78b269d
|
init: use zero driver for stack alloc
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
bf7008fc98
|
Fix write rights on pageflt
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
ccfafe4a04
|
userspace: mmap test read and write
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
62a1c1cefb
|
zero: finish implementation
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
f751835115
|
Improve debug message
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
5a2042e577
|
Fix MMU context on ressource checking
|
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
|
a4873a7d30
|
Implement freeing ressource on uAS destroy
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
205d174c8a
|
pagefault_handler print error code before killing thread
|
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
|
1bb81fd57e
|
Typo fix
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
44c5551655
|
Wip: zero mmap
|
2024-02-08 23:15:29 +01:00 |
|
Mathieu Maret
|
b6fd550e7f
|
Add some documentation
|
2024-02-08 23:15:26 +01:00 |
|
Mathieu Maret
|
8af3ba0762
|
mmap syscall declaration
|
2024-02-08 23:08:14 +01:00 |
|
Mathieu Maret
|
1e3be650f2
|
Put back kernel sym in debug.gdb
As gnu-debuglink does not seems to be working everwhere
|
2024-02-08 23:05:54 +01:00 |
|