Finish implementation of sim-memopt.

Use in d30v and tic80.
Make available a generic sim_read, sim_write implementation.
This commit is contained in:
Andrew Cagney
1997-09-04 10:08:44 +00:00
parent a34abff813
commit 6dbaff8f60
10 changed files with 194 additions and 82 deletions

View File

@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
void *zalloc (unsigned long size);
#define ZALLOC(TYPE) (TYPE*)zalloc(sizeof (TYPE))
#define NZALLOC(TYPE,N) (TYPE*)zalloc(sizeof (TYPE) * (N))
void zfree(void*);