This is the mail archive of the
mailing list for the GDB project.
Re: Add SystemV IPC drivers to PSIM
- From: teawater <teawater at gmail dot com>
- To: "Joel Sherrill" <joel dot sherrill at oarcorp dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb at sourceware dot org>
- Date: Thu, 6 Nov 2008 10:34:02 +0800
- Subject: Re: Add SystemV IPC drivers to PSIM
- References: <4911CFB1.email@example.com>
I think maybe you need cc this mail to maintainer of ppc sim Andrew
And porting this patch to gdb-cvs-head and divide it to some small
ones are better for other people review it.
On Thu, Nov 6, 2008 at 00:54, Joel Sherrill <firstname.lastname@example.org> wrote:
> This is a repost of the patch was originally submitted 8 Sept.
> Could someone please review and commit it?
> As the first year in the copyright shows, this code
> has been around a while. I found a message in the
> RTEMS archives where I was updating it to gdb 4.17. :)
> It adds support for System V semaphores and shared memory to psim.
> It adds two files (hw_sem.c and hw_shm.c) and touches configure.ac
> to add tests for support of System V IPC. Please regenerate
> configure after patching.
> The shared memory device maps System V shared memory
> into the simulated PowerPC's address space. This lets
> the simulated CPU share data with the host environment.
> This data area can be protected by using the System V
> semaphore device to lock the memory.
> We use this to run RTEMS multiprocessor tests where the
> two simulated CPUs communicate through the shared memory.
> It has also been used by RTEMS applications to do "device IO"
> to the shared memory and have a custom system simulator
> provide feedback.
> Can someone please review and commit? Thanks.
> 2008-09-08 Joel Sherrill <email@example.com>
> * configure: Regenerated.
> * configure.ac: Add test for System V shared memory and semaphore.
> * debug.c, debug.h: Add trace support for new devices.
> * hw_sem.c, hw_shm.c: New files.
> * Makefile.in: Add hw_sem.c and hw_shm.c
> Joel Sherrill, Ph.D. Director of Research & Development
> joel.sherrill@OARcorp.com On-Line Applications Research
> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985