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/Filesystem/SemihostFs/Arm/SemihostFs.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'ArmPkg/Filesystem') diff --git a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c index 5c70e51ce7..059845c04d 100644 --- a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c +++ b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c @@ -2,7 +2,8 @@ Support a Semi Host file system over a debuggers JTAG 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 which accompanies this distribution. The full text of the license may be found at @@ -73,7 +74,7 @@ typedef struct { EFI_FILE File; CHAR8 *FileName; UINT32 Position; - UINT32 SemihostHandle; + UINTN SemihostHandle; BOOLEAN IsRoot; } SEMIHOST_FCB; @@ -152,7 +153,7 @@ FileOpen ( { SEMIHOST_FCB *FileFcb = NULL; EFI_STATUS Status = EFI_SUCCESS; - UINT32 SemihostHandle; + UINTN SemihostHandle; CHAR8 *AsciiFileName; CHAR8 *AsciiPtr; UINTN Length; @@ -360,7 +361,7 @@ FileSetPosition ( ) { SEMIHOST_FCB *Fcb = NULL; - UINT32 Length; + UINTN Length; EFI_STATUS Status; Fcb = SEMIHOST_FCB_FROM_THIS(File); @@ -395,7 +396,7 @@ GetFileInfo ( UINTN NameSize = 0; UINTN ResultSize; UINTN Index; - UINT32 Length; + UINTN Length; EFI_STATUS Status; if (Fcb->IsRoot == TRUE) { -- cgit v1.2.3