libproc: retire now-unused MIPS support

Discussed with:	imp
This commit is contained in:
Ed Maste 2022-10-17 14:16:10 -04:00
parent 4a9b1a1463
commit 101ba46bb6
2 changed files with 0 additions and 11 deletions

View File

@ -57,9 +57,6 @@ __FBSDID("$FreeBSD$");
#elif defined(__arm__) #elif defined(__arm__)
#define BREAKPOINT_INSTR 0xe7ffffff /* bkpt */ #define BREAKPOINT_INSTR 0xe7ffffff /* bkpt */
#define BREAKPOINT_INSTR_SZ 4 #define BREAKPOINT_INSTR_SZ 4
#elif defined(__mips__)
#define BREAKPOINT_INSTR 0xd /* break */
#define BREAKPOINT_INSTR_SZ 4
#elif defined(__powerpc__) #elif defined(__powerpc__)
#define BREAKPOINT_INSTR 0x7fe00008 /* trap */ #define BREAKPOINT_INSTR 0x7fe00008 /* trap */
#define BREAKPOINT_INSTR_SZ 4 #define BREAKPOINT_INSTR_SZ 4

View File

@ -66,8 +66,6 @@ proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue)
*regvalue = regs.r_pc; *regvalue = regs.r_pc;
#elif defined(__i386__) #elif defined(__i386__)
*regvalue = regs.r_eip; *regvalue = regs.r_eip;
#elif defined(__mips__)
*regvalue = regs.r_regs[PC];
#elif defined(__powerpc__) #elif defined(__powerpc__)
*regvalue = regs.pc; *regvalue = regs.pc;
#elif defined(__riscv) #elif defined(__riscv)
@ -83,8 +81,6 @@ proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue)
*regvalue = regs.r_sp; *regvalue = regs.r_sp;
#elif defined(__i386__) #elif defined(__i386__)
*regvalue = regs.r_esp; *regvalue = regs.r_esp;
#elif defined(__mips__)
*regvalue = regs.r_regs[SP];
#elif defined(__powerpc__) #elif defined(__powerpc__)
*regvalue = regs.fixreg[1]; *regvalue = regs.fixreg[1];
#elif defined(__riscv) #elif defined(__riscv)
@ -121,8 +117,6 @@ proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue)
regs.r_pc = regvalue; regs.r_pc = regvalue;
#elif defined(__i386__) #elif defined(__i386__)
regs.r_eip = regvalue; regs.r_eip = regvalue;
#elif defined(__mips__)
regs.r_regs[PC] = regvalue;
#elif defined(__powerpc__) #elif defined(__powerpc__)
regs.pc = regvalue; regs.pc = regvalue;
#elif defined(__riscv) #elif defined(__riscv)
@ -138,8 +132,6 @@ proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue)
regs.r_sp = regvalue; regs.r_sp = regvalue;
#elif defined(__i386__) #elif defined(__i386__)
regs.r_esp = regvalue; regs.r_esp = regvalue;
#elif defined(__mips__)
regs.r_regs[SP] = regvalue;
#elif defined(__powerpc__) #elif defined(__powerpc__)
regs.fixreg[1] = regvalue; regs.fixreg[1] = regvalue;
#elif defined(__riscv) #elif defined(__riscv)