1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2025-04-21 12:27:27 +03:00

fix invoke; working good keyboard

This commit is contained in:
Bas Wijnen
2009-06-13 23:15:37 +02:00
parent 42f0f365b3
commit ef229121ed
3 changed files with 19 additions and 11 deletions

View File

@@ -326,10 +326,11 @@ void arch_invoke ():
Capability *target
bool wait
Thread *caller = current
target = caller->address_space->find_capability (current->arch.v0, &wait)
target = caller->address_space->find_capability (caller->arch.v0, &wait)
if !target:
// TODO: there must be no action here. This is just because the rest doesn't work yet.
dbg_send (3, 2)
//dbg_send (caller->arch.v0)
schedule ()
// Calling an invalid capability always fails.
caller->arch.v0 = 0