From 6803f89b14a0d92f9012ca37f7069f345ddaca91 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 30 Oct 1996 15:51:39 +0000 Subject: [PATCH] * simops.c (OP_10007E0): Handle SYS_time. Check into devo too. --- sim/v850/ChangeLog | 4 ++++ sim/v850/simops.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index f1cda28038..0dde9719e0 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 30 08:49:10 1996 Jeffrey A Law (law@cygnus.com) + + * simops.c (OP_10007E0): Handle SYS_time. + Tue Oct 29 14:22:55 1996 Jeffrey A Law (law@cygnus.com) * simops.c: Include . diff --git a/sim/v850/simops.c b/sim/v850/simops.c index 0d7e1bc981..dc5f836a20 100644 --- a/sim/v850/simops.c +++ b/sim/v850/simops.c @@ -2083,6 +2083,9 @@ OP_10007E0 () case SYS_chmod: RETVAL = chmod (MEMPTR (PARM1), PARM2); break; + case SYS_time: + RETVAL = time (MEMPTR (PARM1)); + break; case SYS_utime: /* Cast the second argument to void *, to avoid type mismatch if a prototype is present. */