Deciphering error
Deciphering error
- Subject: Deciphering error
- From: Eric Long <email@hidden>
- Date: Mon, 08 May 2006 15:39:00 -0700
Hi,
Does this error I'm getting from an IOCommandGate call makes sense to
anyone:
IOReturn result = gate->runCommand(msgPtr, &msgSize, (void *)0, (void *)0))
result: 30593024: system: 0x0, sub: 0x74b, code: 0x1000
What's really odd is that nothing seemed to go wrong. The command went
through and every else appeared to operation cleanly. I don't have any
clues why result isn't coming back 0.
My hunch is that the error code is bogus, like maybe the stack is off.
My command handler looks something like this:
void
myCommandHandler( OSObject *owner, void *arg0, void *arg1, void *arg2, void
*arg3 );
I use the same handler in other places without seeing this error, but in the
other instances I pass 0 for all args. The function itself is pretty
simple. It calls enqueue() to add data to a queue. If the args are 0 it
pulls data from another queue, else it queues the data from the args.
The IODataQueue enqueue() call in my command handler returns true. So I
don't see an error happening there.
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden