psim: RTEMS_SHM_SEMAPHORE_KEY and RTEMS_SHM_KEY

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Apr 6 07:05:12 UTC 2016


On 05/04/16 08:55, Sebastian Huber wrote:
> Hello,
>
> the psim simulator script requires a RTEMS_SHM_SEMAPHORE_KEY and 
> RTEMS_SHM_KEY. Does anyone know how to set up this?
>

You can create the shared memory and semaphore via:

ipcmk -M 131072
ipcmk -S 1

Use ipcs to get the keys, then do:

export RTEMS_SHM_SEMAPHORE_KEY=0xe7ed7bf0
export RTEMS_SHM_KEY=0x9e15c750

With this I was able to run the MP tests on PSIM.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list