Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 30 Mar 2005 05:41 PM by  chrisr@logicpd.com
KernelIoControl
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
reade6@hotmail.com
New Member
New Member
Posts:


--
05 May 2004 06:15 PM
    Hi again,
    I'm am using interrupt IRQC and everything is working just fine, at least once through the application. When the application terminates and I try to rerun the program the interrupts no longer work until I reset the device. I think I have isolated the problem though... IOCTL_HAL_RELEASE_SYSINTR always fails. So the the irq to interrupt value mapping becomes inconsistent, I think. Can you help? Perhaps OEMIoControl has been implemented incorrectly for IOCTL_HAL_RELEASE_SYSINTR? Here are the exact calls I make...

    if (!KernelIoControl(IOCTL_HAL_REQUEST_SYSINTR,
    (VOID *)(&irq), sizeof(irq),
    (VOID *)(&(inst->sysIntrValue)),
    sizeof(inst->sysIntrValue), NULL))
    {
    ASSERT(FALSE);
    DeleteCriticalSection(&(inst->criticalSection));
    if (!CryptReleaseContext(inst->cryptProv, 0)) {ASSERT(FALSE);}
    pmmFree(inst);
    return 0;
    }

    if (!KernelIoControl(IOCTL_HAL_RELEASE_SYSINTR,
    (VOID *)(&(inst->sysIntrValue)),
    sizeof(inst->sysIntrValue),
    NULL, 0, NULL))
    {
    ASSERT(FALSE); /* this may assert */
    }

    Thanks!
    Anonymous
    Posts:


    --
    06 May 2004 12:30 PM
    We are looking into this currently and will get back to you as soon as we are able to come to a conclusion.

    Aaron Stewart
    Tech. Support Engineer
    Logic Product Development
    reade6@hotmail.com
    New Member
    New Member
    Posts:


    --
    06 May 2004 06:18 PM
    I should add the irq variable is set to a value of 6 prior to IOCTL_HAL_REQUEST_SYSINTR.
    Anonymous
    Posts:


    --
    07 May 2004 01:52 PM
    Can you give me some examples of actual errors that are being returned? What's the return value of KernelIoControl? Thx
    Anonymous
    Posts:


    --
    07 May 2004 03:06 PM
    reader,

    Currently IOCTL_HAL_RELEASE_SYSINTR is not implemented in our OAL. However this will be submitted as a feature request but there is no guarantee of if/when it will be implemented.



    Regards,



    Aaron Stewart

    Technical Support Engineer

    Logic Product Development
    mpinton
    New Member
    New Member
    Posts:


    --
    30 Mar 2005 03:01 PM
    Hi,
    Has the IOCTL_HAL_RELEASE_SYSINTR IOCTL been implemented yet?
    Thanks,
    Michel
    chrisr@logicpd.com
    New Member
    New Member
    Posts:


    --
    30 Mar 2005 05:41 PM
    Hello Michel,

    The IOCTL in question will be in the next feature release of our kernel accross all platforms.

    Thanks
    You are not authorized to post a reply.