sim: mn10300: delete unused memory code

Only one place used get_word/put_word, so inline the usage there.
All the rest is dead code so trim it.
This commit is contained in:
Mike Frysinger
2015-06-09 23:38:15 +08:00
parent 6449ed0d3a
commit 926b1cd8cf
4 changed files with 19 additions and 62 deletions

View File

@@ -188,9 +188,6 @@ do_syscall (void)
#define RETVAL State.regs[0] /* return value */
#define RETERR State.regs[1] /* return error code */
/* Turn a pointer in a register into a pointer into real memory. */
#define MEMPTR(x) (State.mem + x)
if ( FUNC == TARGET_SYS_exit )
{
/* EXIT - caller can look in PARM1 to work out the reason */