aboutsummaryrefslogtreecommitdiff
path: root/include/bl1/bl1.h
diff options
context:
space:
mode:
authorZelalem <zelalem.aweke@arm.com>2020-02-12 10:37:03 -0600
committerZelalem <zelalem.aweke@arm.com>2020-02-18 10:47:46 -0600
commit2fe75a2de087ec23162c5fd25ba439bd330ea50c (patch)
tree8fdfe111e09b5de4d7495c03ea4cde6ba29ee2af /include/bl1/bl1.h
parent572fcdd547753d668ca1146ca420664ccc3ac6fb (diff)
downloadarm-trusted-firmware-2fe75a2de087ec23162c5fd25ba439bd330ea50c.tar.gz
coverity: fix MISRA violations
Fixes for the following MISRA violations: - Missing explicit parentheses on sub-expression - An identifier or macro name beginning with an underscore, shall not be declared - Type mismatch in BL1 SMC handlers and tspd_main.c Change-Id: I7a92abf260da95acb0846b27c2997b59b059efc4 Signed-off-by: Zelalem <zelalem.aweke@arm.com>
Diffstat (limited to 'include/bl1/bl1.h')
-rw-r--r--include/bl1/bl1.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/bl1/bl1.h b/include/bl1/bl1.h
index d81f43404..e6447f25b 100644
--- a/include/bl1/bl1.h
+++ b/include/bl1/bl1.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -67,16 +67,16 @@
struct entry_point_info;
-register_t bl1_smc_wrapper(uint32_t smc_fid,
+u_register_t bl1_smc_wrapper(uint32_t smc_fid,
void *cookie,
void *handle,
unsigned int flags);
-register_t bl1_smc_handler(unsigned int smc_fid,
- register_t x1,
- register_t x2,
- register_t x3,
- register_t x4,
+u_register_t bl1_smc_handler(unsigned int smc_fid,
+ u_register_t x1,
+ u_register_t x2,
+ u_register_t x3,
+ u_register_t x4,
void *cookie,
void *handle,
unsigned int flags);