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
079e522d
Commit
079e522d
authored
8 years ago
by
danh-arm
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #687 from sandrine-bailleux-arm/sb/panic-handler
Add WFI in platform's unexpected error handlers
parents
efc759ad
8c9e1af0
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
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
plat/arm/board/fvp/fvp_err.c
+3
-2
plat/arm/board/fvp/fvp_err.c
plat/arm/board/juno/juno_err.c
+3
-2
plat/arm/board/juno/juno_err.c
plat/common/aarch64/platform_helpers.S
+2
-0
plat/common/aarch64/platform_helpers.S
with
8 additions
and
4 deletions
+8
-4
plat/arm/board/fvp/fvp_err.c
View file @
079e522d
/*
* Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015
-2016
, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
...
...
@@ -28,6 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <arch_helpers.h>
#include <board_arm_def.h>
#include <debug.h>
#include <errno.h>
...
...
@@ -61,5 +62,5 @@ void plat_error_handler(int err)
/* Loop until the watchdog resets the system */
for
(;;)
;
wfi
()
;
}
This diff is collapsed.
Click to expand it.
plat/arm/board/juno/juno_err.c
View file @
079e522d
/*
* Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015
-2016
, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
...
...
@@ -28,6 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <arch_helpers.h>
#include <errno.h>
#include <v2m_def.h>
...
...
@@ -45,5 +46,5 @@ void plat_error_handler(int err)
/* Loop until the watchdog resets the system */
for
(;;)
;
wfi
()
;
}
This diff is collapsed.
Click to expand it.
plat/common/aarch64/platform_helpers.S
View file @
079e522d
...
...
@@ -130,6 +130,7 @@ endfunc bl1_plat_prepare_exit
*
-----------------------------------------------------
*/
func
plat_error_handler
wfi
b
plat_error_handler
endfunc
plat_error_handler
...
...
@@ -139,5 +140,6 @@ endfunc plat_error_handler
*
-----------------------------------------------------
*/
func
plat_panic_handler
wfi
b
plat_panic_handler
endfunc
plat_panic_handler
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