From c63626b7d31cb8c6ffee5870de742f4aa859fee8 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 12 Mar 2013 00:50:46 +0000 Subject: ArmPkg: Fixed unsigned type to be architecture independent Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14181 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Include/Library/SemihostLib.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'ArmPkg/Include') diff --git a/ArmPkg/Include/Library/SemihostLib.h b/ArmPkg/Include/Library/SemihostLib.h index 2ced7f107c..6256551771 100644 --- a/ArmPkg/Include/Library/SemihostLib.h +++ b/ArmPkg/Include/Library/SemihostLib.h @@ -1,6 +1,7 @@ /** @file Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
+ Portions copyright (c) 2011, 2012, ARM Ltd. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -38,38 +39,38 @@ RETURN_STATUS SemihostFileOpen ( IN CHAR8 *FileName, IN UINT32 Mode, - OUT UINT32 *FileHandle + OUT UINTN *FileHandle ); RETURN_STATUS SemihostFileSeek ( - IN UINT32 FileHandle, - IN UINT32 Offset + IN UINTN FileHandle, + IN UINTN Offset ); RETURN_STATUS SemihostFileRead ( - IN UINT32 FileHandle, - IN OUT UINT32 *Length, + IN UINTN FileHandle, + IN OUT UINTN *Length, OUT VOID *Buffer ); RETURN_STATUS SemihostFileWrite ( - IN UINT32 FileHandle, - IN OUT UINT32 *Length, + IN UINTN FileHandle, + IN OUT UINTN *Length, IN VOID *Buffer ); RETURN_STATUS SemihostFileClose ( - IN UINT32 FileHandle + IN UINTN FileHandle ); RETURN_STATUS SemihostFileLength ( - IN UINT32 FileHandle, - OUT UINT32 *Length + IN UINTN FileHandle, + OUT UINTN *Length ); RETURN_STATUS -- cgit v1.2.3