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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user