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
99e89377
Commit
99e89377
authored
8 years ago
by
davidcunado-arm
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #695 from soby-mathew/sm/AArch32_fixes
Fixes for AArch32 port of TF
parents
f6ace15f
9e3b4cbb
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
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
common/bl_common.c
+2
-0
common/bl_common.c
lib/el3_runtime/aarch32/context_mgmt.c
+2
-2
lib/el3_runtime/aarch32/context_mgmt.c
with
4 additions
and
2 deletions
+4
-2
common/bl_common.c
View file @
99e89377
...
...
@@ -419,9 +419,11 @@ void print_entry_point_info(const entry_point_info_t *ep_info)
PRINT_IMAGE_ARG
(
1
);
PRINT_IMAGE_ARG
(
2
);
PRINT_IMAGE_ARG
(
3
);
#ifndef AARCH32
PRINT_IMAGE_ARG
(
4
);
PRINT_IMAGE_ARG
(
5
);
PRINT_IMAGE_ARG
(
6
);
PRINT_IMAGE_ARG
(
7
);
#endif
#undef PRINT_IMAGE_ARG
}
This diff is collapsed.
Click to expand it.
lib/el3_runtime/aarch32/context_mgmt.c
View file @
99e89377
...
...
@@ -86,6 +86,8 @@ static void cm_init_context_common(cpu_context_t *ctx, const entry_point_info_t
/* Clear any residual register values from the context */
memset
(
ctx
,
0
,
sizeof
(
*
ctx
));
reg_ctx
=
get_regs_ctx
(
ctx
);
/*
* Base the context SCR on the current value, adjust for entry point
* specific requirements
...
...
@@ -121,8 +123,6 @@ static void cm_init_context_common(cpu_context_t *ctx, const entry_point_info_t
if
(
GET_M32
(
ep
->
spsr
)
==
MODE32_hyp
)
scr
|=
SCR_HCE_BIT
;
reg_ctx
=
get_regs_ctx
(
ctx
);
write_ctx_reg
(
reg_ctx
,
CTX_SCR
,
scr
);
write_ctx_reg
(
reg_ctx
,
CTX_LR
,
ep
->
pc
);
write_ctx_reg
(
reg_ctx
,
CTX_SPSR
,
ep
->
spsr
);
...
...
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