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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [mmnommu/] [mlock.c] - Blame information for rev 1772

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

Line No. Rev Author Line
1 1634 jcastillo
/*
2
 *      linux/mm/mlock.c
3
 *
4
 *  (C) Copyright 1995 Linus Torvalds
5
 */
6
 
7
/*
8
 * uClinux revisions for NO_MM
9
 * Copyright (C) 1998  Kenneth Albanowski <kjahds@kjahds.com>,
10
 *                     The Silver Hammer Group, Ltd.
11
 * Copyright (C) 1999  D. Jeff Dionne <jeff@uclinux.org>,
12
 *                     Rt-Control, Inc.
13
 */
14
 
15
#include <linux/stat.h>
16
#include <linux/sched.h>
17
#include <linux/kernel.h>
18
#include <linux/mm.h>
19
#include <linux/shm.h>
20
#include <linux/errno.h>
21
#include <linux/mman.h>
22
#include <linux/string.h>
23
#include <linux/malloc.h>
24
 
25
asmlinkage int sys_mlock(unsigned long start, size_t len)
26
{
27
        return -ENOSYS;
28
}
29
 
30
asmlinkage int sys_munlock(unsigned long start, size_t len)
31
{
32
        return -ENOSYS;
33
}
34
 
35
asmlinkage int sys_mlockall(int flags)
36
{
37
        return -ENOSYS;
38
}
39
 
40
asmlinkage int sys_munlockall(void)
41
{
42
        return -ENOSYS;
43
}

powered by: WebSVN 2.1.0

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