Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
c5c64dd6
Commit
c5c64dd6
authored
10 years ago
by
danh-arm
Browse files
Options
Download
Plain Diff
Merge pull request #224 from soby-mathew/sm/fix_mpidr_aff_map_nodes_t
Fix the array size of mpidr_aff_map_nodes_t.
parents
435cdcf4
235585b1
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-rc0
v1.3
v1.3_rc2
v1.3_rc1
v1.3-rc0
v1.2
v1.2-rc0
v1.1
v1.1-rc3
v1.1-rc2
v1.1-rc1
v1.1-rc0
v1.1-Juno-0.1
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/lib/aarch64/arch.h
+5
-1
include/lib/aarch64/arch.h
services/std_svc/psci/psci_private.h
+1
-1
services/std_svc/psci/psci_private.h
with
6 additions
and
2 deletions
+6
-2
include/lib/aarch64/arch.h
View file @
c5c64dd6
...
...
@@ -61,7 +61,11 @@
#define MPIDR_AFFLVL1 1
#define MPIDR_AFFLVL2 2
#define MPIDR_AFFLVL3 3
/* TODO: Support only the first 3 affinity levels for now */
/*
* The MPIDR_MAX_AFFLVL count starts from 0. Take care to
* add one while using this macro to define array sizes.
* TODO: Support only the first 3 affinity levels for now.
*/
#define MPIDR_MAX_AFFLVL 2
/* Constant to highlight the assumption that MPIDR allocation starts from 0 */
...
...
This diff is collapsed.
Click to expand it.
services/std_svc/psci/psci_private.h
View file @
c5c64dd6
...
...
@@ -60,7 +60,7 @@ typedef struct aff_limits_node {
int
max
;
}
aff_limits_node_t
;
typedef
aff_map_node_t
(
*
mpidr_aff_map_nodes_t
[
MPIDR_MAX_AFFLVL
]);
typedef
aff_map_node_t
(
*
mpidr_aff_map_nodes_t
[
MPIDR_MAX_AFFLVL
+
1
]);
typedef
unsigned
int
(
*
afflvl_power_on_finisher_t
)(
aff_map_node_t
*
);
/*******************************************************************************
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help