162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 362306a36Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 462306a36Sopenharmony_ci * for more details. 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci * ARC firmware interface. 762306a36Sopenharmony_ci * 862306a36Sopenharmony_ci * Copyright (C) 1994, 1995, 1996, 1999 Ralf Baechle 962306a36Sopenharmony_ci * Copyright (C) 1999 Silicon Graphics, Inc. 1062306a36Sopenharmony_ci */ 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#include <asm/fw/arc/types.h> 1362306a36Sopenharmony_ci#include <asm/sgialib.h> 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciLONG 1662306a36Sopenharmony_ciArcRead(ULONG FileID, VOID *Buffer, ULONG N, ULONG *Count) 1762306a36Sopenharmony_ci{ 1862306a36Sopenharmony_ci return ARC_CALL4(read, FileID, Buffer, N, Count); 1962306a36Sopenharmony_ci} 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ciLONG 2262306a36Sopenharmony_ciArcWrite(ULONG FileID, PVOID Buffer, ULONG N, PULONG Count) 2362306a36Sopenharmony_ci{ 2462306a36Sopenharmony_ci return ARC_CALL4(write, FileID, Buffer, N, Count); 2562306a36Sopenharmony_ci} 26