From 7da5cf78fb1ba3e93cc5e79cf5084bd2b03f0fcf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Apr 2021 20:53:03 -0400 Subject: sim: syscall: add getpid support Hoist the Blackfin implementation up to the common one. --- sim/bfin/interp.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sim/bfin/interp.c') diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c index 747898c..49388e7 100644 --- a/sim/bfin/interp.c +++ b/sim/bfin/interp.c @@ -457,10 +457,6 @@ bfin_syscall (SIM_CPU *cpu) sc.result = setgid (sc.arg1); goto sys_finish; - case CB_SYS_getpid: - tbuf += sprintf (tbuf, "getpid()"); - sc.result = getpid (); - goto sys_finish; case CB_SYS_kill: tbuf += sprintf (tbuf, "kill(%u, %i)", args[0], args[1]); /* Only let the app kill itself. */ -- cgit v1.1