From nobody Thu Jan 12 15:06:52 2023 X-Original-To: dev-commits-src-main@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 4Nt7Dr29slz2r5hJ; Thu, 12 Jan 2023 15:06: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 4Nt7Dr1hjJz3QF7; Thu, 12 Jan 2023 15:06:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673536012; 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=68GjxYSyMfSj+0ZCyB8jVaVg8IxC/WLkiYtxAUAgZxQ=; b=RkwkeeY8WatkiF69X26kNzndro+OtkMqDx9HlO2y5O4D8PeQSFMlMr1CB70ZILmByDchbv LR/XQu79PaFaI9Ot1HJLedhmnHEZCPUoNAz9DlylIflfO6z0RINpUt+WfBX92E7epoKIcf V4abXZ4mv6B6KMvgRNdwDB89+FLwjL8bWo1eDl/6sX55T0zKSeDUkYEVWYXmWlDwNlbxhZ YG2zcRwY+qb8UPchBo8MaZDd9E3vZVQS7zmGwD0Cd8KicRc5HmgWI5D8Jn5c/OO8rGzhWi IAVWeR7PXTPoVMyyYZ35fnbCdgx8RNAyxrDO4PFqwlV2EAIYGA11Eq+3gdPIfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673536012; 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=68GjxYSyMfSj+0ZCyB8jVaVg8IxC/WLkiYtxAUAgZxQ=; b=jZZ2ECkSGb5wJA39vZdjyyR9CRO106syrF4JaYCBhAxINwX7eAAM2iNzYJ1uDSXR1vx89q 2Zsn8FVl1Jwe1Nmmtx+jnB/oALmuSje2Km435i04QioEmpDs5oei/ZqeK5NaETodinekVr w/+sM4UIsRje6eWGOnnnZ7kbrpn8jrhJEJ0ydPPTlZPwbHh5HpPeuok/wiNT3+kZe3Iuby YRJGXAjLsoHuMc5HOQe/2r2M/4+e9a44jmLA7xRd8oul5PsIHyBw4Cq005l+sBbvtU6IbZ F2QPqtrmerzNL23PdgXa+9ssruuFZoEIW6q97Ri1aQYNOKpU11bQsi1OxTIq+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673536012; a=rsa-sha256; cv=none; b=SMnoMpo1pQVDSr5zJzIUtspmR9W8AV3QiTTLTZqKYeZ7qxZbM/S81RWEQfXl5agGOGSiap Sjn4QRp2LIFtz0sHLePUv6SkpMe4kDhaiJoWPbLDuQztCI63mu8wO32kB6qeJwqFM+OXu6 gsSvfPEhDXPRre1AV9cFXqn3Y9YVAPOtyUaBp1a4VnEsGVgjwfAZxLq/+0ntKXRQJsD/wo 0RKey+XSNHworbCbJTmyJadlbFZfmHXsRSgOCw/sTSTlg9Fb/N5co6aO1v6wZt5PlGqFSL gLMPaQKCXIkL1rrYNB9LVR8tvkP+7qJmAed9ELnowHdX2/kQvHQS0+mFx/Xa5Q== 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 4Nt7Dr0p4YzXkM; Thu, 12 Jan 2023 15:06:52 +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 30CF6qGP036506; Thu, 12 Jan 2023 15:06:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30CF6q2D036505; Thu, 12 Jan 2023 15:06:52 GMT (envelope-from git) Date: Thu, 12 Jan 2023 15:06:52 GMT Message-Id: <202301121506.30CF6q2D036505@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 2f2ec4bce960 - main - dtrace: remove unused defines List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f2ec4bce96058c061f4c08fd62e67c37992dec3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=2f2ec4bce96058c061f4c08fd62e67c37992dec3 commit 2f2ec4bce96058c061f4c08fd62e67c37992dec3 Author: Mitchell Horne AuthorDate: 2023-01-11 18:05:38 +0000 Commit: Mitchell Horne CommitDate: 2023-01-12 15:04:47 +0000 dtrace: remove unused defines Reviewed by: markj, emaste MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37659 --- sys/cddl/dev/dtrace/aarch64/dtrace_isa.c | 6 ------ sys/cddl/dev/dtrace/arm/dtrace_isa.c | 8 -------- sys/cddl/dev/dtrace/riscv/dtrace_isa.c | 6 ------ 3 files changed, 20 deletions(-) diff --git a/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c b/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c index b26b15a58070..98a0e6e498ed 100644 --- a/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c +++ b/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c @@ -50,12 +50,6 @@ #include "regset.h" -/* - * Wee need some reasonable default to prevent backtrace code - * from wandering too far - */ -#define MAX_FUNCTION_SIZE 0x10000 -#define MAX_PROLOGUE_SIZE 0x100 #define MAX_USTACK_DEPTH 2048 uint8_t dtrace_fuword8_nocheck(void *); diff --git a/sys/cddl/dev/dtrace/arm/dtrace_isa.c b/sys/cddl/dev/dtrace/arm/dtrace_isa.c index ede352e6b873..e6fba2d09be8 100644 --- a/sys/cddl/dev/dtrace/arm/dtrace_isa.c +++ b/sys/cddl/dev/dtrace/arm/dtrace_isa.c @@ -50,14 +50,6 @@ #include "regset.h" -/* - * Wee need some reasonable default to prevent backtrace code - * from wandering too far - */ -#define MAX_FUNCTION_SIZE 0x10000 -#define MAX_PROLOGUE_SIZE 0x100 - - uint8_t dtrace_fuword8_nocheck(void *); uint16_t dtrace_fuword16_nocheck(void *); uint32_t dtrace_fuword32_nocheck(void *); diff --git a/sys/cddl/dev/dtrace/riscv/dtrace_isa.c b/sys/cddl/dev/dtrace/riscv/dtrace_isa.c index d42299abcd35..1f585aa6fa3c 100644 --- a/sys/cddl/dev/dtrace/riscv/dtrace_isa.c +++ b/sys/cddl/dev/dtrace/riscv/dtrace_isa.c @@ -52,12 +52,6 @@ #include "regset.h" -/* - * Wee need some reasonable default to prevent backtrace code - * from wandering too far - */ -#define MAX_FUNCTION_SIZE 0x10000 -#define MAX_PROLOGUE_SIZE 0x100 #define MAX_USTACK_DEPTH 2048 uint8_t dtrace_fuword8_nocheck(void *);