]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
ArmPkg: Fixed unsigned type to be architecture independent
[mirror_edk2.git] / ArmPkg / Filesystem / SemihostFs / Arm / SemihostFs.c
index 5c70e51ce7544f5ad6813806317dfd503bd90087..059845c04d95019158cd2358a703f4f0829edc93 100644 (file)
@@ -2,7 +2,8 @@
   Support a Semi Host file system over a debuggers JTAG\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  \r
+  Portions copyright (c) 2011, 2012, ARM Ltd. All rights reserved.<BR>\r
+\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -73,7 +74,7 @@ typedef struct {
   EFI_FILE    File;\r
   CHAR8       *FileName;\r
   UINT32      Position;\r
-  UINT32      SemihostHandle;\r
+  UINT      SemihostHandle;\r
   BOOLEAN     IsRoot;\r
 } SEMIHOST_FCB;\r
 \r
@@ -152,7 +153,7 @@ FileOpen (
 {\r
   SEMIHOST_FCB  *FileFcb = NULL;\r
   EFI_STATUS    Status   = EFI_SUCCESS;\r
-  UINT32        SemihostHandle;\r
+  UINT        SemihostHandle;\r
   CHAR8         *AsciiFileName;\r
   CHAR8         *AsciiPtr;\r
   UINTN         Length;\r
@@ -360,7 +361,7 @@ FileSetPosition (
   )\r
 {\r
   SEMIHOST_FCB *Fcb    = NULL;\r
-  UINT32       Length;\r
+  UINT       Length;\r
   EFI_STATUS   Status;\r
 \r
   Fcb = SEMIHOST_FCB_FROM_THIS(File);\r
@@ -395,7 +396,7 @@ GetFileInfo (
   UINTN           NameSize = 0;\r
   UINTN           ResultSize;\r
   UINTN           Index;\r
-  UINT32          Length;\r
+  UINT          Length;\r
   EFI_STATUS      Status;\r
 \r
   if (Fcb->IsRoot == TRUE) {\r