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

more stuff, still not working

This commit is contained in:
Bas Wijnen
2009-08-19 01:00:05 +02:00
parent a892e9cfc0
commit ebdc68a9d8
4 changed files with 69 additions and 42 deletions

View File

@@ -134,8 +134,8 @@ static void arch_invoke ():
if num > 10:
num = 10
bool copy
if old_current->arch.s0 < old_current->slots:
msg.caps = old_current->caps[old_current->arch.s0]
if old_current->arch.s1 < old_current->slots:
msg.caps = old_current->caps[old_current->arch.s1]
if msg.caps && first < msg.caps->size:
for unsigned i = first; i < num && i < msg.caps->size; ++i:
msg.caps->cap (i)->invalidate ()
@@ -147,7 +147,7 @@ static void arch_invoke ():
else:
msg.caps = NULL
if wait:
old_current->recv_slot = old_current->arch.s1
old_current->recv_slot = old_current->arch.s0
old_current->wait ()
if !target:
if (old_current->arch.v0 & ~CAP_COPY) != ~CAP_COPY: