1 /* 2 * Copyright (c) 2025, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef PER_CPU_DEFS_H 8 #define PER_CPU_DEFS_H 9 10 #include <platform_def.h> 11 12 /* 13 * The NUMA aware per-cpu framework uses the term NODE to denote a group of CPUs 14 * that have uniform proximity to a given memory node. Without NUMA awareness, 15 * all CPUs on the system fall within the same NODE. With NUMA awareness, it is 16 * the platforms responsibility to define how CPUs are grouped on a per NODE 17 * basis. 18 */ 19 #define PER_CPU_NODE_CORE_COUNT (PLATFORM_CORE_COUNT / PLATFORM_NODE_COUNT) 20 21 #endif 22