diff options
author | Aun-Ali Zaidi <admin@kodeit.net> | 2015-12-10 18:29:55 -0600 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2015-12-11 09:20:34 -0500 |
commit | 32c2cd2be1067ebe32cdabccbc8aa16126ae3a32 (patch) | |
tree | 7c4e2f70630f4849308cf2cfe22a796098188e54 /c/src/lib/libbsp/arm/nds/include/sys/iosupport.h | |
parent | score: Untangle thread actions (diff) | |
download | rtems-32c2cd2be1067ebe32cdabccbc8aa16126ae3a32.tar.bz2 |
arm/nds: Remove
updates #2450.
Diffstat (limited to 'c/src/lib/libbsp/arm/nds/include/sys/iosupport.h')
-rw-r--r-- | c/src/lib/libbsp/arm/nds/include/sys/iosupport.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/c/src/lib/libbsp/arm/nds/include/sys/iosupport.h b/c/src/lib/libbsp/arm/nds/include/sys/iosupport.h deleted file mode 100644 index 685065c30f..0000000000 --- a/c/src/lib/libbsp/arm/nds/include/sys/iosupport.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef __iosupp_h__ -#define __iosupp_h__ - -#include <reent.h> - -enum { - STD_IN, - STD_OUT, - STD_ERR, - STD_MAX = 16 -}; - -#define _SHIFTL(v, s, w) \ - ((unsigned int) (((unsigned int)(v) & ((0x01 << (w)) - 1)) << (s))) -#define _SHIFTR(v, s, w) \ - ((unsigned int)(((unsigned int)(v) >> (s)) & ((0x01 << (w)) - 1))) - -typedef struct { - const char *name; - int (*open_r)(struct _reent *r,const char *path,int flags,int mode); - int (*close_r)(struct _reent *r,int fd); - int (*write_r)(struct _reent *r,int fd,const char *ptr,int len); - int (*read_r)(struct _reent *r,int fd,char *ptr,int len); - int (*seek_r)(struct _reent *r,int fd,int pos,int dir); - int (*stat_r)(struct _reent *r,int fd,struct stat *st); -} devoptab_t; - -extern const devoptab_t *devoptab_list[]; - -int AddDevice( const devoptab_t* device); - -#endif |