From nobody Mon Jun 27 20:57:43 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3B7B087CEC4; Mon, 27 Jun 2022 20:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LX0RX1C4Cz4Vm0; Mon, 27 Jun 2022 20:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656363464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lSluc2V0p3vSEK7eETxdg35O60fRBLzQLjWPNHzAym0=; b=b0rIUxMf+m4DCEcF9zkFDE4WxtkTPDzKL9lN/OG6Q8nE/0IrOiu5G8bXLNz0xvjuL+242h ZhBwWIy9XsvobvNtRzEXs69oy4YQYk7ePB3J8OREkI2tvGZjzQlLRbiuxAt7T2y3koKvjf blBCBF2IE+B93W4Elx7uu77Vii+92qnb/t0Zv80Gh4if+Br2An3XVXxR4CDikCBfHh8g86 XbcG+P9oR0an1ix9RT1pc/ZJrlc1oGCI01FCqTwBiKjIhdZmqsJOMmqTreEw1wjIYU8iuS rac4BXJJU6eqLwn6XmAh7SIj7/5b+MdNJ5WVwWdI6TgEfZ6KCLiSGskpDUF/lQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 095317B00; Mon, 27 Jun 2022 20:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25RKvhF2029156; Mon, 27 Jun 2022 20:57:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25RKvhnq029155; Mon, 27 Jun 2022 20:57:43 GMT (envelope-from git) Date: Mon, 27 Jun 2022 20:57:43 GMT Message-Id: <202206272057.25RKvhnq029155@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: ce3e4a3a96d9 - main - kboot: Sort system calls alphabetically List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ce3e4a3a96d951b4fcf231e8680935c01f1cc3e6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656363464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lSluc2V0p3vSEK7eETxdg35O60fRBLzQLjWPNHzAym0=; b=Hd4635TpRGNBD9LBwZnQb6rUFs/JzvzEjuUjz9ZxAO+xoK1J7ZVoYBfNcaZLGPooXRcMlp sbdMcCFRaWbfI9hCOo+ZN9j9ylrrJuKwizGzKxaTuVszDp4P8pDRynUpDwBPzXn6fE3B3t jHgENj1lt4kOgKYr1i5K1brC+hJFD6iN3wOhkRqq8BeMG7xiMXKBEPulXML8+njoBvc1Qt X86qbMg5kOf7vOuXcQ0X/21kLVzk7ANRgxjuVMW/GrIWrGp4C8WtrdmIzqI3Gk6AP8Lby7 5g+rnjkcBS+XwVCA8cHe43N5vpugqW5+7v4PSWmBlqdxrvg1CEA+Ef5lhriYzQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656363464; a=rsa-sha256; cv=none; b=gyWyKgGf6xCIjiFgV7QC/ExqgP2olb8OritLXNQnCfI+EytcOz6rY06mQxSLn37V54u2Gr J3Fb8v3d3yThCiy64gCbZennxwNNoCbTEs3/FBxeEv2FWKr4NV5iVBxbg103MCEbK3Xtwd iOAoB4cGHXKZ7Fj1N0wSB6DHXrG/uW8UxGdw2xAUqMybLmW1De3VmyrPHdmhWCfmtNYFOL cpXwj0htC5nG/Yop42//OMVO77Klt9ww9dk5+z+UNxUN10qKRVr33D+qcjoLSZx+hBf6jZ rtMKh3E91sDaWtOuka0p3QRCP3bY5W+5Y9aFkDQ07WQqpJkirDTzMnoo+xfnzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ce3e4a3a96d951b4fcf231e8680935c01f1cc3e6 commit ce3e4a3a96d951b4fcf231e8680935c01f1cc3e6 Author: Warner Losh AuthorDate: 2022-06-13 17:28:31 +0000 Commit: Warner Losh CommitDate: 2022-06-27 20:54:45 +0000 kboot: Sort system calls alphabetically No functional change: sort the system calls alphbetically to make it easier to add new ones. Sponsored by: Netflix --- stand/kboot/arch/amd64/syscall_nr.h | 14 +++++++------- stand/kboot/arch/powerpc64/syscall_nr.h | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/stand/kboot/arch/amd64/syscall_nr.h b/stand/kboot/arch/amd64/syscall_nr.h index 193368364bf3..412fed5001b9 100644 --- a/stand/kboot/arch/amd64/syscall_nr.h +++ b/stand/kboot/arch/amd64/syscall_nr.h @@ -1,14 +1,14 @@ -#define SYS_read 0 -#define SYS_write 1 -#define SYS_open 2 #define SYS_close 3 +#define SYS_getdents 78 #define SYS_gettimeofday 96 -#define SYS_reboot 169 -#define SYS_mmap 9 -#define SYS_uname 63 #define SYS_lseek 8 -#define SYS_getdents 78 +#define SYS_mmap 9 +#define SYS_open 2 +#define SYS_read 0 +#define SYS_reboot 169 #define SYS_select 23 +#define SYS_uname 63 +#define SYS_write 1 #define __NR_kexec_load 246 #define KEXEC_ARCH_X86_64 62 diff --git a/stand/kboot/arch/powerpc64/syscall_nr.h b/stand/kboot/arch/powerpc64/syscall_nr.h index 2854124153a2..1b24ec6165f7 100644 --- a/stand/kboot/arch/powerpc64/syscall_nr.h +++ b/stand/kboot/arch/powerpc64/syscall_nr.h @@ -1,14 +1,14 @@ -#define SYS_read 3 -#define SYS_write 4 -#define SYS_open 5 #define SYS_close 6 +#define SYS_getdents 141 #define SYS_gettimeofday 78 -#define SYS_reboot 88 -#define SYS_mmap 90 -#define SYS_uname 120 #define SYS_llseek 140 -#define SYS_getdents 141 +#define SYS_mmap 90 +#define SYS_open 5 +#define SYS_read 3 +#define SYS_reboot 88 #define SYS_select 142 +#define SYS_uname 120 +#define SYS_write 4 #define __NR_kexec_load 268 #define KEXEC_ARCH_PPC64 21