- Feb 06, 2013
-
-
Dor Laor authored
-
- Feb 05, 2013
-
-
Dor Laor authored
* 'master' of github.com:cloudius-systems/osv: stop adding libm.so.6 from glibc to bootfs warn when we can't load ELF libraries from DT_NEEDED warn on unknown ELF section types fix up library pathnames in the ELF loader fix sem_wait add a __fprintf_chk implementation add popen/pclose stubs
-
Dor Laor authored
-
Christoph Hellwig authored
Now that we actually look for DT_NEEDED libraries in the right place we fail loading it because we don't support STT_GNU_IFUNC symbols. But by now we already have a feature complete libm implementation in our tree so we don't actually need it anymore.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
We want to look for /usr/lib/libfoo instead of /usr/liblibfoo
-
Christoph Hellwig authored
We need to use a spinlock to protect the semaphore waiting list as the wakeups can deadlock otherwise. Also make sure to only wait when we actually have to. Found during python bringup.
-
Christoph Hellwig authored
no actual checking, but at least the code will work
-
Christoph Hellwig authored
-
Dor Laor authored
-
Dor Laor authored
* 'master' of github.com:cloudius-systems/osv: wire up the read and write methods for virtio-blk enable SMP locking in the filesystem code add mutex_init/destory and a static initializer
-
Dor Laor authored
Before we had 2 layes of calls, one in the virtio ring layer and another in the virtio-blk layer. There wasn't any reall need for that. The change allows the virtio-vring code to call a callback that the virtio-blk registers and execute it directly.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Avi Kivity authored
Since ->wake() can be called from an interrupt, we cannot to any allocations there.
-
Avi Kivity authored
Resolved interdependencies later on.
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
Removed by 9fe982be, likely by accident.
-
Dor Laor authored
* 'master' of github.com:cloudius-systems/osv: re-enable the pthread tests provide a spinlock/mutex implementation that is SMP safe and callable from C code
-
Guy Zana authored
-
Dor Laor authored
and process pops requests from the ring. In addition, implement the vfs device callbacks and wire them into virtio-blk Need to test the later.
-
Dor Laor authored
At the moment it's hard coded as queue '0' but further on it should be a function of the device requirements. It is also possible to move it towards the device function since this thread doesn't do anything other than wake up the driver worker.
-
Christoph Hellwig authored
They don't cause problems for other tests anymore.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
this avoids a clash with the C++ std::list type.
-
- Feb 04, 2013
-
-
Christoph Hellwig authored
-
Christoph Hellwig authored
again taken from musl. For now disabled: - floor, ceil: we have an asm implementation, but need to check if it's enough - various functions that mess with the floating point exception status.
-
Avi Kivity authored
-
Avi Kivity authored
With this lock type, the hardware irq flag is restored to its previous state after the lock is released. Useful when we might be in interrupt disabled context.
-
Avi Kivity authored
It's somewhat complicated due to the red zone, but there's no way around it.
-
Guy Zana authored
-
Avi Kivity authored
With this change, every cpu has its own independent runqueue. Since we don't support thread migration yet, and since threads inherit the cpu from their parent, all threads except the smp bringup thread will still run on the boot cpu.
-
Avi Kivity authored
With the current implementation, where the current cpu is a thread-local variable, we cannot change the cpu pointer atomically during a context switch, as we cannot obtain a pointer to a thread-local variable before the thread has been run. By moving the cpu pointer to the thread structure, we can change it atomically by switching the thread-local base register (%fs on x64).
-
Avi Kivity authored
-