Bananymous
|
ff2e2937a5
|
Kernel: Remove offset from OpenFileDescriptor
This is now handled on the libc side. There might be reasons to
have it in kernel side, but for simplicity's sake I'm moving it
to libc for now :)
|
2023-05-09 20:31:22 +03:00 |
Bananymous
|
054c5450df
|
LibC: syscall() now returns -1 on error and updates errno
|
2023-05-07 01:51:39 +03:00 |
Bananymous
|
12e42f40c5
|
Kernel/LibC: add free function for FixedWidthAllocator
I have to rework the syscall API and allocators in process. For
now this works well enough :)
|
2023-05-07 01:21:50 +03:00 |
Bananymous
|
bcfd838131
|
Kernel: Add basic fixed width allocator for userspace
We have to move process stacks to the general heap and maybe map
kernel to higher half.
|
2023-05-06 19:58:08 +03:00 |
Bananymous
|
79812b34b0
|
LibC: fread() now does a single syscall
|
2023-04-25 12:38:08 +03:00 |
Bananymous
|
dc1b7cf08f
|
LibC: syscalls have now proper argument order
|
2023-04-22 15:29:15 +03:00 |
Bananymous
|
3f9d6f0311
|
LibC: add needed stubs to build executables with our compiler
|
2023-04-12 17:53:02 +03:00 |
Bananymous
|
a5830c5424
|
LibC: add stubs for a lot of functions
|
2023-04-05 23:58:40 +03:00 |