OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [posix/] [src/] [mprotect.c] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  mprotect.c,v 1.1 2001/09/13 13:23:30 joel Exp
3
 */
4
 
5
#if HAVE_CONFIG_H
6
#include "config.h"
7
#endif
8
 
9
#include <unistd.h>
10
 
11
/*PAGE
12
 *
13
 *  12.2.3 Change Memory Protection, P1003.1b-1996, p. 277.
14
 *
15
 *  This is not a functional version but the SPARC backend for at least
16
 *  gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and
17
 *  return 0.
18
 */
19
 
20
int mprotect(const void *addr, size_t len, int prot)
21
{
22
  return 0;
23
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.