diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-02-25 20:36:29 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-02-25 20:36:29 +0000 |
commit | 41a639dea811272c66ed71eb9ca6c233050f57b3 (patch) | |
tree | eadb76e7fe1e3fe6baed9ff78d86ee83eae163f2 /newlib/libc/sys/h8300hms/write.c | |
parent | 5ffa5aaa5c9f7151ffd0fc4d6eae6f48cab29427 (diff) | |
download | cygnal-41a639dea811272c66ed71eb9ca6c233050f57b3.tar.gz cygnal-41a639dea811272c66ed71eb9ca6c233050f57b3.tar.bz2 cygnal-41a639dea811272c66ed71eb9ca6c233050f57b3.zip |
2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* libc/sys/h8300hms/Makefile.am: Add support for new files.
* libc/sys/h8300hms/Makefile.in: Regenerated.
* libc/sys/h8300hms/close.S: New file.
* libc/sys/h8300hms/fstat.S: Ditto.
* libc/sys/h8300hms/lseek.S: Ditto.
* libc/sys/h8300hms/open.S: Ditto.
* libc/sys/h8300hms/stat.S: Ditto.
* libc/sys/h8300hms/read.S: New file to replace read.c.
* libc/sys/h8300hms/read.c: Removed.
* libc/sys/h8300hms/syscalls.c: Removed functions _open,
_lseek, _close, _stat, _fstat.
* libc/sys/h8300hms/write.S: New file to replace write.c.
* libc/sys/h8300hms/write.c: Removed.
Diffstat (limited to 'newlib/libc/sys/h8300hms/write.c')
-rw-r--r-- | newlib/libc/sys/h8300hms/write.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/newlib/libc/sys/h8300hms/write.c b/newlib/libc/sys/h8300hms/write.c deleted file mode 100644 index 22fc63d57..000000000 --- a/newlib/libc/sys/h8300hms/write.c +++ /dev/null @@ -1,16 +0,0 @@ - - -int _write(file, ptr, len) - int file; - char *ptr; - int len; -{ - int todo; - - for (todo = 0; todo < len; todo++) - { - asm("mov.b #0,r1l\n mov.b %0l,r2l\njsr @@0xc4" : : "r" (*ptr++) : "r1", "r2"); - } - return len; -} - |