From nobody Mon Dec 06 15:56:25 2021 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 052F618C5A27; Mon, 6 Dec 2021 15:56:30 +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 4J77Mb1pzFz4bVb; Mon, 6 Dec 2021 15:56:27 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 AE4116460; Mon, 6 Dec 2021 15:56:25 +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 1B6FuPl1033511; Mon, 6 Dec 2021 15:56:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6FuPuU033510; Mon, 6 Dec 2021 15:56:25 GMT (envelope-from git) Date: Mon, 6 Dec 2021 15:56:25 GMT Message-Id: <202112061556.1B6FuPuU033510@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 59ad98cc3f55 - stable/13 - arm: Make machine/reg.h self-contained 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 59ad98cc3f55dbf4f202f4ab1189f16ee8ca2042 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638806188; 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=kdmFBHM1uwEue00kI0fG+uQM/5ZjRVyRfy6TWhtg8pY=; b=V4ub/6H2ORzeUmS29UgcdNq2dSnKkX3WM2LmzHAaaLPmtNdsLuUkxJ5MRUqMsvKlNvykci AG6HHuylgLrTqunEwY9tz9iYSgSYXY4b3DofsrGjp2W5rwU2tc/nV0epjbkzcLNB+vbjNn BEzS06bdJSzxvBP+oeLcMYiwK+i8N38ZVhvIQaBQHMFXiFp5Yt71AZ5tW+JjsMyzoBc0fA S2Nw03f77xsOaAQRe3luFlAhz8YBRqcd8JwKWvE8xWGz+VDTLoOrpTr2irpWufII7G8HM8 RZ/8YTuTH8k5sQ0vG8iRS3UThzIw3SCuST8Ro5CqTBZGTGJ0xN2qkUPuvqdCKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806188; a=rsa-sha256; cv=none; b=gLAMyPZlRRt56eDqXDfs5kPn046Z1eSWiAUY1t0LhSZxh/CfOwId7y+VqTndWJJDuoQNLc ui41a6jACl6fuoio77givWcOdVx5wg0bMhoGi+hiNZ6W/XqdTRC8yL5v4y9boW9CNuAxmr /BSgQpzpbL/X8Uy7A2Fz2vKkGWik1rRYWfNztdPKLpMXHbcqVujVqgBMGD2e7eKUeTsV2v r0VM/94qY4P9rgqAP9wrhl7xTnCZeJECdy2qtGinFsIoG9ZgB88O2ldyzKtctD8HtMoh55 pTQX1DbFxW8AubGY9K3BfFsIMJNO4zgtUjMIa+HT8JNtGNZ1NSaPrrmLXjDSSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=59ad98cc3f55dbf4f202f4ab1189f16ee8ca2042 commit 59ad98cc3f55dbf4f202f4ab1189f16ee8ca2042 Author: Warner Losh AuthorDate: 2021-11-24 00:49:56 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:55:56 +0000 arm: Make machine/reg.h self-contained Allow inclusion of sys/reg.h w/o pre-requisites by making arm's machine/reg.h self-contained. Sponsored by: Netflix (cherry picked from commit b57e0aa4ef4319334df8018bc60fd28a84b074cc) --- sys/arm/include/reg.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/arm/include/reg.h b/sys/arm/include/reg.h index ab70ae128d39..494052f64732 100644 --- a/sys/arm/include/reg.h +++ b/sys/arm/include/reg.h @@ -3,6 +3,8 @@ #ifndef MACHINE_REG_H #define MACHINE_REG_H +#include + struct reg { unsigned int r[13]; unsigned int r_sp; @@ -12,9 +14,9 @@ struct reg { }; struct fp_extended_precision { - u_int32_t fp_exponent; - u_int32_t fp_mantissa_hi; - u_int32_t fp_mantissa_lo; + __uint32_t fp_exponent; + __uint32_t fp_mantissa_hi; + __uint32_t fp_mantissa_lo; }; typedef struct fp_extended_precision fp_reg_t;