Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
72bf8914
Commit
72bf8914
authored
Feb 08, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Wire up new syscalls.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
---
parent
40ac5d47
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
125 additions
and
7 deletions
+125
-7
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall32-o32.S
+17
-0
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-64.S
+17
-0
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n32.S
+17
-0
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/scall64-o32.S
+17
-0
include/asm-mips/unistd.h
include/asm-mips/unistd.h
+57
-7
No files found.
arch/mips/kernel/scall32-o32.S
View file @
72bf8914
...
...
@@ -617,6 +617,23 @@ einval: li v0, -EINVAL
sys
sys_inotify_init
0
sys
sys_inotify_add_watch
3
/*
4285
*/
sys
sys_inotify_rm_watch
2
sys
sys_migrate_pages
4
sys
sys_openat
4
sys
sys_mkdirat
3
sys
sys_mknodat
4
/*
4290
*/
sys
sys_fchownat
5
sys
sys_futimesat
3
sys
sys_newfstatat
4
sys
sys_unlinkat
3
sys
sys_renameat
4
/*
4295
*/
sys
sys_linkat
4
sys
sys_symlinkat
3
sys
sys_readlinkat
4
sys
sys_fchmodat
3
sys
sys_faccessat
3
/*
4300
*/
sys
sys_pselect6
6
sys
sys_ppoll
5
sys
sys_unshare
1
.
endm
/
*
We
pre
-
compute
the
number
of
_instruction_
bytes
needed
to
...
...
arch/mips/kernel/scall64-64.S
View file @
72bf8914
...
...
@@ -443,3 +443,20 @@ sys_call_table:
PTR
sys_inotify_init
PTR
sys_inotify_add_watch
PTR
sys_inotify_rm_watch
/*
5245
*/
PTR
sys_migrate_pages
PTR
sys_openat
PTR
sys_mkdirat
PTR
sys_mknodat
PTR
sys_fchownat
/*
5250
*/
PTR
sys_futimesat
PTR
sys_newfstatat
PTR
sys_unlinkat
PTR
sys_renameat
PTR
sys_linkat
/*
5255
*/
PTR
sys_symlinkat
PTR
sys_readlinkat
PTR
sys_fchmodat
PTR
sys_faccessat
PTR
sys_pselect6
/*
5260
*/
PTR
sys_ppoll
PTR
sys_unshare
arch/mips/kernel/scall64-n32.S
View file @
72bf8914
...
...
@@ -369,3 +369,20 @@ EXPORT(sysn32_call_table)
PTR
sys_inotify_init
PTR
sys_inotify_add_watch
PTR
sys_inotify_rm_watch
PTR
sys_migrate_pages
/*
6250
*/
PTR
sys_openat
PTR
sys_mkdirat
PTR
sys_mknodat
PTR
sys_fchownat
PTR
sys_futimesat
/*
6255
*/
PTR
sys_newfstatat
PTR
sys_unlinkat
PTR
sys_renameat
PTR
sys_linkat
PTR
sys_symlinkat
/*
6260
*/
PTR
sys_readlinkat
PTR
sys_fchmodat
PTR
sys_faccessat
PTR
sys_pselect6
PTR
sys_ppoll
/*
6265
*/
PTR
sys_unshare
arch/mips/kernel/scall64-o32.S
View file @
72bf8914
...
...
@@ -491,4 +491,21 @@ sys_call_table:
PTR
sys_inotify_init
PTR
sys_inotify_add_watch
/*
4285
*/
PTR
sys_inotify_rm_watch
PTR
sys_migrate_pages
PTR
compat_sys_openat
PTR
sys_mkdirat
PTR
sys_mknodat
/*
4290
*/
PTR
sys_fchownat
PTR
compat_sys_futimesat
PTR
compat_sys_newfstatat
PTR
sys_unlinkat
PTR
sys_renameat
/*
4295
*/
PTR
sys_linkat
PTR
sys_symlinkat
PTR
sys_readlinkat
PTR
sys_fchmodat
PTR
sys_faccessat
/*
4300
*/
PTR
sys_pselect6
PTR
sys_ppoll
PTR
sys_unshare
.
size
sys_call_table
,
.
-
sys_call_table
include/asm-mips/unistd.h
View file @
72bf8914
...
...
@@ -307,17 +307,33 @@
#define __NR_inotify_init (__NR_Linux + 284)
#define __NR_inotify_add_watch (__NR_Linux + 285)
#define __NR_inotify_rm_watch (__NR_Linux + 286)
#define __NR_migrate_pages (__NR_Linux + 287)
#define __NR_openat (__NR_Linux + 288)
#define __NR_mkdirat (__NR_Linux + 289)
#define __NR_mknodat (__NR_Linux + 290)
#define __NR_fchownat (__NR_Linux + 291)
#define __NR_futimesat (__NR_Linux + 292)
#define __NR_newfstatat (__NR_Linux + 293)
#define __NR_unlinkat (__NR_Linux + 294)
#define __NR_renameat (__NR_Linux + 295)
#define __NR_linkat (__NR_Linux + 296)
#define __NR_symlinkat (__NR_Linux + 297)
#define __NR_readlinkat (__NR_Linux + 298)
#define __NR_fchmodat (__NR_Linux + 299)
#define __NR_faccessat (__NR_Linux + 300)
#define __NR_pselect6 (__NR_Linux + 301)
#define __NR_ppoll (__NR_Linux + 302)
#define __NR_unshare (__NR_Linux + 303)
/*
* Offset of the last Linux o32 flavoured syscall
*/
#define __NR_Linux_syscalls
286
#define __NR_Linux_syscalls
303
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
#define __NR_O32_Linux 4000
#define __NR_O32_Linux_syscalls
28
3
#define __NR_O32_Linux_syscalls
30
3
#if _MIPS_SIM == _MIPS_SIM_ABI64
...
...
@@ -571,16 +587,33 @@
#define __NR_inotify_init (__NR_Linux + 243)
#define __NR_inotify_add_watch (__NR_Linux + 244)
#define __NR_inotify_rm_watch (__NR_Linux + 245)
#define __NR_migrate_pages (__NR_Linux + 246)
#define __NR_openat (__NR_Linux + 247)
#define __NR_mkdirat (__NR_Linux + 248)
#define __NR_mknodat (__NR_Linux + 249)
#define __NR_fchownat (__NR_Linux + 250)
#define __NR_futimesat (__NR_Linux + 251)
#define __NR_newfstatat (__NR_Linux + 252)
#define __NR_unlinkat (__NR_Linux + 253)
#define __NR_renameat (__NR_Linux + 254)
#define __NR_linkat (__NR_Linux + 255)
#define __NR_symlinkat (__NR_Linux + 256)
#define __NR_readlinkat (__NR_Linux + 257)
#define __NR_fchmodat (__NR_Linux + 258)
#define __NR_faccessat (__NR_Linux + 259)
#define __NR_pselect6 (__NR_Linux + 260)
#define __NR_ppoll (__NR_Linux + 261)
#define __NR_unshare (__NR_Linux + 262)
/*
* Offset of the last Linux 64-bit flavoured syscall
*/
#define __NR_Linux_syscalls 2
45
#define __NR_Linux_syscalls 2
62
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
#define __NR_64_Linux 5000
#define __NR_64_Linux_syscalls 2
4
2
#define __NR_64_Linux_syscalls 2
6
2
#if _MIPS_SIM == _MIPS_SIM_NABI32
...
...
@@ -838,16 +871,33 @@
#define __NR_inotify_init (__NR_Linux + 247)
#define __NR_inotify_add_watch (__NR_Linux + 248)
#define __NR_inotify_rm_watch (__NR_Linux + 249)
#define __NR_migrate_pages (__NR_Linux + 250)
#define __NR_openat (__NR_Linux + 251)
#define __NR_mkdirat (__NR_Linux + 252)
#define __NR_mknodat (__NR_Linux + 253)
#define __NR_fchownat (__NR_Linux + 254)
#define __NR_futimesat (__NR_Linux + 255)
#define __NR_newfstatat (__NR_Linux + 256)
#define __NR_unlinkat (__NR_Linux + 257)
#define __NR_renameat (__NR_Linux + 258)
#define __NR_linkat (__NR_Linux + 259)
#define __NR_symlinkat (__NR_Linux + 260)
#define __NR_readlinkat (__NR_Linux + 261)
#define __NR_fchmodat (__NR_Linux + 262)
#define __NR_faccessat (__NR_Linux + 263)
#define __NR_pselect6 (__NR_Linux + 264)
#define __NR_ppoll (__NR_Linux + 265)
#define __NR_unshare (__NR_Linux + 266)
/*
* Offset of the last N32 flavoured syscall
*/
#define __NR_Linux_syscalls 2
49
#define __NR_Linux_syscalls 2
66
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
#define __NR_N32_Linux 6000
#define __NR_N32_Linux_syscalls 2
4
6
#define __NR_N32_Linux_syscalls 2
6
6
#ifndef __ASSEMBLY__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment