1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef MORELLO_CORE_H 9 #define MORELLO_CORE_H 10 11 #include <stdbool.h> 12 #include <stdint.h> 13 14 #define CORES_PER_CLUSTER 2 15 #define NUMBER_OF_CLUSTERS 2 16 17 unsigned int morello_core_get_core_per_cluster_count(unsigned int cluster); 18 unsigned int morello_core_get_core_count(void); 19 unsigned int morello_core_get_cluster_count(void); 20 bool morello_is_multichip_enabled(void); 21 uint8_t morello_get_chipid(void); 22 23 #endif /* MORELLO_CORE_H */ 24