From nobody Mon Oct 17 18:17:36 2022 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 4Mrlb43zqgz4b7Pf; Mon, 17 Oct 2022 18:17:36 +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 4Mrlb43WKfz3ns3; Mon, 17 Oct 2022 18:17:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666030656; 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=Z238AzhM5eCJkj0hhkKwrdqqc0QWiS3mX6QqhsQJQhE=; b=Hf0ioGdCsIkcsadKYjiJ2CR2wBYb232av5jWOMDEWIt9dPbsRCIF3F94PQ9jAiGdOzpWCp FD2ecRTwwldCQng5wUuyZOEBsv+JIdJs7PtYY/TfIbOzNY6ylZXB5Dz5ZyPJvf/AL37f7P JO+q16CNCvMvFHNge0yZP1ovSHWmtiNq5A2oeaoaPIdMbt0n6a3kNEws1/5iA3DaYAButI IsWaKHSA6ZjmS3EKQV75jTwtEvN2wSerDwjmupXztmLMRsDqyd3n/WL+fOB/S33kQwFYer RV2PsrKs/XZCiFjoJd7weqGxNcizvN+7Yr5oOCoAx/umu3o9t7/uxODFpXIxRw== 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 4Mrlb42Yf9zvXh; Mon, 17 Oct 2022 18:17:36 +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 29HIHavu009634; Mon, 17 Oct 2022 18:17:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29HIHamj009633; Mon, 17 Oct 2022 18:17:36 GMT (envelope-from git) Date: Mon, 17 Oct 2022 18:17:36 GMT Message-Id: <202210171817.29HIHamj009633@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 101ba46bb6bd - main - libproc: retire now-unused MIPS support 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 101ba46bb6bdd7ecebe122b8d69a423156b2ba22 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666030656; 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=Z238AzhM5eCJkj0hhkKwrdqqc0QWiS3mX6QqhsQJQhE=; b=NAJYMbcs0Aw4KHqTKW4VV+h6mZwp50GjjRBvdbtSRvU0jR/DNDlgpn6DKnJfeeAK33auII OIdz3wloll/6vbt7G5BdGeFA3KyuTf6ljUhJnSYjpETLfUNkPZ4HHZNZrl90N3alvz9XXs A7mCjqOs8DE/LCblxoO1ETXwCdAVuWCMAQPNMiE5TfLT/ccrjWBkf5OIUBeE4WMTuI7AQI U/dDRo+dXMvB2asoMBMWE2QdsGEUyrJfJAL5k4OloE4ebLX4cCL7/vWnMRjRP+QrcT1Ubq lk4ChJu2pem1B93qmMbAjpAirOltJH/5r2jEhcFRYhPkoBa93Ry7sGZ0XB2Hug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666030656; a=rsa-sha256; cv=none; b=C+9A5pXpVGz0OUoS/DrOLIMcW1F60M/wD9OejTFdkRWnmv8ZBBWw0P0sVIUUxMoXCAeHCn on54tco4erG4N7S4kJQsP0MTdPNTNZxuhA44DPva7wHFB/1fNlP9ypAnAKJS2LQzX2UbSd oWujp40CZIFx0TLsXszWCj8vURQQmP/XMTnWRBqpy+efXlnhIo0gPiwcdTBbH3IRoR9dFE E5nqoMygP+U8OYEYkU5Cvx1Suf69BkuyBDi1WUDL4zFN+zalK4ckWDbSbVmMpacXZEDOrM U1I6yWNTtUZBfeXauS1XixG25sazH2h/8CuxOYUZCk1SKub7ppC4DwjgGJMC8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=101ba46bb6bdd7ecebe122b8d69a423156b2ba22 commit 101ba46bb6bdd7ecebe122b8d69a423156b2ba22 Author: Ed Maste AuthorDate: 2022-10-17 18:16:10 +0000 Commit: Ed Maste CommitDate: 2022-10-17 18:17:25 +0000 libproc: retire now-unused MIPS support Discussed with: imp --- lib/libproc/proc_bkpt.c | 3 --- lib/libproc/proc_regs.c | 8 -------- 2 files changed, 11 deletions(-) diff --git a/lib/libproc/proc_bkpt.c b/lib/libproc/proc_bkpt.c index ff37bb7c4461..46c2d583fe29 100644 --- a/lib/libproc/proc_bkpt.c +++ b/lib/libproc/proc_bkpt.c @@ -57,9 +57,6 @@ __FBSDID("$FreeBSD$"); #elif defined(__arm__) #define BREAKPOINT_INSTR 0xe7ffffff /* bkpt */ #define BREAKPOINT_INSTR_SZ 4 -#elif defined(__mips__) -#define BREAKPOINT_INSTR 0xd /* break */ -#define BREAKPOINT_INSTR_SZ 4 #elif defined(__powerpc__) #define BREAKPOINT_INSTR 0x7fe00008 /* trap */ #define BREAKPOINT_INSTR_SZ 4 diff --git a/lib/libproc/proc_regs.c b/lib/libproc/proc_regs.c index da2cba18bbbd..157d355b53fa 100644 --- a/lib/libproc/proc_regs.c +++ b/lib/libproc/proc_regs.c @@ -66,8 +66,6 @@ proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue) *regvalue = regs.r_pc; #elif defined(__i386__) *regvalue = regs.r_eip; -#elif defined(__mips__) - *regvalue = regs.r_regs[PC]; #elif defined(__powerpc__) *regvalue = regs.pc; #elif defined(__riscv) @@ -83,8 +81,6 @@ proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue) *regvalue = regs.r_sp; #elif defined(__i386__) *regvalue = regs.r_esp; -#elif defined(__mips__) - *regvalue = regs.r_regs[SP]; #elif defined(__powerpc__) *regvalue = regs.fixreg[1]; #elif defined(__riscv) @@ -121,8 +117,6 @@ proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue) regs.r_pc = regvalue; #elif defined(__i386__) regs.r_eip = regvalue; -#elif defined(__mips__) - regs.r_regs[PC] = regvalue; #elif defined(__powerpc__) regs.pc = regvalue; #elif defined(__riscv) @@ -138,8 +132,6 @@ proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue) regs.r_sp = regvalue; #elif defined(__i386__) regs.r_esp = regvalue; -#elif defined(__mips__) - regs.r_regs[SP] = regvalue; #elif defined(__powerpc__) regs.fixreg[1] = regvalue; #elif defined(__riscv)