* Adds the _kunlock_node_() syscall obviously used by p4. This should fix
ticket #2626. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27011 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2005-2007, Axel Dörfler, [email protected]. All rights reserved.
|
* Copyright 2005-2008, Axel Dörfler, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -8,8 +8,7 @@
|
|||||||
// least they should only be used when compiling for GCC 2.95.3, though.
|
// least they should only be used when compiling for GCC 2.95.3, though.
|
||||||
#if __GNUC__ < 30
|
#if __GNUC__ < 30
|
||||||
|
|
||||||
// This file includes some known R5 syscalls
|
//! This file includes some known R5 syscalls
|
||||||
// ToDo: maybe they should indeed do something...
|
|
||||||
|
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
#include <fs_info.h>
|
#include <fs_info.h>
|
||||||
@@ -24,6 +23,7 @@
|
|||||||
int _kset_mon_limit_(int num);
|
int _kset_mon_limit_(int num);
|
||||||
int _kset_fd_limit_(int num);
|
int _kset_fd_limit_(int num);
|
||||||
int _klock_node_(int fd);
|
int _klock_node_(int fd);
|
||||||
|
int _kunlock_node_(int fd);
|
||||||
int _kget_cpu_state_(int cpuNum);
|
int _kget_cpu_state_(int cpuNum);
|
||||||
int _kset_cpu_state_(int cpuNum, int state);
|
int _kset_cpu_state_(int cpuNum, int state);
|
||||||
int _kstatfs_(dev_t device, void *whatever, int fd, const char *path, fs_info *info);
|
int _kstatfs_(dev_t device, void *whatever, int fd, const char *path, fs_info *info);
|
||||||
@@ -64,6 +64,13 @@ _klock_node_(int fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
_kunlock_node_(int fd)
|
||||||
|
{
|
||||||
|
return _kern_unlock_node(fd);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
_kget_cpu_state_(int cpuNum)
|
_kget_cpu_state_(int cpuNum)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user