2009-08-03 Roger Dahlkvist <ruppe@kth.se>

* libchip/shmdr/shm_driver.h: nios2 was not accounted for.
This commit is contained in:
Joel Sherrill
2009-08-03 14:23:29 +00:00
parent 8960aa5417
commit 354fb2e3bf
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2009-08-03 Roger Dahlkvist <ruppe@kth.se>
* libchip/shmdr/shm_driver.h: nios2 was not accounted for.
2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/ide/ata.c: Remove warning.

View File

@@ -141,6 +141,9 @@ extern "C" {
#elif defined(_AM29K)
#define SHM_LOCK_VALUE 0
#define SHM_UNLOCK_VALUE 1
#elif defined(__nios2__)
#define SHM_LOCK_VALUE 1
#define SHM_UNLOCK_VALUE 0
#elif defined(__sparc__)
#define SHM_LOCK_VALUE 1
#define SHM_UNLOCK_VALUE 0