git: 101ba46bb6bd - main - libproc: retire now-unused MIPS support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Oct 2022 18:17:36 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=101ba46bb6bdd7ecebe122b8d69a423156b2ba22 commit 101ba46bb6bdd7ecebe122b8d69a423156b2ba22 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-10-17 18:16:10 +0000 Commit: Ed Maste <emaste@FreeBSD.org> 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)