Do you have a question? Post it now! No Registration Necessary

Re: pSos partition with linux

The closest match in Linux is a memory pool (linux/mempool.h),
starting somewhere in 2.5.x.
However, you can effectively ignore that and implement your
pSOS calls with kmalloc/kfree. The Linux memory allocation
is very efficient and if you use a lot of same-size objects
fragmentation is not much of an issue either.
In userspace, the closest equivalent to a pSOS process is a
Linux thread. You don't need anything special to share memory
between them. Here, as well, you can re-implement the pSOS
calls with simple malloc/free.
Kind regards,
Iwo
Site Timeline
- » linker scripts
- — Next thread in » Embedded Linux
-
- » kernel thinks it's in an interrupt
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Der beste Editor (was: kann man in dem Wirrwar nicht finden)
- — The site's Newest Thread. Posted in » Electronics (German)
-