diff options
Diffstat (limited to 'arch/mips/fw/arc/file.c')
-rw-r--r-- | arch/mips/fw/arc/file.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/mips/fw/arc/file.c b/arch/mips/fw/arc/file.c new file mode 100644 index 000000000..b0d8535c8 --- /dev/null +++ b/arch/mips/fw/arc/file.c | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * ARC firmware interface. | ||
7 | * | ||
8 | * Copyright (C) 1994, 1995, 1996, 1999 Ralf Baechle | ||
9 | * Copyright (C) 1999 Silicon Graphics, Inc. | ||
10 | */ | ||
11 | |||
12 | #include <asm/fw/arc/types.h> | ||
13 | #include <asm/sgialib.h> | ||
14 | |||
15 | LONG | ||
16 | ArcRead(ULONG FileID, VOID *Buffer, ULONG N, ULONG *Count) | ||
17 | { | ||
18 | return ARC_CALL4(read, FileID, Buffer, N, Count); | ||
19 | } | ||
20 | |||
21 | LONG | ||
22 | ArcWrite(ULONG FileID, PVOID Buffer, ULONG N, PULONG Count) | ||
23 | { | ||
24 | return ARC_CALL4(write, FileID, Buffer, N, Count); | ||
25 | } | ||