source: trunk/libs/newlib/src/newlib/libc/sys/a29khif/_iostat.S @ 587

Last change on this file since 587 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.5 KB
Line 
1;----------------------------------------------------------------------------
2;
3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4; Copyright 1990 Advanced Micro Devices, Inc.
5;
6; This software is the property of Advanced Micro Devices, Inc  (AMD)  which
7; specifically  grants the user the right to modify, use and distribute this
8; software provided this notice is not removed or altered.  All other rights
9; are reserved by AMD.
10;
11; AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
12; SOFTWARE.  IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
13; DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
14; USE OF THIS SOFTWARE.
15;
16; So that all may benefit from your experience, please report  any  problems
17; or  suggestions about this software to the 29K Technical Support Center at
18; 800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131  in  the  UK,  or
19; 0031-11-1129 in Japan, toll free.  The direct dial number is 512-462-4118.
20;
21; Advanced Micro Devices, Inc.
22; 29K Support Products
23; Mail Stop 573
24; 5900 E. Ben White Blvd.
25; Austin, TX 78741
26; 800-292-9263
27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
28; _iostat.s
29;       _iostat( int fd );
30;
31        .file   "_iostat.s"
32        .include "sys/sysmac.h"
33        .text
34        .word   0x00030000              ; Debugger tag word
35        .global __iostat
36        .global _iostat
37
38__iostat:
39_iostat:
40        const tav,HIF_iostat @ asneq V_SYSCALL,gr1,gr1 @ jmpti tav,lr0 @ const tpc,_errno @ consth tpc,_errno @ store 0,0,tav,tpc @ jmpi lr0 @ constn v0,-1
41
42        .end
43
Note: See TracBrowser for help on using the repository browser.