URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [mmnommu/] [mlock.c] - Rev 1775
Go to most recent revision | Compare with Previous | Blame | View Log
/* * linux/mm/mlock.c * * (C) Copyright 1995 Linus Torvalds */ /* * uClinux revisions for NO_MM * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com>, * The Silver Hammer Group, Ltd. * Copyright (C) 1999 D. Jeff Dionne <jeff@uclinux.org>, * Rt-Control, Inc. */ #include <linux/stat.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/shm.h> #include <linux/errno.h> #include <linux/mman.h> #include <linux/string.h> #include <linux/malloc.h> asmlinkage int sys_mlock(unsigned long start, size_t len) { return -ENOSYS; } asmlinkage int sys_munlock(unsigned long start, size_t len) { return -ENOSYS; } asmlinkage int sys_mlockall(int flags) { return -ENOSYS; } asmlinkage int sys_munlockall(void) { return -ENOSYS; }
Go to most recent revision | Compare with Previous | Blame | View Log