| Age | Commit message (Collapse) | Author |
|
|
|
|
|
+ Unlikely to ever run into billions of threads, and this keeps in line
with stuff like Linux. Also allows C to relatively painlessly
implement hashmaps of pids, if neccessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ Next step, start documenting contents of each file.
|
|
+ next up would probably be to start working on process/thread
relationships, largely as documented. Still not entirely sure about
how I want to handle fork, but I suppose I might figure it out at some
point.
|
|
+ Will most probably not work on 32bit, but nice to make 'portable'
code.
|
|
|
|
+ At least initial in the sense that this seems like the smartest way to
handle things, that is.
|
|
|
|
lower 8 bits are reserved for arch-specific flags (but at least
read/write/execute) and higher 8 bits are metadata, currently only for
VM_VIRTUAL (to be used when the backing physical memory shouldn't be
freed)
|
|
|
|
|
|
|
|
|
|
|
|
+ Mostly follows the POSIX printf, with the exceptions of no floating
points and `X` signifies binary instead of uppercase hex
|
|
+ Added new common/ directory, into which code that should be shared
with init and kernel is to be added. Currently string.c and bytes.c.
Code in common/ should be marked with __weak, so as to allow the arch to
implement a better, more optimised version of the function if
possible/required.
+ Created include/apos/types.h with macros essentially providing the
libc limits.h and stdint.h. At the moment I use gcc/clang predefined
macros for most things.
|
|
|