mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-16 09:27:01 +02:00
This consists of ensuring that the left operand of each shift is unsigned when the operation might overflow into the sign bit. Change-Id: Ib63ef6e2e4616dd56828bfd3800d5fe2df109934 Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
19 lines
351 B
C
19 lines
351 B
C
/*
|
|
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef SOC_H
|
|
#define SOC_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define SVR_WO_E 0xFFFFFEu
|
|
#define SVR_LS1043A 0x879204u
|
|
#define SVR_LS1043AE 0x879200u
|
|
|
|
void get_gic_offset(uint32_t *gicc_base, uint32_t *gicd_base);
|
|
|
|
#endif /* SOC_H */
|