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
/** @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
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
\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
} SEMIHOST_FILE_OPEN_BLOCK;\r
\r
typedef struct {\r
} SEMIHOST_FILE_READ_WRITE_BLOCK;\r
\r
typedef struct {\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
} SEMIHOST_FILE_SEEK_BLOCK;\r
\r
typedef struct {\r
CHAR8 *FileName;\r
} SEMIHOST_FILE_REMOVE_BLOCK;\r
\r
typedef struct {\r
CHAR8 *CommandLine;\r
} SEMIHOST_FILE_REMOVE_BLOCK;\r
\r
typedef struct {\r
CHAR8 *CommandLine;\r
- UINT32 CommandLength;\r
} SEMIHOST_SYSTEM_BLOCK;\r
\r
#if defined(__CC_ARM) \r
} SEMIHOST_SYSTEM_BLOCK;\r
\r
#if defined(__CC_ARM) \r