]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/SemihostLib/SemihostPrivate.h
ArmPkg/SemihostLib: Made arguments 'native' size
[mirror_edk2.git] / ArmPkg / Library / SemihostLib / SemihostPrivate.h
index 02836ca281aff6027c5ac90a64a8a117cfb14ed5..c4bc4c0ec4af12af880781ca8c68201971be5e0c 100644 (file)
@@ -1,6 +1,7 @@
 /** @file\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+  Copyright (c) 2013 - 2014, 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
 \r
 typedef struct {\r
   CHAR8   *FileName;\r
-  UINT32  Mode;\r
-  UINT32  NameLength;\r
+  UINTN    Mode;\r
+  UINTN    NameLength;\r
 } SEMIHOST_FILE_OPEN_BLOCK;\r
 \r
 typedef struct {\r
-  UINT32  Handle;\r
+  UINTN    Handle;\r
   VOID    *Buffer;\r
-  UINT32  Length;\r
+  UINTN    Length;\r
 } SEMIHOST_FILE_READ_WRITE_BLOCK;\r
 \r
 typedef struct {\r
-  UINT32  Handle;\r
-  UINT32  Location;\r
+  UINTN    Handle;\r
+  UINTN    Location;\r
 } SEMIHOST_FILE_SEEK_BLOCK;\r
 \r
 typedef struct {\r
   CHAR8   *FileName;\r
-  UINT32  NameLength;\r
+  UINTN    NameLength;\r
 } SEMIHOST_FILE_REMOVE_BLOCK;\r
 \r
 typedef struct {\r
   CHAR8   *CommandLine;\r
-  UINT32  CommandLength;\r
+  UINTN    CommandLength;\r
 } SEMIHOST_SYSTEM_BLOCK;\r
 \r
 #if defined(__CC_ARM) \r