path: root/plat/hisilicon/poplar
diff options
authorJulius Werner <jwerner@chromium.org>2019-07-23 20:00:13 -0700
committerJulius Werner <jwerner@chromium.org>2019-07-23 20:25:34 -0700
commit9352be88033900f89aa50dfbb13a13d40d698a9e (patch)
tree6da5a9a6c7adce6bf6e0a119fd432fd29ac6bcb8 /plat/hisilicon/poplar
parentc1185ffde17cf2fdf50aac172a0be9e2d7669fd0 (diff)
Use explicit-width data types in AAPCS parameter structs
It's not a good idea to use u_register_t for the members of aapcs64_params_t and aapcs32_params_t, since the width of that type always depends on the current execution environment. This would cause problems if e.g. we used this structure to set up the entry point of an AArch32 program from within an AArch64 program. (It doesn't seem like any code is doing that today, but it's probably still a good idea to write this defensively. Also, it helps with my next patch.) Change-Id: I12c04a85611f2b6702589f3362bea3e6a7c9f776 Signed-off-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'plat/hisilicon/poplar')
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/hisilicon/poplar/bl31_plat_setup.c b/plat/hisilicon/poplar/bl31_plat_setup.c
index f81078f09..981ef376b 100644
--- a/plat/hisilicon/poplar/bl31_plat_setup.c
+++ b/plat/hisilicon/poplar/bl31_plat_setup.c
@@ -1,5 +1,5 @@
- * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
@@ -130,6 +130,6 @@ void bl31_plat_arch_setup(void)
- INFO("Boot BL33 from 0x%lx for %lu Bytes\n",
+ INFO("Boot BL33 from 0x%lx for %llu Bytes\n",
bl33_image_ep_info.pc, bl33_image_ep_info.args.arg2);