Forum Discussion

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

how to support SHARE MEM in linux2.6.11

My applicants use share memory IPC. But I find SYSVIPC is not defautly config in Nios2linux(linux2.6.11) because(from <kernelsource>/init/kconfig:

...
config SYSVIPC
    bool "System V IPC"
    depends on MMU
...
config TINY_SHMEM
    default !SHMEM
    bool
...

1.

As we know NiosII is a cpu without MMU, so I can&#39;t config SYSVIPC easily. Could someone help me to figure out how to use SYSVIPC?

2.

what is the diffrents between tiny_shmem and SYSVIPC&#39;s SHMEM?

Which c-file is support TINY_SHMEM?

How to use TINY_SHMEM?

3.

If above support is failed, how do you do about IPC?

Any comments, tips will be appreciated.

Best regards.

1 Reply

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

    I find there is SYSVIPC (wihout "depends on MMU") in linux2.4 in Original uClinux source tree.

    So, I test to delete "depends on MMU" in linux2.6 for Nios2 to let it support SYSVIPC.

    Dose it sounds correct?