- Jan 21, 2013
-
-
Avi Kivity authored
-
Christoph Hellwig authored
except for the floating point functionality for now.
-
Avi Kivity authored
-
Avi Kivity authored
We did not account for negative numbers, oops.
-
Christoph Hellwig authored
This would require pulling in libm, for which we aren't ready yet.
-
Christoph Hellwig authored
note that as of now all functioanlity related to file or pthread locking is not implemented or stubbed out.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Avi Kivity authored
-
- Jan 20, 2013
-
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
Pretend we're another OS to avoid confusing the payload.
-
Avi Kivity authored
Java stomps all over a 64k stack.
-
Avi Kivity authored
The pthread_self() implementation was inconsistent with pthread_create(), leading to corruption. Switch to a simpler implementation using thread-local storage.
-
Avi Kivity authored
Needed for pthread_attr_*() (and in general to make sure the stack is a regular vma as expected by the payload).
-
- Jan 18, 2013
-
-
Christoph Hellwig authored
-
- Jan 17, 2013
-
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
We now have a common set of flags for C and C++, but also allow C-only flags, which are used to: a) enable C99+GNU mode b) include the libc internal headers although the latter could be refined even more.
-
- Jan 16, 2013
-
-
Christoph Hellwig authored
Import the whole string library, as well as the ctype functions from the musl C library. Must is a BSD licensed library that aims to be API and mostly ABI compatible with glibc, so it's our easiest way to provide the ABI we need without reinventing the wheel. I will import more of the traditional non-syscall C library code from it and expect libc/ to eventually mostly consist of slightly modified musl code.
-
Avi Kivity authored
-
Avi Kivity authored
Fox simplicity, the first mutex implementation will not be compatible with PTHREAD_MUTEX_INITIALIZER, so wrap the mutex class with a structure that also contains an intitialization flag, and initialize it on demand.
-
Christoph Hellwig authored
There now is a public add_object and a private set_object method, which describe the two totally different actions much better.
-
- Jan 17, 2013
-
-
Christoph Hellwig authored
-
- Jan 15, 2013
-
-
Christoph Hellwig authored
-
- Jan 13, 2013
-
-
Avi Kivity authored
-
Avi Kivity authored
-
- Jan 11, 2013
-
-
Avi Kivity authored
Apparently glibc defines it as a macro, so it doesn't compile. #undef it back.
-
- Jan 10, 2013
-
-
Avi Kivity authored
-
Avi Kivity authored
Instead of using the variable's value, we used its name. There isn't even a name for this kind of bug.
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
Could be better, but waiting for vfs revamp anyway.
-
Christoph Hellwig authored
Also based on prex code.
-
Christoph Hellwig authored
Various changes to fit into the OSv environment. This also includes a ramfs in-memory full filesystem. Bootfs is rewritten as a simple unpacker into ramfs, and the fs class is modified to wrap the VFS instead of being an abstract subclass.
-