- Jan 16, 2013
-
-
Avi Kivity authored
thread::wake() may be called from an interrupt handler (clockevents).
-
Avi Kivity authored
The thread that's doing the waking is obviously running, so no need to reschedule, and it's awkward if done from an interrupt.
-
Avi Kivity authored
Thread timers can be set to wake a thread at a specified time, or cancelled.
-
Avi Kivity authored
Not yet preemption safe.
-
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.
-
Avi Kivity authored
Missed adding the object base.
-
Avi Kivity authored
-
Avi Kivity authored
It's actually percpu, but we don't have percpu support yet. So make it global.
-
Avi Kivity authored
Way too noisy
-
Avi Kivity authored
Allow the clockevents driver to use it during startup.
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
This is intentionally simplistic, supporting only one callback (intended for waking up threads).
-
Avi Kivity authored
Use: with_lock(irq_lock, [] { stuff done with interrupts disabled, including early return stmts });
-
Avi Kivity authored
-
- Jan 15, 2013
-
-
Avi Kivity authored
This makes the apic immediately usable.
-
Avi Kivity authored
mmap() did not consider that a large page may be used to map an area that it is overwriting. This can happen if the primordial 1:1 area is remapped (as when the payload is creating some guard pages). The result is that random memory is overwritten with a pte. Fix by detecting large pages and splitting them up.
-
Avi Kivity authored
-
Dor Laor authored
We need only to store the virtual address returned from malloc. virt_to_phys is the function translating the virtual mem into physical. In addition, I founf a design error in the virtio PFN code. It will only affect us on > 44 bit ram..
-
Guy Zana authored
-
Dor Laor authored
* 'master' of github.com:cloudius-systems/osv: Moved some definitions to reside within the appropriate classes (vring_used, vring_avail) build: use headers and binaries from external/gcc.bin and external/glibc.bin Add glibc.bin submodule Add gcc binary submodule
-
Guy Zana authored
-
Dor Laor authored
-
Avi Kivity authored
-
Avi Kivity authored
-
- Jan 14, 2013
-
-
Dor Laor authored
Now the network driver has 3 queues as it should have
-
Guy Zana authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Guy Zana authored
-
- Jan 13, 2013
-
-
Avi Kivity authored
-
Avi Kivity authored
Required by pthread_getattr_np(), in turn required by the jvm.
-
Avi Kivity authored
-
Dor Laor authored
* 'master' of github.com:/avikivity/osv: pthread: implement pthread_create()
-
Dor Laor authored
queue size correctly.
-
Dor Laor authored
-
Avi Kivity authored
-
- Jan 12, 2013
-
-
Guy Zana authored
-
- Jan 11, 2013
-
-
Avi Kivity authored
Apparently glibc defines it as a macro, so it doesn't compile. #undef it back.
-
Avi Kivity authored
Caught by make mode=release.
-