From 176f545c3b451108d032b850755473185c8529d0 Mon Sep 17 00:00:00 2001 From: micha Date: Mon, 17 Nov 2008 21:46:34 +0000 Subject: [PATCH] * fix linux syscall numbers naming consistency (fixes x86_64 unit linux build) git-svn-id: trunk@12153 - --- rtl/linux/arm/sysnr.inc | 204 ++++++++++++++++++------------------- rtl/linux/x86_64/sysnr.inc | 48 ++++----- 2 files changed, 126 insertions(+), 126 deletions(-) diff --git a/rtl/linux/arm/sysnr.inc b/rtl/linux/arm/sysnr.inc index ac46002e3c..89abca6100 100644 --- a/rtl/linux/arm/sysnr.inc +++ b/rtl/linux/arm/sysnr.inc @@ -278,111 +278,111 @@ Const syscall_set_tid_address = syscall_nr_base+256; { 254 for set_thread_area } { 255 for get_thread_area } - syscall_timer_create = syscall_nr_base+257; - syscall_timer_settime = syscall_nr_base+258; - syscall_timer_gettime = syscall_nr_base+259; - syscall_timer_getoverrun = syscall_nr_base+260; - syscall_timer_delete = syscall_nr_base+261; - syscall_clock_settime = syscall_nr_base+262; - syscall_clock_gettime = syscall_nr_base+263; - syscall_clock_getres = syscall_nr_base+264; - syscall_clock_nanosleep = syscall_nr_base+265; - syscall_statfs64 = syscall_nr_base+266; - syscall_fstatfs64 = syscall_nr_base+267; - syscall_tgkill = syscall_nr_base+268; - syscall_utimes = syscall_nr_base+269; - syscall_fadvise64_64 = syscall_nr_base+270; - syscall_pciconfig_iobase = syscall_nr_base+271; - syscall_pciconfig_read = syscall_nr_base+272; - syscall_pciconfig_write = syscall_nr_base+273; - syscall_mq_open = syscall_nr_base+274; - syscall_mq_unlink = syscall_nr_base+275; - syscall_mq_timedsend = syscall_nr_base+276; - syscall_mq_timedreceive = syscall_nr_base+277; - syscall_mq_notify = syscall_nr_base+278; - syscall_mq_getsetattr = syscall_nr_base+279; - syscall_waitid = syscall_nr_base+280; - syscall_socket = syscall_nr_base+281; - syscall_bind = syscall_nr_base+282; - syscall_connect = syscall_nr_base+283; - syscall_listen = syscall_nr_base+284; - syscall_accept = syscall_nr_base+285; - syscall_getsockname = syscall_nr_base+286; - syscall_getpeername = syscall_nr_base+287; - syscall_socketpair = syscall_nr_base+288; - syscall_send = syscall_nr_base+289; - syscall_sendto = syscall_nr_base+290; - syscall_recv = syscall_nr_base+291; - syscall_recvfrom = syscall_nr_base+292; - syscall_shutdown = syscall_nr_base+293; - syscall_setsockopt = syscall_nr_base+294; - syscall_getsockopt = syscall_nr_base+295; - syscall_sendmsg = syscall_nr_base+296; - syscall_recvmsg = syscall_nr_base+297; - syscall_semop = syscall_nr_base+298; - syscall_semget = syscall_nr_base+299; - syscall_semctl = syscall_nr_base+300; - syscall_msgsnd = syscall_nr_base+301; - syscall_msgrcv = syscall_nr_base+302; - syscall_msgget = syscall_nr_base+303; - syscall_msgctl = syscall_nr_base+304; - syscall_shmat = syscall_nr_base+305; - syscall_shmdt = syscall_nr_base+306; - syscall_shmget = syscall_nr_base+307; - syscall_shmctl = syscall_nr_base+308; - syscall_add_key = syscall_nr_base+309; - syscall_request_key = syscall_nr_base+310; - syscall_keyctl = syscall_nr_base+311; - syscall_semtimedop = syscall_nr_base+312; - syscall_vserver = syscall_nr_base+313; - syscall_ioprio_set = syscall_nr_base+314; - syscall_ioprio_get = syscall_nr_base+315; - syscall_inotify_init = syscall_nr_base+316; - syscall_inotify_add_watch = syscall_nr_base+317; - syscall_inotify_rm_watch = syscall_nr_base+318; - syscall_mbind = syscall_nr_base+319; - syscall_get_mempolicy = syscall_nr_base+320; - syscall_set_mempolicy = syscall_nr_base+321; - syscall_openat = syscall_nr_base+322; - syscall_mkdirat = syscall_nr_base+323; - syscall_mknodat = syscall_nr_base+324; - syscall_fchownat = syscall_nr_base+325; - syscall_futimesat = syscall_nr_base+326; - syscall_fstatat64 = syscall_nr_base+327; - syscall_unlinkat = syscall_nr_base+328; - syscall_renameat = syscall_nr_base+329; - syscall_linkat = syscall_nr_base+330; - syscall_symlinkat = syscall_nr_base+331; - syscall_readlinkat = syscall_nr_base+332; - syscall_fchmodat = syscall_nr_base+333; - syscall_faccessat = syscall_nr_base+334; + syscall_nr_timer_create = syscall_nr_base+257; + syscall_nr_timer_settime = syscall_nr_base+258; + syscall_nr_timer_gettime = syscall_nr_base+259; + syscall_nr_timer_getoverrun = syscall_nr_base+260; + syscall_nr_timer_delete = syscall_nr_base+261; + syscall_nr_clock_settime = syscall_nr_base+262; + syscall_nr_clock_gettime = syscall_nr_base+263; + syscall_nr_clock_getres = syscall_nr_base+264; + syscall_nr_clock_nanosleep = syscall_nr_base+265; + syscall_nr_statfs64 = syscall_nr_base+266; + syscall_nr_fstatfs64 = syscall_nr_base+267; + syscall_nr_tgkill = syscall_nr_base+268; + syscall_nr_utimes = syscall_nr_base+269; + syscall_nr_fadvise64_64 = syscall_nr_base+270; + syscall_nr_pciconfig_iobase = syscall_nr_base+271; + syscall_nr_pciconfig_read = syscall_nr_base+272; + syscall_nr_pciconfig_write = syscall_nr_base+273; + syscall_nr_mq_open = syscall_nr_base+274; + syscall_nr_mq_unlink = syscall_nr_base+275; + syscall_nr_mq_timedsend = syscall_nr_base+276; + syscall_nr_mq_timedreceive = syscall_nr_base+277; + syscall_nr_mq_notify = syscall_nr_base+278; + syscall_nr_mq_getsetattr = syscall_nr_base+279; + syscall_nr_waitid = syscall_nr_base+280; + syscall_nr_socket = syscall_nr_base+281; + syscall_nr_bind = syscall_nr_base+282; + syscall_nr_connect = syscall_nr_base+283; + syscall_nr_listen = syscall_nr_base+284; + syscall_nr_accept = syscall_nr_base+285; + syscall_nr_getsockname = syscall_nr_base+286; + syscall_nr_getpeername = syscall_nr_base+287; + syscall_nr_socketpair = syscall_nr_base+288; + syscall_nr_send = syscall_nr_base+289; + syscall_nr_sendto = syscall_nr_base+290; + syscall_nr_recv = syscall_nr_base+291; + syscall_nr_recvfrom = syscall_nr_base+292; + syscall_nr_shutdown = syscall_nr_base+293; + syscall_nr_setsockopt = syscall_nr_base+294; + syscall_nr_getsockopt = syscall_nr_base+295; + syscall_nr_sendmsg = syscall_nr_base+296; + syscall_nr_recvmsg = syscall_nr_base+297; + syscall_nr_semop = syscall_nr_base+298; + syscall_nr_semget = syscall_nr_base+299; + syscall_nr_semctl = syscall_nr_base+300; + syscall_nr_msgsnd = syscall_nr_base+301; + syscall_nr_msgrcv = syscall_nr_base+302; + syscall_nr_msgget = syscall_nr_base+303; + syscall_nr_msgctl = syscall_nr_base+304; + syscall_nr_shmat = syscall_nr_base+305; + syscall_nr_shmdt = syscall_nr_base+306; + syscall_nr_shmget = syscall_nr_base+307; + syscall_nr_shmctl = syscall_nr_base+308; + syscall_nr_add_key = syscall_nr_base+309; + syscall_nr_request_key = syscall_nr_base+310; + syscall_nr_keyctl = syscall_nr_base+311; + syscall_nr_semtimedop = syscall_nr_base+312; + syscall_nr_vserver = syscall_nr_base+313; + syscall_nr_ioprio_set = syscall_nr_base+314; + syscall_nr_ioprio_get = syscall_nr_base+315; + syscall_nr_inotify_init = syscall_nr_base+316; + syscall_nr_inotify_add_watch = syscall_nr_base+317; + syscall_nr_inotify_rm_watch = syscall_nr_base+318; + syscall_nr_mbind = syscall_nr_base+319; + syscall_nr_get_mempolicy = syscall_nr_base+320; + syscall_nr_set_mempolicy = syscall_nr_base+321; + syscall_nr_openat = syscall_nr_base+322; + syscall_nr_mkdirat = syscall_nr_base+323; + syscall_nr_mknodat = syscall_nr_base+324; + syscall_nr_fchownat = syscall_nr_base+325; + syscall_nr_futimesat = syscall_nr_base+326; + syscall_nr_fstatat64 = syscall_nr_base+327; + syscall_nr_unlinkat = syscall_nr_base+328; + syscall_nr_renameat = syscall_nr_base+329; + syscall_nr_linkat = syscall_nr_base+330; + syscall_nr_symlinkat = syscall_nr_base+331; + syscall_nr_readlinkat = syscall_nr_base+332; + syscall_nr_fchmodat = syscall_nr_base+333; + syscall_nr_faccessat = syscall_nr_base+334; {* 335 for pselect6 *} {* 336 for ppoll *} - syscall_unshare = syscall_nr_base+337; - syscall_set_robust_list = syscall_nr_base+338; - syscall_get_robust_list = syscall_nr_base+339; - syscall_splice = syscall_nr_base+340; - syscall_arm_sync_file_range = syscall_nr_base+341; - syscall_sync_file_range2 = syscall_arm_sync_file_range; - syscall_tee = syscall_nr_base+342; - syscall_vmsplice = syscall_nr_base+343; - syscall_move_pages = syscall_nr_base+344; - syscall_getcpu = syscall_nr_base+345; + syscall_nr_unshare = syscall_nr_base+337; + syscall_nr_set_robust_list = syscall_nr_base+338; + syscall_nr_get_robust_list = syscall_nr_base+339; + syscall_nr_splice = syscall_nr_base+340; + syscall_nr_arm_sync_file_range = syscall_nr_base+341; + syscall_nr_sync_file_range2 = syscall_nr_arm_sync_file_range; + syscall_nr_tee = syscall_nr_base+342; + syscall_nr_vmsplice = syscall_nr_base+343; + syscall_nr_move_pages = syscall_nr_base+344; + syscall_nr_getcpu = syscall_nr_base+345; {* 346 for epoll_pwait *} - syscall_kexec_load = syscall_nr_base+347; - syscall_utimensat = syscall_nr_base+348; - syscall_signalfd = syscall_nr_base+349; - syscall_timerfd_create = syscall_nr_base+350; - syscall_eventfd = syscall_nr_base+351; - syscall_fallocate = syscall_nr_base+352; - syscall_timerfd_settime = syscall_nr_base+353; - syscall_timerfd_gettime = syscall_nr_base+354; - syscall_signalfd4 = syscall_nr_base+355; - syscall_eventfd2 = syscall_nr_base+356; - syscall_epoll_create1 = syscall_nr_base+357; - syscall_dup3 = syscall_nr_base+358; - syscall_pipe2 = syscall_nr_base+359; - syscall_inotify_init1 = syscall_nr_base+360; + syscall_nr_kexec_load = syscall_nr_base+347; + syscall_nr_utimensat = syscall_nr_base+348; + syscall_nr_signalfd = syscall_nr_base+349; + syscall_nr_timerfd_create = syscall_nr_base+350; + syscall_nr_eventfd = syscall_nr_base+351; + syscall_nr_fallocate = syscall_nr_base+352; + syscall_nr_timerfd_settime = syscall_nr_base+353; + syscall_nr_timerfd_gettime = syscall_nr_base+354; + syscall_nr_signalfd4 = syscall_nr_base+355; + syscall_nr_eventfd2 = syscall_nr_base+356; + syscall_nr_epoll_create1 = syscall_nr_base+357; + syscall_nr_dup3 = syscall_nr_base+358; + syscall_nr_pipe2 = syscall_nr_base+359; + syscall_nr_inotify_init1 = syscall_nr_base+360; {* * The following SWIs are ARM private. diff --git a/rtl/linux/x86_64/sysnr.inc b/rtl/linux/x86_64/sysnr.inc index 9437676194..c3006ea9dc 100644 --- a/rtl/linux/x86_64/sysnr.inc +++ b/rtl/linux/x86_64/sysnr.inc @@ -316,28 +316,28 @@ const syscall_nr_inotify_add_watch = 254; syscall_nr_inotify_rm_watch = 255; - syscall_migrate_pages = 256; - syscall_openat = 257; - syscall_mkdirat = 258; - syscall_mknodat = 259; - syscall_fchownat = 260; - syscall_futimesat = 261; - syscall_newfstatat = 262; - syscall_unlinkat = 263; - syscall_renameat = 264; - syscall_linkat = 265; - syscall_symlinkat = 266; - syscall_readlinkat = 267; - syscall_fchmodat = 268; - syscall_faccessat = 269; - syscall_pselect6 = 270; - syscall_ppoll = 271; - syscall_unshare = 272; - syscall_set_robust_list = 273; - syscall_get_robust_list = 274; - syscall_splice = 275; - syscall_tee = 276; - syscall_sync_file_range = 277; - syscall_vmsplice = 278; - syscall_move_pages = 279; + syscall_nr_migrate_pages = 256; + syscall_nr_openat = 257; + syscall_nr_mkdirat = 258; + syscall_nr_mknodat = 259; + syscall_nr_fchownat = 260; + syscall_nr_futimesat = 261; + syscall_nr_newfstatat = 262; + syscall_nr_unlinkat = 263; + syscall_nr_renameat = 264; + syscall_nr_linkat = 265; + syscall_nr_symlinkat = 266; + syscall_nr_readlinkat = 267; + syscall_nr_fchmodat = 268; + syscall_nr_faccessat = 269; + syscall_nr_pselect6 = 270; + syscall_nr_ppoll = 271; + syscall_nr_unshare = 272; + syscall_nr_set_robust_list = 273; + syscall_nr_get_robust_list = 274; + syscall_nr_splice = 275; + syscall_nr_tee = 276; + syscall_nr_sync_file_range = 277; + syscall_nr_vmsplice = 278; + syscall_nr_move_pages = 279;