OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [c4x/] [c4xsim/] [include/] [simio.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  C4x simulator IO interface routines based on code provided
3
 *  by Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4
 *
5
 *  simio.h,v 1.1 2000/02/22 18:39:52 joel Exp
6
 */
7
 
8
#ifndef __C4X_SIMIO_IFACE_h
9
#define __C4X_SIMIO_IFACE_h
10
 
11
#include <stdio.h>
12
 
13
void sim_exit(void);
14
int sim_open(const char *path, int flags, int fno);
15
int sim_close(int fno);
16
int sim_read(int fno, char *buf, unsigned count);
17
int sim_write(int fno, const char *buf, unsigned count);
18
fpos_t sim_lseek(int fno, fpos_t offset, int origin);
19
int sim_unlink(const char *path);
20
int sim_rename(const char *old, const char *new);
21
char *sim_getenv(const char *str);
22
int sim_gettime(void);
23
int sim_getclock(void);
24
 
25
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.