Age | Commit message (Collapse) | Author |
|
added C11 aligned_alloc to stdlib
|
|
|
|
|
|
|
|
|
|
is using linux/glibc), we provide our own SSP guards leading to
kernel_panic (for now).
per default build the kernel with ld (as we need precise control how
we link it)
the libc tests are per default linked with the same compiler as
provided with $(CC)
using #include_next of gcc/clang to include the real stdint.h header
file in stdint.h stub
|
|
added a stub stdint.h (only sometimes comes with the compiler)
added a guide on cross compiling
adapted to cross compilation, for now tcc works
|
|
|
|
added Linux syscall stubs for exit and write
adapted all tests
added a printf test
made stdio work on Linux or AbaOs syscalls
|
|
added a memorymanager initilializer which works on a buffer instead on an offset
(thus we can but the heap area also onto the stack for testing)
added a kernel_stub module to test modules using kernel_panic (for now, maybe
have a callback later)
|
|
we cannot test stdio and memory management in the hosted environment yet
this way
|
|
implemented a malloc/free and memory manager (simplest possible implementation,
just allocating linearly and never freeing)
|
|
|
|
|
|
updated README
removed size_t in sys/types.h and sys/types.h itself, size_t is in stddef.h
|