From nobody Wed Feb 14 03:53:51 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 4TZPSc1sw7z59qMx; Wed, 14 Feb 2024 03:53:52 +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 4TZPSc0C3pz46Th; Wed, 14 Feb 2024 03:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707882832; 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=rR0WU7eX0P0H+sga7UJyZzIG1Ly1jxxbmEcSbU2IsRc=; b=GV3p4wGtIjky1gQ48Xeg0w4xDOluCn/Gd7rfT5CgXEre/lX6XZEbY3biM0f0ZeYQ/D2NXv ZlEcDRhTmZc1GzLfpqyZq37vhzGDw2dWltG5u+9wgLw+EOk67SGUNkX5W0YqM19da4Qs6R XiKnTukAVUibtvOeR97+O+qNH0nFsHPChvIlhuD2jJhTXs7lvwSZJ3VbX27qiTcTpHvPOu JPcUEQQUa4ZgdY7aypmpZy51+jmloKrwW7JBngiV+vOGk/eMk/dreXOF6uLaV9CUa95tH+ +LSObjodiYgxkaVQHTKbIP0FuWoTQFv2MiHN5VwGHfBI0D0lmrwhyYnJXkxgTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707882832; a=rsa-sha256; cv=none; b=JOAYpY8ZCThecYzE/WMQ3MuGFcwSWeJdlTpEkVOc+KR5o6Chfvpk4nON/R+nGYYCuc5K8y eBRVDQ3qEtL2VDDfBjKrLIZDKe01guGJNejVQDxujvRnVmzawRlXyqRZLpIwYopTla1kYD VDi49ieawG1JLjTBJjlQBcPjthEAlRFIoLNVLaOuEyDEtTB+iVa5zd7dE4Mdx5lux0yHFw XEadta4x7M1w94DbLk8bPlQfyao3rAD3WJLAWMtYIjpsNSTfZAMaRC4RmL+09wpDA2JyQy l6aixsqWuq1tiVzyCEfGidOWuj0yL5pNcqkZOlDqt0WR3nKwgQUAkLIft9HxKA== 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=1707882832; 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=rR0WU7eX0P0H+sga7UJyZzIG1Ly1jxxbmEcSbU2IsRc=; b=wD/9tniXr5u2QqIjfxwCS62F/uurvq2ysBqhcSYxtZRyvrzDPZ99cfyq0aANrueIty/XS2 jw5jqScCORlrNwe30j11h1j957n940MwxznURyI3RW4w4JbjVnMSJnEVjXtYCD85HQ9T4/ NGE32wmjao5usNAEOA/rhdKC2OFvvv8YDPXpC/VEgm4yaQPqwXd1eLG0QF6aPpV7TXdOe4 yh7DuLeC0gMdAPKo440RwphM9VbGYnIfjQuQAhtacnF+XXqRscv1nd+O4fQkFnsvM1t6MD RjVvnfT1EZQStkd11cNJfhImcGUp4NIofp5QAsn7vzdpWzUHunX96795DIhanQ== 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 4TZPSb6QdbzjVb; Wed, 14 Feb 2024 03:53:51 +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 41E3rpl7064738; Wed, 14 Feb 2024 03:53:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41E3rpRJ064735; Wed, 14 Feb 2024 03:53:51 GMT (envelope-from git) Date: Wed, 14 Feb 2024 03:53:51 GMT Message-Id: <202402140353.41E3rpRJ064735@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: 1f7c8f047f8b - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 1f7c8f047f8bdf67fc13ba9cdd05b7ace8790d37 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1f7c8f047f8bdf67fc13ba9cdd05b7ace8790d37 commit 1f7c8f047f8bdf67fc13ba9cdd05b7ace8790d37 Author: Konstantin Belousov AuthorDate: 2024-02-09 05:05:02 +0000 Commit: Konstantin Belousov CommitDate: 2024-02-14 03:42:40 +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;