summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libbsp/ChangeLog4
-rw-r--r--c/src/lib/libbsp/shmdr/shm_driver.h3
-rw-r--r--c/src/libchip/shmdr/shm_driver.h3
3 files changed, 10 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/ChangeLog b/c/src/lib/libbsp/ChangeLog
index 37283e8ae2..e3f18791f5 100644
--- a/c/src/lib/libbsp/ChangeLog
+++ b/c/src/lib/libbsp/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-25 Joel Sherrill <joel@OARcorp.com>
+
+ * shmdr/shm_driver.h: Added _AM29K entry. May not be correct.
+
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shmdr/Makefile.am: Include compile.am
diff --git a/c/src/lib/libbsp/shmdr/shm_driver.h b/c/src/lib/libbsp/shmdr/shm_driver.h
index 7efc9dbfcb..1d846d6e10 100644
--- a/c/src/lib/libbsp/shmdr/shm_driver.h
+++ b/c/src/lib/libbsp/shmdr/shm_driver.h
@@ -141,6 +141,9 @@ extern "C" {
#elif defined(__unix__)
#define SHM_LOCK_VALUE 0
#define SHM_UNLOCK_VALUE 1
+#elif defined(_AM29K)
+#define SHM_LOCK_VALUE 0
+#define SHM_UNLOCK_VALUE 1
#elif defined(no_cpu) /* for this values are irrelevant */
#define SHM_LOCK_VALUE 1
#define SHM_UNLOCK_VALUE 0
diff --git a/c/src/libchip/shmdr/shm_driver.h b/c/src/libchip/shmdr/shm_driver.h
index 7efc9dbfcb..1d846d6e10 100644
--- a/c/src/libchip/shmdr/shm_driver.h
+++ b/c/src/libchip/shmdr/shm_driver.h
@@ -141,6 +141,9 @@ extern "C" {
#elif defined(__unix__)
#define SHM_LOCK_VALUE 0
#define SHM_UNLOCK_VALUE 1
+#elif defined(_AM29K)
+#define SHM_LOCK_VALUE 0
+#define SHM_UNLOCK_VALUE 1
#elif defined(no_cpu) /* for this values are irrelevant */
#define SHM_LOCK_VALUE 1
#define SHM_UNLOCK_VALUE 0