From nobody Wed Feb 14 04:05:38 2024 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 4TZPkC1CcFz59rXl; Wed, 14 Feb 2024 04:05:39 +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 4TZPkC0bP8z49qb; Wed, 14 Feb 2024 04:05:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707883539; 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=pMT5X3wIy08irtLb6k6tDe9RkTlXJcm/Gc3ATIWoB9I=; b=ohJBU+3beFW66n4sRMcFaaLv5AW+RPCUFYRvpY9xMrTNBZ7ZgigwoHi+e/hgZcyAKvPn5t 0/O605KbuJswP5/quKM6aktY2BO9JLGhlEkcMRV6esN9HR7VMPgZu6fDZNWYFiBSUvFomc aOXwXYuI9/JGVRhKfEW/KwyrPKoQJXQGSQtXrtjc4n2blWHyQBldU6RU2yMbnmlazL/CwM czFHR4DKPZT90QHDalHKGtgyY1cqV2PXxkAWaq+bWr/Ik7RdWCIfH1QvbJiuhAmUOBuLFN knbZHzg8dubUD3zGJNyshpOgq2Sw31dg7J49EkP7Eb15xj7VJ1LWo9t7yOBa9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707883539; a=rsa-sha256; cv=none; b=Pn6ibJka4V3RzQhNUJDsgG1SuTTIQDzWQlkCk2waUoQnOxuZ1yUk0fNuWXff5nLaGTeOWJ Z1Bi9zZDwZA0Oi9VtDZuEe0M/9Rtc1wspv+3GXDc2EM1jH9WpfT3QySC7l44HLSUjoP2XJ 1e2X5NDeh8/RVm0eNsQDHMgz78jJL8o/Pn0kzIZoj7E2oXS5+CrJORXKqd59Q/PlDOpJgK 2sbSQM31dYuO8WPh/5+E9WmvmQbSuF7C1L76/WSMgUL7ooKyF1ZRSTgg6LdoZSeHZuKKvr BB+CLOq7DH4x2+plwIyaO5e4Tw/d4XqAuDaKZi6yeM2BRxBGegNpXep87QdkjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707883539; 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=pMT5X3wIy08irtLb6k6tDe9RkTlXJcm/Gc3ATIWoB9I=; b=SxbCLsQk7IePsyvPGgxaad78EwX0ki6xzkYVkjvJ/uzW23/DmG9QA+YdYWROX0YNPOlLl6 k30Vz+hZnQr/9oTI0wjsQikKCY6AwKcVHIy7Keq5hJkdVyobslS8nHHF3Vx6bZrv63L6nn spNgtWUn/MTfKHhlkAouTqiZJXBWUXHYibG1ZlTuBaHQ7rzPuT3S2rAgEnOScQLNqDBkj5 89tUIzEOigNW9y6hoJGe+Anh545cy3odHCstx5YsilhFcwEIIv21Y0aRHT7N4Y3uRUq+fE MnXZriz5xtaZgQG+ZbDyg9/Tu9TKUsUkvFBIlQQfDMms9coqBlgoIQ5F6kSV1A== 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 4TZPkB6pZ1zkBC; Wed, 14 Feb 2024 04:05:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41E45c2K082560; Wed, 14 Feb 2024 04:05:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41E45cmh082557; Wed, 14 Feb 2024 04:05:38 GMT (envelope-from git) Date: Wed, 14 Feb 2024 04:05:38 GMT Message-Id: <202402140405.41E45cmh082557@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 391d212c42cf - stable/13 - amd64 pcb.h: use 4 hex digits for pcb flags 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 391d212c42cf2a64639425126c48bb6edbbbcdcf Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=391d212c42cf2a64639425126c48bb6edbbbcdcf commit 391d212c42cf2a64639425126c48bb6edbbbcdcf Author: Konstantin Belousov AuthorDate: 2024-02-09 05:05:02 +0000 Commit: Konstantin Belousov CommitDate: 2024-02-14 03:54:00 +0000 amd64 pcb.h: use 4 hex digits for pcb flags (cherry picked from commit 5f7ac491eef4994b23b4de250927a85c69a64a31) --- sys/amd64/include/pcb.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h index f98e5f68dd96..2205607fa6fe 100644 --- a/sys/amd64/include/pcb.h +++ b/sys/amd64/include/pcb.h @@ -78,14 +78,14 @@ struct pcb { uint16_t pcb_tr; u_int pcb_flags; -#define PCB_FULL_IRET 0x01 /* full iret is required */ -#define PCB_DBREGS 0x02 /* process using debug registers */ -#define PCB_KERNFPU 0x04 /* kernel uses fpu */ -#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */ -#define PCB_USERFPUINITDONE 0x10 /* fpu user state is initialized */ -#define PCB_KERNFPU_THR 0x20 /* fpu_kern_thread() */ -#define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */ -#define PCB_FPUNOSAVE 0x80 /* no save area for current FPU ctx */ +#define PCB_FULL_IRET 0x0001 /* full iret is required */ +#define PCB_DBREGS 0x0002 /* process using debug registers */ +#define PCB_KERNFPU 0x0004 /* kernel uses fpu */ +#define PCB_FPUINITDONE 0x0008 /* fpu state is initialized */ +#define PCB_USERFPUINITDONE 0x0010 /* fpu user state is initialized */ +#define PCB_KERNFPU_THR 0x0020 /* fpu_kern_thread() */ +#define PCB_32BIT 0x0040 /* process has 32 bit context (segs etc) */ +#define PCB_FPUNOSAVE 0x0080 /* no save area for current FPU ctx */ uint16_t pcb_initial_fpucw;