diff options
author | Namhoon Kim <namhoonk@cs.unc.edu> | 2016-05-01 16:47:16 -0400 |
---|---|---|
committer | Namhoon Kim <namhoonk@cs.unc.edu> | 2016-05-01 16:47:16 -0400 |
commit | 8c20bdbf935c54784e634af2039a5897581e65e8 (patch) | |
tree | 296487b40226983df01028d48d10ac8e3fbf399a /arch | |
parent | 643dae844fc39fa3dc9f45db98070cb29e99e3d5 (diff) |
Add system calls for RTSS16
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/arm/kernel/calls.S | 3 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_32.tbl | 2 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_64.tbl | 3 |
4 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 3b7d36b921d3..5291b703ed3f 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h | |||
@@ -19,7 +19,7 @@ | |||
19 | * This may need to be greater than __NR_last_syscall+1 in order to | 19 | * This may need to be greater than __NR_last_syscall+1 in order to |
20 | * account for the padding in the syscall table | 20 | * account for the padding in the syscall table |
21 | */ | 21 | */ |
22 | #define __NR_syscalls (388 + NR_litmus_syscalls + 2) | 22 | #define __NR_syscalls (388 + NR_litmus_syscalls + 0) |
23 | 23 | ||
24 | 24 | ||
25 | /* | 25 | /* |
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 6c2ad82fd2c8..55dc86323c86 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S | |||
@@ -415,7 +415,8 @@ | |||
415 | CALL(sys_set_mc2_task_param) | 415 | CALL(sys_set_mc2_task_param) |
416 | CALL(sys_set_page_color) | 416 | CALL(sys_set_page_color) |
417 | /* 405 */ CALL(sys_test_call) | 417 | /* 405 */ CALL(sys_test_call) |
418 | 418 | CALL(sys_run_test) | |
419 | CALL(sys_lock_buffer) | ||
419 | 420 | ||
420 | #ifndef syscalls_counted | 421 | #ifndef syscalls_counted |
421 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls | 422 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls |
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index 075709a93d34..b303a9b2183a 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl | |||
@@ -383,3 +383,5 @@ | |||
383 | 374 i386 set_mc2_task_param sys_set_mc2_task_param | 383 | 374 i386 set_mc2_task_param sys_set_mc2_task_param |
384 | 375 i386 set_page_color sys_set_page_color | 384 | 375 i386 set_page_color sys_set_page_color |
385 | 376 i386 test_call sys_test_call | 385 | 376 i386 test_call sys_test_call |
386 | 377 i386 run_test sys_run_test | ||
387 | 378 i386 lock_buffer sys_lock_buffer | ||
diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl index e8fdeecd3d21..5f24a80930cc 100644 --- a/arch/x86/syscalls/syscall_64.tbl +++ b/arch/x86/syscalls/syscall_64.tbl | |||
@@ -348,7 +348,8 @@ | |||
348 | 366 common set_mc2_task_param sys_set_mc2_task_param | 348 | 366 common set_mc2_task_param sys_set_mc2_task_param |
349 | 367 common set_page_color sys_set_page_color | 349 | 367 common set_page_color sys_set_page_color |
350 | 368 common test_call sys_test_call | 350 | 368 common test_call sys_test_call |
351 | 351 | 369 common run_test sys_run_test | |
352 | 370 common lock_buffer sys_lock_buffer | ||
352 | 353 | ||
353 | # | 354 | # |
354 | # x32-specific system call numbers start at 512 to avoid cache impact | 355 | # x32-specific system call numbers start at 512 to avoid cache impact |