Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

A port problem!

Altera Nios II IDE has given us a Templet to port a uC/OS II system, I want to see the OSStartHighRdy() OSCtxSw() and OSIntCtxSw() detail.Of course the three functions were just defined in OS_CPU.h .The problem is where I see the detail of the three functions in NIos II file system?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by dengzijian@Dec 8 2005, 10:33 PM

    altera nios ii ide has given us a templet to port a uc/os ii system, i want to see the osstarthighrdy() osctxsw() and osintctxsw() detail.of course the three functions were just defined in os_cpu.h .the problem is where i see the detail of the three functions in nios ii file system?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11437)

    --- quote end ---

    --- Quote End ---

    Look in the file os_cpu_a.S which is in the altera_nios2 component. You will find that the Nios II IDE has a handy search facility Search->File Search which should help you answer these questions in future
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    see the book microC OSII by Jean J. Labrosse,u can see all the functions.