summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/posix/src/mprotect.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 344fa09a97..24ecee3e58 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,9 @@
2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * posix/src/mprotect.c: Update comments.
+
+2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* posix/Makefile.am: Add support for Ada95 interrupt tasks. This
will require gcc 4.3 or newer.
* posix/src/ada_intrsupp.c: New file.
diff --git a/cpukit/posix/src/mprotect.c b/cpukit/posix/src/mprotect.c
index 60740615b5..8b5825f1ea 100644
--- a/cpukit/posix/src/mprotect.c
+++ b/cpukit/posix/src/mprotect.c
@@ -1,4 +1,11 @@
/*
+ * COPYRIGHT (c) 1989-2007.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
* $Id$
*/
@@ -15,6 +22,9 @@
* This is not a functional version but the SPARC backend for at least
* gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and
* return 0.
+ *
+ * As of gcc 4.2.2, the gcc SPARC backend doesn't appear to have a
+ * way to call this for RTEMS anymore but it doesn't hurt to leave it.
*/
int mprotect(const void *addr, size_t len, int prot)