Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/954133/?format=api
{ "id": 954133, "url": "http://patchwork.ozlabs.org/api/patches/954133/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1533574847-19294-63-git-send-email-aleksandar.markovic@rt-rk.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1533574847-19294-63-git-send-email-aleksandar.markovic@rt-rk.com>", "list_archive_url": null, "date": "2018-08-06T17:00:29", "name": "[v7,62/80] linux-user: Add syscall numbers for nanoMIPS", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0af89a3c9026e8613ae9170274004d13f3e7bccb", "submitter": { "id": 68635, "url": "http://patchwork.ozlabs.org/api/people/68635/?format=api", "name": "Aleksandar Markovic", "email": "aleksandar.markovic@rt-rk.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1533574847-19294-63-git-send-email-aleksandar.markovic@rt-rk.com/mbox/", "series": [ { "id": 59520, "url": "http://patchwork.ozlabs.org/api/series/59520/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=59520", "date": "2018-08-06T16:59:27", "name": "Add nanoMIPS support to QEMU", "version": 7, "mbox": "http://patchwork.ozlabs.org/series/59520/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/954133/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/954133/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=rt-rk.com" ], "Received": [ "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 41klxf08rlz9s0R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 7 Aug 2018 04:08:06 +1000 (AEST)", "from localhost ([::1]:35556 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1fmjvH-0003QS-Mg\n\tfor incoming@patchwork.ozlabs.org; Mon, 06 Aug 2018 14:08:03 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:41867)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <aleksandar.markovic@rt-rk.com>) id 1fmjGx-00081j-7q\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:26:24 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <aleksandar.markovic@rt-rk.com>) id 1fmjGt-0002Wn-Oy\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:26:23 -0400", "from mx2.rt-rk.com ([89.216.37.149]:46595 helo=mail.rt-rk.com)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <aleksandar.markovic@rt-rk.com>)\n\tid 1fmjGt-0002VT-BW\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:26:19 -0400", "from localhost (localhost [127.0.0.1])\n\tby mail.rt-rk.com (Postfix) with ESMTP id 002FC1A2126;\n\tMon, 6 Aug 2018 19:26:18 +0200 (CEST)", "from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local\n\t[10.10.13.43])\n\tby mail.rt-rk.com (Postfix) with ESMTPSA id CCC7A1A2036;\n\tMon, 6 Aug 2018 19:26:17 +0200 (CEST)" ], "X-Virus-Scanned": "amavisd-new at rt-rk.com", "From": "Aleksandar Markovic <aleksandar.markovic@rt-rk.com>", "To": "qemu-devel@nongnu.org", "Date": "Mon, 6 Aug 2018 19:00:29 +0200", "Message-Id": "<1533574847-19294-63-git-send-email-aleksandar.markovic@rt-rk.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1533574847-19294-1-git-send-email-aleksandar.markovic@rt-rk.com>", "References": "<1533574847-19294-1-git-send-email-aleksandar.markovic@rt-rk.com>", "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 3.x [fuzzy]", "X-Received-From": "89.216.37.149", "Subject": "[Qemu-devel] [PATCH v7 62/80] linux-user: Add syscall numbers for\n\tnanoMIPS", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Cc": "peter.maydell@linaro.org, thuth@redhat.com, pburton@wavecomp.com,\n\tsmarkovic@wavecomp.com, riku.voipio@iki.fi,\n\trichard.henderson@linaro.org, laurent@vivier.eu,\n\tarmbru@redhat.com, arikalo@wavecomp.com,\n\tphilippe.mathieu.daude@gmail.com, amarkovic@wavecomp.com,\n\tpjovanovic@wavecomp.com, aurelien@aurel32.net", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>" }, "content": "From: Aleksandar Rikalo <arikalo@wavecomp.com>\n\nAdd syscall numbers for nanoMIPS. nanoMIPS redefines its ABI\ncompared to preceding MIPS architectures, and its set of\nsupported system calls is significantly different.\n\nSigned-off-by: Aleksandar Rikalo <arikalo@wavecomp.com>\nSigned-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>\nSigned-off-by: Stefan Markovic <smarkovic@wavecomp.com>\n---\n linux-user/nanomips/syscall_nr.h | 275 +++++++++++++++++++++++++++++++++++++++\n 1 file changed, 275 insertions(+)\n create mode 100644 linux-user/nanomips/syscall_nr.h", "diff": "diff --git a/linux-user/nanomips/syscall_nr.h b/linux-user/nanomips/syscall_nr.h\nnew file mode 100644\nindex 0000000..b826e5c\n--- /dev/null\n+++ b/linux-user/nanomips/syscall_nr.h\n@@ -0,0 +1,275 @@\n+/*\n+ * Linux mipsp32 style syscalls.\n+ */\n+#define TARGET_NR_io_setup 0\n+#define TARGET_NR_io_destroy 1\n+#define TARGET_NR_io_submit 2\n+#define TARGET_NR_io_cancel 3\n+#define TARGET_NR_io_getevents 4\n+#define TARGET_NR_setxattr 5\n+#define TARGET_NR_lsetxattr 6\n+#define TARGET_NR_fsetxattr 7\n+#define TARGET_NR_getxattr 8\n+#define TARGET_NR_lgetxattr 9\n+#define TARGET_NR_fgetxattr 10\n+#define TARGET_NR_listxattr 11\n+#define TARGET_NR_llistxattr 12\n+#define TARGET_NR_flistxattr 13\n+#define TARGET_NR_removexattr 14\n+#define TARGET_NR_lremovexattr 15\n+#define TARGET_NR_fremovexattr 16\n+#define TARGET_NR_getcwd 17\n+#define TARGET_NR_lookup_dcookie 18\n+#define TARGET_NR_eventfd2 19\n+#define TARGET_NR_epoll_create1 20\n+#define TARGET_NR_epoll_ctl 21\n+#define TARGET_NR_epoll_pwait 22\n+#define TARGET_NR_dup 23\n+#define TARGET_NR_dup3 24\n+#define TARGET_NR_fcntl64 25\n+#define TARGET_NR_inotify_init1 26\n+#define TARGET_NR_inotify_add_watch 27\n+#define TARGET_NR_inotify_rm_watch 28\n+#define TARGET_NR_ioctl 29\n+#define TARGET_NR_ioprio_set 30\n+#define TARGET_NR_ioprio_get 31\n+#define TARGET_NR_flock 32\n+#define TARGET_NR_mknodat 33\n+#define TARGET_NR_mkdirat 34\n+#define TARGET_NR_unlinkat 35\n+#define TARGET_NR_symlinkat 36\n+#define TARGET_NR_linkat 37\n+#define TARGET_NR_umount2 39\n+#define TARGET_NR_mount 40\n+#define TARGET_NR_pivot_root 41\n+#define TARGET_NR_nfsservctl 42\n+#define TARGET_NR_statfs64 43\n+#define TARGET_NR_fstatfs64 44\n+#define TARGET_NR_truncate64 45\n+#define TARGET_NR_ftruncate64 46\n+#define TARGET_NR_fallocate 47\n+#define TARGET_NR_faccessat 48\n+#define TARGET_NR_chdir 49\n+#define TARGET_NR_fchdir 50\n+#define TARGET_NR_chroot 51\n+#define TARGET_NR_fchmod 52\n+#define TARGET_NR_fchmodat 53\n+#define TARGET_NR_fchownat 54\n+#define TARGET_NR_fchown 55\n+#define TARGET_NR_openat 56\n+#define TARGET_NR_close 57\n+#define TARGET_NR_vhangup 58\n+#define TARGET_NR_pipe2 59\n+#define TARGET_NR_quotactl 60\n+#define TARGET_NR_getdents64 61\n+#define TARGET_NR__llseek 62\n+#define TARGET_NR_read 63\n+#define TARGET_NR_write 64\n+#define TARGET_NR_readv 65\n+#define TARGET_NR_writev 66\n+#define TARGET_NR_pread64 67\n+#define TARGET_NR_pwrite64 68\n+#define TARGET_NR_preadv 69\n+#define TARGET_NR_pwritev 70\n+#define TARGET_NR_sendfile64 71\n+#define TARGET_NR_pselect6 72\n+#define TARGET_NR_ppoll 73\n+#define TARGET_NR_signalfd4 74\n+#define TARGET_NR_vmsplice 75\n+#define TARGET_NR_splice 76\n+#define TARGET_NR_tee 77\n+#define TARGET_NR_readlinkat 78\n+#define TARGET_NR_sync 81\n+#define TARGET_NR_fsync 82\n+#define TARGET_NR_fdatasync 83\n+#define TARGET_NR_sync_file_range2 84\n+#define TARGET_NR_timerfd_create 85\n+#define TARGET_NR_timerfd_settime 86\n+#define TARGET_NR_timerfd_gettime 87\n+#define TARGET_NR_utimensat 88\n+#define TARGET_NR_acct 89\n+#define TARGET_NR_capget 90\n+#define TARGET_NR_capset 91\n+#define TARGET_NR_personality 92\n+#define TARGET_NR_exit 93\n+#define TARGET_NR_exit_group 94\n+#define TARGET_NR_waitid 95\n+#define TARGET_NR_set_tid_address 96\n+#define TARGET_NR_unshare 97\n+#define TARGET_NR_futex 98\n+#define TARGET_NR_set_robust_list 99\n+#define TARGET_NR_get_robust_list 100\n+#define TARGET_NR_nanosleep 101\n+#define TARGET_NR_getitimer 102\n+#define TARGET_NR_setitimer 103\n+#define TARGET_NR_kexec_load 104\n+#define TARGET_NR_init_module 105\n+#define TARGET_NR_delete_module 106\n+#define TARGET_NR_timer_create 107\n+#define TARGET_NR_timer_gettime 108\n+#define TARGET_NR_timer_getoverrun 109\n+#define TARGET_NR_timer_settime 110\n+#define TARGET_NR_timer_delete 111\n+#define TARGET_NR_clock_settime 112\n+#define TARGET_NR_clock_gettime 113\n+#define TARGET_NR_clock_getres 114\n+#define TARGET_NR_clock_nanosleep 115\n+#define TARGET_NR_syslog 116\n+#define TARGET_NR_ptrace 117\n+#define TARGET_NR_sched_setparam 118\n+#define TARGET_NR_sched_setscheduler 119\n+#define TARGET_NR_sched_getscheduler 120\n+#define TARGET_NR_sched_getparam 121\n+#define TARGET_NR_sched_setaffinity 122\n+#define TARGET_NR_sched_getaffinity 123\n+#define TARGET_NR_sched_yield 124\n+#define TARGET_NR_sched_get_priority_max 125\n+#define TARGET_NR_sched_get_priority_min 126\n+#define TARGET_NR_sched_rr_get_interval 127\n+#define TARGET_NR_restart_syscall 128\n+#define TARGET_NR_kill 129\n+#define TARGET_NR_tkill 130\n+#define TARGET_NR_tgkill 131\n+#define TARGET_NR_sigaltstack 132\n+#define TARGET_NR_rt_sigsuspend 133\n+#define TARGET_NR_rt_sigaction 134\n+#define TARGET_NR_rt_sigprocmask 135\n+#define TARGET_NR_rt_sigpending 136\n+#define TARGET_NR_rt_sigtimedwait 137\n+#define TARGET_NR_rt_sigqueueinfo 138\n+#define TARGET_NR_rt_sigreturn 139\n+#define TARGET_NR_setpriority 140\n+#define TARGET_NR_getpriority 141\n+#define TARGET_NR_reboot 142\n+#define TARGET_NR_setregid 143\n+#define TARGET_NR_setgid 144\n+#define TARGET_NR_setreuid 145\n+#define TARGET_NR_setuid 146\n+#define TARGET_NR_setresuid 147\n+#define TARGET_NR_getresuid 148\n+#define TARGET_NR_setresgid 149\n+#define TARGET_NR_getresgid 150\n+#define TARGET_NR_setfsuid 151\n+#define TARGET_NR_setfsgid 152\n+#define TARGET_NR_times 153\n+#define TARGET_NR_setpgid 154\n+#define TARGET_NR_getpgid 155\n+#define TARGET_NR_getsid 156\n+#define TARGET_NR_setsid 157\n+#define TARGET_NR_getgroups 158\n+#define TARGET_NR_setgroups 159\n+#define TARGET_NR_uname 160\n+#define TARGET_NR_sethostname 161\n+#define TARGET_NR_setdomainname 162\n+#define TARGET_NR_getrusage 165\n+#define TARGET_NR_umask 166\n+#define TARGET_NR_prctl 167\n+#define TARGET_NR_getcpu 168\n+#define TARGET_NR_gettimeofday 169\n+#define TARGET_NR_settimeofday 170\n+#define TARGET_NR_adjtimex 171\n+#define TARGET_NR_getpid 172\n+#define TARGET_NR_getppid 173\n+#define TARGET_NR_getuid 174\n+#define TARGET_NR_geteuid 175\n+#define TARGET_NR_getgid 176\n+#define TARGET_NR_getegid 177\n+#define TARGET_NR_gettid 178\n+#define TARGET_NR_sysinfo 179\n+#define TARGET_NR_mq_open 180\n+#define TARGET_NR_mq_unlink 181\n+#define TARGET_NR_mq_timedsend 182\n+#define TARGET_NR_mq_timedreceive 183\n+#define TARGET_NR_mq_notify 184\n+#define TARGET_NR_mq_getsetattr 185\n+#define TARGET_NR_msgget 186\n+#define TARGET_NR_msgctl 187\n+#define TARGET_NR_msgrcv 188\n+#define TARGET_NR_msgsnd 189\n+#define TARGET_NR_semget 190\n+#define TARGET_NR_semctl 191\n+#define TARGET_NR_semtimedop 192\n+#define TARGET_NR_semop 193\n+#define TARGET_NR_shmget 194\n+#define TARGET_NR_shmctl 195\n+#define TARGET_NR_shmat 196\n+#define TARGET_NR_shmdt 197\n+#define TARGET_NR_socket 198\n+#define TARGET_NR_socketpair 199\n+#define TARGET_NR_bind 200\n+#define TARGET_NR_listen 201\n+#define TARGET_NR_accept 202\n+#define TARGET_NR_connect 203\n+#define TARGET_NR_getsockname 204\n+#define TARGET_NR_getpeername 205\n+#define TARGET_NR_sendto 206\n+#define TARGET_NR_recvfrom 207\n+#define TARGET_NR_setsockopt 208\n+#define TARGET_NR_getsockopt 209\n+#define TARGET_NR_shutdown 210\n+#define TARGET_NR_sendmsg 211\n+#define TARGET_NR_recvmsg 212\n+#define TARGET_NR_readahead 213\n+#define TARGET_NR_brk 214\n+#define TARGET_NR_munmap 215\n+#define TARGET_NR_mremap 216\n+#define TARGET_NR_add_key 217\n+#define TARGET_NR_request_key 218\n+#define TARGET_NR_keyctl 219\n+#define TARGET_NR_clone 220\n+#define TARGET_NR_execve 221\n+#define TARGET_NR_mmap2 222\n+#define TARGET_NR_fadvise64_64 223\n+#define TARGET_NR_swapon 224\n+#define TARGET_NR_swapoff 225\n+#define TARGET_NR_mprotect 226\n+#define TARGET_NR_msync 227\n+#define TARGET_NR_mlock 228\n+#define TARGET_NR_munlock 229\n+#define TARGET_NR_mlockall 230\n+#define TARGET_NR_munlockall 231\n+#define TARGET_NR_mincore 232\n+#define TARGET_NR_madvise 233\n+#define TARGET_NR_remap_file_pages 234\n+#define TARGET_NR_mbind 235\n+#define TARGET_NR_get_mempolicy 236\n+#define TARGET_NR_set_mempolicy 237\n+#define TARGET_NR_migrate_pages 238\n+#define TARGET_NR_move_pages 239\n+#define TARGET_NR_rt_tgsigqueueinfo 240\n+#define TARGET_NR_perf_event_open 241\n+#define TARGET_NR_accept4 242\n+#define TARGET_NR_recvmmsg 243\n+#define TARGET_NR_set_thread_area 244\n+#define TARGET_NR_wait4 260\n+#define TARGET_NR_prlimit64 261\n+#define TARGET_NR_fanotify_init 262\n+#define TARGET_NR_fanotify_mark 263\n+#define TARGET_NR_name_to_handle_at 264\n+#define TARGET_NR_open_by_handle_at 265\n+#define TARGET_NR_clock_adjtime 266\n+#define TARGET_NR_syncfs 267\n+#define TARGET_NR_setns 268\n+#define TARGET_NR_sendmmsg 269\n+#define TARGET_NR_process_vm_readv 270\n+#define TARGET_NR_process_vm_writev 271\n+#define TARGET_NR_kcmp 272\n+#define TARGET_NR_finit_module 273\n+#define TARGET_NR_sched_setattr 274\n+#define TARGET_NR_sched_getattr 275\n+#define TARGET_NR_renameat2 276\n+#define TARGET_NR_seccomp 277\n+#define TARGET_NR_getrandom 278\n+#define TARGET_NR_memfd_create 279\n+#define TARGET_NR_bpf 280\n+#define TARGET_NR_execveat 281\n+#define TARGET_NR_userfaultfd 282\n+#define TARGET_NR_membarrier 283\n+#define TARGET_NR_mlock2 284\n+#define TARGET_NR_copy_file_range 285\n+#define TARGET_NR_preadv2 286\n+#define TARGET_NR_pwritev2 287\n+#define TARGET_NR_pkey_mprotect 288\n+#define TARGET_NR_pkey_alloc 289\n+#define TARGET_NR_pkey_free 290\n+#define TARGET_NR_statx 291\n", "prefixes": [ "v7", "62/80" ] }