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
411371cb
Commit
411371cb
authored
Feb 20, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: add system calls for POSIX timer stuff
parent
ffb5450c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
4 deletions
+24
-4
arch/ppc/kernel/entry.S
arch/ppc/kernel/entry.S
+1
-0
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+9
-4
include/asm-ppc/posix_types.h
include/asm-ppc/posix_types.h
+2
-0
include/asm-ppc/unistd.h
include/asm-ppc/unistd.h
+12
-0
No files found.
arch/ppc/kernel/entry.S
View file @
411371cb
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include <asm/offsets.h>
#include <asm/offsets.h>
#include <asm/unistd.h>
#undef SHOW_SYSCALLS
#undef SHOW_SYSCALLS
#undef SHOW_SYSCALLS_TASK
#undef SHOW_SYSCALLS_TASK
...
...
arch/ppc/kernel/misc.S
View file @
411371cb
...
@@ -1281,7 +1281,12 @@ _GLOBAL(sys_call_table)
...
@@ -1281,7 +1281,12 @@ _GLOBAL(sys_call_table)
.
long
sys_epoll_ctl
.
long
sys_epoll_ctl
.
long
sys_epoll_wait
.
long
sys_epoll_wait
.
long
sys_remap_file_pages
.
long
sys_remap_file_pages
.
long
sys_timer_create
/*
240
*/
.
rept
NR_syscalls
-(
.
-
sys_call_table
)/
4
.
long
sys_timer_settime
.
long
sys_ni_syscall
.
long
sys_timer_gettime
.
endr
.
long
sys_timer_getoverrun
.
long
sys_timer_delete
.
long
sys_clock_settime
/*
245
*/
.
long
sys_clock_gettime
.
long
sys_clock_getres
.
long
sys_clock_nanosleep
include/asm-ppc/posix_types.h
View file @
411371cb
...
@@ -21,6 +21,8 @@ typedef long __kernel_ptrdiff_t;
...
@@ -21,6 +21,8 @@ typedef long __kernel_ptrdiff_t;
typedef
long
__kernel_time_t
;
typedef
long
__kernel_time_t
;
typedef
long
__kernel_suseconds_t
;
typedef
long
__kernel_suseconds_t
;
typedef
long
__kernel_clock_t
;
typedef
long
__kernel_clock_t
;
typedef
int
__kernel_timer_t
;
typedef
int
__kernel_clockid_t
;
typedef
int
__kernel_daddr_t
;
typedef
int
__kernel_daddr_t
;
typedef
char
*
__kernel_caddr_t
;
typedef
char
*
__kernel_caddr_t
;
typedef
short
__kernel_ipc_pid_t
;
typedef
short
__kernel_ipc_pid_t
;
...
...
include/asm-ppc/unistd.h
View file @
411371cb
...
@@ -244,6 +244,17 @@
...
@@ -244,6 +244,17 @@
#define __NR_epoll_ctl 237
#define __NR_epoll_ctl 237
#define __NR_epoll_wait 238
#define __NR_epoll_wait 238
#define __NR_remap_file_pages 239
#define __NR_remap_file_pages 239
#define __NR_timer_create 240
#define __NR_timer_settime 241
#define __NR_timer_gettime 242
#define __NR_timer_getoverrun 243
#define __NR_timer_delete 244
#define __NR_clock_settime 245
#define __NR_clock_gettime 246
#define __NR_clock_getres 247
#define __NR_clock_nanosleep 248
#define __NR_syscalls 249
#define __NR(n) #n
#define __NR(n) #n
...
@@ -418,6 +429,7 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) \
...
@@ -418,6 +429,7 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) \
#ifdef __KERNEL__
#ifdef __KERNEL__
#define __NR__exit __NR_exit
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
/*
/*
* Forking from kernel space will result in the child getting a new,
* Forking from kernel space will result in the child getting a new,
...
...
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