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
nexedi
linux
Commits
51f03943
Commit
51f03943
authored
Oct 19, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Add entries for recently added system calls.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
00a9353c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
8 deletions
+33
-8
arch/sparc/kernel/entry.S
arch/sparc/kernel/entry.S
+1
-1
arch/sparc/kernel/systbls.S
arch/sparc/kernel/systbls.S
+2
-1
arch/sparc64/kernel/entry.S
arch/sparc64/kernel/entry.S
+1
-1
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+3
-3
arch/sparc64/solaris/systbl.S
arch/sparc64/solaris/systbl.S
+16
-0
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+5
-1
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+5
-1
No files found.
arch/sparc/kernel/entry.S
View file @
51f03943
...
...
@@ -38,7 +38,7 @@
#define curptr g6
#define NR_SYSCALLS 28
3
/* Each OS is different... */
#define NR_SYSCALLS 28
4
/* Each OS is different... */
/*
These
are
just
handy
.
*/
#define _SV save %sp, -STACKFRAME_SZ, %sp
...
...
arch/sparc/kernel/systbls.S
View file @
51f03943
...
...
@@ -75,7 +75,7 @@ sys_call_table:
/*
265
*/
.
long
sys_timer_delete
,
sys_timer_create
,
sys_nis_syscall
,
sys_io_setup
,
sys_io_destroy
/*
270
*/
.
long
sys_io_submit
,
sys_io_cancel
,
sys_io_getevents
,
sys_mq_open
,
sys_mq_unlink
/*
275
*/
.
long
sys_mq_timedsend
,
sys_mq_timedreceive
,
sys_mq_notify
,
sys_mq_getsetattr
,
sys_waitid
/*
280
*/
.
long
sys_
ni_syscall
,
sys_ni_syscall
,
sys_ni_syscal
l
/*
280
*/
.
long
sys_
setaltroot
,
sys_add_key
,
sys_request_key
,
sys_keyct
l
#ifdef CONFIG_SUNOS_EMUL
/
*
Now
the
SunOS
syscall
table
.
*/
...
...
@@ -181,5 +181,6 @@ sunos_sys_table:
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
/*
280
*/
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
#endif
arch/sparc64/kernel/entry.S
View file @
51f03943
...
...
@@ -26,7 +26,7 @@
#define curptr g6
#define NR_SYSCALLS 28
3
/* Each OS is different... */
#define NR_SYSCALLS 28
4
/* Each OS is different... */
.
text
.
align
32
...
...
arch/sparc64/kernel/systbls.S
View file @
51f03943
...
...
@@ -76,7 +76,7 @@ sys_call_table32:
.
word
sys_timer_delete
,
sys32_timer_create
,
sys_ni_syscall
,
compat_sys_io_setup
,
sys_io_destroy
/*
270
*/
.
word
sys32_io_submit
,
sys_io_cancel
,
compat_sys_io_getevents
,
sys32_mq_open
,
sys_mq_unlink
.
word
sys_mq_timedsend
,
sys_mq_timedreceive
,
compat_sys_mq_notify
,
compat_sys_mq_getsetattr
,
compat_sys_waitid
/*
280
*/
.
word
sys_
ni_syscall
,
sys_ni_syscall
,
sys_ni_syscal
l
/*
280
*/
.
word
sys_
setaltroot
,
sys_add_key
,
sys_request_key
,
sys_keyct
l
#endif /* CONFIG_COMPAT */
...
...
@@ -142,7 +142,7 @@ sys_call_table:
.
word
sys_timer_delete
,
sys_timer_create
,
sys_ni_syscall
,
sys_io_setup
,
sys_io_destroy
/*
270
*/
.
word
sys_io_submit
,
sys_io_cancel
,
sys_io_getevents
,
sys_mq_open
,
sys_mq_unlink
.
word
sys_mq_timedsend
,
sys_mq_timedreceive
,
sys_mq_notify
,
sys_mq_getsetattr
,
sys_waitid
/*
280
*/
.
word
sys_
ni_syscall
,
sys_ni_syscall
,
sys_ni_syscal
l
/*
280
*/
.
word
sys_
setaltroot
,
sys_add_key
,
sys_request_key
,
sys_keyct
l
#if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \
defined
(
CONFIG_SOLARIS_EMUL_MODULE
)
...
...
@@ -247,5 +247,5 @@ sunos_sys_table:
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
#endif
arch/sparc64/solaris/systbl.S
View file @
51f03943
...
...
@@ -295,4 +295,20 @@ solaris_sys_table:
.
word
solaris_unimplemented
/*
265
*/
.
word
solaris_unimplemented
/*
266
*/
.
word
solaris_unimplemented
/*
267
*/
.
word
solaris_unimplemented
/*
268
*/
.
word
solaris_unimplemented
/*
269
*/
.
word
solaris_unimplemented
/*
270
*/
.
word
solaris_unimplemented
/*
271
*/
.
word
solaris_unimplemented
/*
272
*/
.
word
solaris_unimplemented
/*
273
*/
.
word
solaris_unimplemented
/*
274
*/
.
word
solaris_unimplemented
/*
275
*/
.
word
solaris_unimplemented
/*
276
*/
.
word
solaris_unimplemented
/*
277
*/
.
word
solaris_unimplemented
/*
278
*/
.
word
solaris_unimplemented
/*
279
*/
.
word
solaris_unimplemented
/*
280
*/
.
word
solaris_unimplemented
/*
281
*/
.
word
solaris_unimplemented
/*
282
*/
.
word
solaris_unimplemented
/*
283
*/
include/asm-sparc/unistd.h
View file @
51f03943
...
...
@@ -296,8 +296,12 @@
#define __NR_mq_notify 277
#define __NR_mq_getsetattr 278
#define __NR_waitid 279
#define __NR_sys_setaltroot 280
#define __NR_add_key 281
#define __NR_request_key 282
#define __NR_keyctl 283
/* WARNING: You MAY NOT add syscall numbers larger than 28
2
, since
/* WARNING: You MAY NOT add syscall numbers larger than 28
3
, since
* all of the syscall tables in the Sparc kernel are
* sized to have 283 entries (starting at zero). Therefore
* find a free slot in the 0-282 range.
...
...
include/asm-sparc64/unistd.h
View file @
51f03943
...
...
@@ -298,8 +298,12 @@
#define __NR_mq_notify 277
#define __NR_mq_getsetattr 278
#define __NR_waitid 279
#define __NR_sys_setaltroot 280
#define __NR_add_key 281
#define __NR_request_key 282
#define __NR_keyctl 283
/* WARNING: You MAY NOT add syscall numbers larger than 28
2
, since
/* WARNING: You MAY NOT add syscall numbers larger than 28
3
, since
* all of the syscall tables in the Sparc kernel are
* sized to have 283 entries (starting at zero). Therefore
* find a free slot in the 0-282 range.
...
...
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