git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/UDI - NSR TX
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Interfaces
/
UDI
/
udi_lib
/
core
/
imc.c
diff --git
a/KernelLand/Modules/Interfaces/UDI/udi_lib/core/imc.c
b/KernelLand/Modules/Interfaces/UDI/udi_lib/core/imc.c
index
365f839
..
4947658
100644
(file)
--- a/
KernelLand/Modules/Interfaces/UDI/udi_lib/core/imc.c
+++ b/
KernelLand/Modules/Interfaces/UDI/udi_lib/core/imc.c
@@
-6,6
+6,7
@@
#include <udi.h>
#include <acess.h>
#include <udi_internal.h>
#include <udi.h>
#include <acess.h>
#include <udi_internal.h>
+#include <udi_internal_ma.h>
// === EXPORTS ===
EXPORT(udi_channel_anchor);
// === EXPORTS ===
EXPORT(udi_channel_anchor);
@@
-35,7
+36,8
@@
extern void udi_channel_spawn(
udi_index_t ops_idx, void *channel_context
)
{
udi_index_t ops_idx, void *channel_context
)
{
- LOG("gcb=%p,channel=%p", gcb, channel, spawn_idx, ops_idx, channel_context);
+ LOG("gcb=%p,channel=%p,spawn_idx=%i,ops_idx=%i,channel_context=%p",
+ gcb, channel, spawn_idx, ops_idx, channel_context);
// Search existing channel for a matching spawn_idx
udi_channel_t ret = UDI_CreateChannel_Linked(channel, spawn_idx);
// Search existing channel for a matching spawn_idx
udi_channel_t ret = UDI_CreateChannel_Linked(channel, spawn_idx);
@@
-101,5
+103,7
@@
void udi_channel_event_ind(udi_channel_event_cb_t *cb)
void udi_channel_event_complete(udi_channel_event_cb_t *cb, udi_status_t status)
{
void udi_channel_event_complete(udi_channel_event_cb_t *cb, udi_status_t status)
{
- UNIMPLEMENTED();
+ LOG("cb=%p,status=%i", cb, status);
+ UDI_MA_TransitionState( UDI_GCB(cb)->initiator_context, UDI_MASTATE_PARENTBIND, UDI_MASTATE_ENUMCHILDREN );
+ udi_cb_free( UDI_GCB(cb) );
}
}
UCC
git Repository :: git.ucc.asn.au