The arguments passed to the semi-hosing backend should
be of 'native' size to match register widths.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15389
6f19259b-4bc3-4df7-8a09-
765794883524
/** @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