Skip to content
GitLab
Menu
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
bdcc45a7
Commit
bdcc45a7
authored
Feb 06, 2020
by
Mark Dykes
Committed by
TrustedFirmware Code Review
Feb 06, 2020
Browse files
Merge "plat: xilinx: zynqmp: Use ARRAY_SIZE wherever possible" into integration
parents
cf96f2ed
70d0d759
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/xilinx/zynqmp/pm_service/pm_svc_main.c
View file @
bdcc45a7
...
@@ -423,7 +423,7 @@ uint64_t pm_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, uint64_t x3,
...
@@ -423,7 +423,7 @@ uint64_t pm_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, uint64_t x3,
{
{
uint32_t
result
[
4
]
=
{
0
};
uint32_t
result
[
4
]
=
{
0
};
pm_get_callbackdata
(
result
,
(
sizeof
(
result
)
/
sizeof
(
uint32_t
)
));
pm_get_callbackdata
(
result
,
ARRAY_SIZE
(
result
));
SMC_RET2
(
handle
,
SMC_RET2
(
handle
,
(
uint64_t
)
result
[
0
]
|
((
uint64_t
)
result
[
1
]
<<
32
),
(
uint64_t
)
result
[
0
]
|
((
uint64_t
)
result
[
1
]
<<
32
),
(
uint64_t
)
result
[
2
]
|
((
uint64_t
)
result
[
3
]
<<
32
));
(
uint64_t
)
result
[
2
]
|
((
uint64_t
)
result
[
3
]
<<
32
));
...
...
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