2006-04-24 Jiri Gaisler <jiri@gaisler.com>

Edvin Catovic <edvin@gaisler.com>

	PR bsps/972
	* shmdr/shm_driver.h: Add sparc lock/unlock values.
This commit is contained in:
Joel Sherrill
2006-04-24 18:45:03 +00:00
parent b065ec1c5c
commit eab1cfee71
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2006-04-24 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
PR bsps/972
* shmdr/shm_driver.h: Add sparc lock/unlock values.
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.

View File

@@ -144,6 +144,9 @@ extern "C" {
#elif defined(_AM29K)
#define SHM_LOCK_VALUE 0
#define SHM_UNLOCK_VALUE 1
#elif defined(__sparc__)
#define SHM_LOCK_VALUE 1
#define SHM_UNLOCK_VALUE 0
#elif defined(no_cpu) /* for this values are irrelevant */
#define SHM_LOCK_VALUE 1
#define SHM_UNLOCK_VALUE 0