summaryrefslogtreecommitdiff
path: root/src/libc
AgeCommit message (Collapse)Author
2017-07-16fixed newline output in Linux stub in libc testsAndreas Baumann
2017-07-14some linkage tweaking, the kernel is not linked against libssp (whichAndreas Baumann
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
2017-07-14removed stddef.h and limits.h (come with the compiler header files)Andreas Baumann
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
2017-07-13removed som kernel_panics in libcAndreas Baumann
2017-07-13added an exit functionAndreas Baumann
added Linux syscall stubs for exit and write adapted all tests added a printf test made stdio work on Linux or AbaOs syscalls
2017-07-13added a simple test for malloc/freeAndreas Baumann
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)
2017-07-13separated C library implementations with an OS_ABAOS define (for now),Andreas Baumann
we cannot test stdio and memory management in the hosted environment yet this way
2017-07-05'mem' command shows memory usage of kernel heap nowAndreas Baumann
implemented a malloc/free and memory manager (simplest possible implementation, just allocating linearly and never freeing)
2017-07-01added a strlcatAndreas Baumann
2017-06-15added a memcpy function (clang needs it to copy structs in assignments)Andreas Baumann
2017-06-10some big renames into subdirs of aspectsAndreas Baumann
updated README removed size_t in sys/types.h and sys/types.h itself, size_t is in stddef.h