Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * ARC firmware interface.
0007  *
0008  * Copyright (C) 1994, 1995, 1996, 1999 Ralf Baechle
0009  * Copyright (C) 1999 Silicon Graphics, Inc.
0010  */
0011 
0012 #include <asm/fw/arc/types.h>
0013 #include <asm/sgialib.h>
0014 
0015 LONG
0016 ArcRead(ULONG FileID, VOID *Buffer, ULONG N, ULONG *Count)
0017 {
0018     return ARC_CALL4(read, FileID, Buffer, N, Count);
0019 }
0020 
0021 LONG
0022 ArcWrite(ULONG FileID, PVOID Buffer, ULONG N, PULONG Count)
0023 {
0024     return ARC_CALL4(write, FileID, Buffer, N, Count);
0025 }