mirror of https://github.com/acidanthera/audk.git
ArmPkg/SemihostLib: Made arguments 'native' size
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
This commit is contained in:
parent
b2bd493edb
commit
228fdff4be
|
@ -1,6 +1,7 @@
|
|||
/** @file
|
||||
|
||||
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||
Copyright (c) 2013 - 2014, ARM Ltd. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@ -17,29 +18,29 @@
|
|||
|
||||
typedef struct {
|
||||
CHAR8 *FileName;
|
||||
UINT32 Mode;
|
||||
UINT32 NameLength;
|
||||
UINTN Mode;
|
||||
UINTN NameLength;
|
||||
} SEMIHOST_FILE_OPEN_BLOCK;
|
||||
|
||||
typedef struct {
|
||||
UINT32 Handle;
|
||||
UINTN Handle;
|
||||
VOID *Buffer;
|
||||
UINT32 Length;
|
||||
UINTN Length;
|
||||
} SEMIHOST_FILE_READ_WRITE_BLOCK;
|
||||
|
||||
typedef struct {
|
||||
UINT32 Handle;
|
||||
UINT32 Location;
|
||||
UINTN Handle;
|
||||
UINTN Location;
|
||||
} SEMIHOST_FILE_SEEK_BLOCK;
|
||||
|
||||
typedef struct {
|
||||
CHAR8 *FileName;
|
||||
UINT32 NameLength;
|
||||
UINTN NameLength;
|
||||
} SEMIHOST_FILE_REMOVE_BLOCK;
|
||||
|
||||
typedef struct {
|
||||
CHAR8 *CommandLine;
|
||||
UINT32 CommandLength;
|
||||
UINTN CommandLength;
|
||||
} SEMIHOST_SYSTEM_BLOCK;
|
||||
|
||||
#if defined(__CC_ARM)
|
||||
|
|
Loading…
Reference in New Issue