From ba21b75a801f7129874d4bdece5c6fa87767333a Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sun, 23 Oct 2016 01:15:21 +0900 Subject: [PATCH 1/3] Docs: fix a typo in Porting Guide about plat_get_my_entrypoint() Do not double the phrase "called with the". Signed-off-by: Masahiro Yamada --- docs/porting-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/porting-guide.md b/docs/porting-guide.md index 1247baf59..aa014f159 100644 --- a/docs/porting-guide.md +++ b/docs/porting-guide.md @@ -558,7 +558,7 @@ reset vector code to perform the above tasks. Argument : void Return : uintptr_t -This function is called with the called with the MMU and caches disabled +This function is called with the MMU and caches disabled (`SCTLR_EL3.M` = 0 and `SCTLR_EL3.C` = 0). The function is responsible for distinguishing between a warm and cold reset for the current CPU using platform-specific means. If it's a warm reset, then it returns the warm From 240b3140308c0a8218d05a6a249d1dbdba9e2f52 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sat, 24 Sep 2016 18:07:46 +0900 Subject: [PATCH 2/3] Fix comment of plat_reset_handler stub As described in the Porting Guide, plat_reset_handler should preserve x19 to x29. Signed-off-by: Masahiro Yamada --- plat/common/aarch64/platform_helpers.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/common/aarch64/platform_helpers.S b/plat/common/aarch64/platform_helpers.S index a134ded02..68bda2233 100644 --- a/plat/common/aarch64/platform_helpers.S +++ b/plat/common/aarch64/platform_helpers.S @@ -98,7 +98,7 @@ endfunc plat_crash_console_putc /* ----------------------------------------------------- * Placeholder function which should be redefined by - * each platform. This function should preserve x10. + * each platform. This function should preserve x19 - x29. * ----------------------------------------------------- */ func plat_reset_handler From 589b827f4b14c386dd49e1759578f72cf92b6f02 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sat, 3 Sep 2016 11:40:24 +0900 Subject: [PATCH 3/3] .gitignore: ignore editor backup files Signed-off-by: Masahiro Yamada --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index d2cff7ca9..c0d51835a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ cscope.* *.swp *.patch +*~ .project .cproject