|
From: openocd-gerrit <ope...@us...> - 2023-04-14 15:17:07
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 1e6df1675ccea95d99d767e6d2b9a735c8ee2a36 (commit)
from 1c31f6225f41dd2bd371571e829fbf6855788d24 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1e6df1675ccea95d99d767e6d2b9a735c8ee2a36
Author: panciyan <pan...@es...>
Date: Sun Apr 2 05:17:17 2023 +0000
rtos/linux.c: Fix Linux user space border check
Linux kernel and user space border is 0xc0000000 not 0xc000000
Signed-off-by: panciyan <pan...@es...>
Change-Id: I6b487cce62ac31737deca97d5f5f7bbc081280f4
Reviewed-on: https://review.openocd.org/c/openocd/+/7570
Tested-by: jenkins
Reviewed-by: Antonio Borneo <bor...@gm...>
diff --git a/src/rtos/linux.c b/src/rtos/linux.c
index f9edabc2b..7517ec7a9 100644
--- a/src/rtos/linux.c
+++ b/src/rtos/linux.c
@@ -123,7 +123,7 @@ static int linux_read_memory(struct target *target,
target->rtos->rtos_specific_params;
uint32_t pa = (address & linux_os->phys_mask) + linux_os->phys_base;
#endif
- if (address < 0xc000000) {
+ if (address < 0xc0000000) {
LOG_ERROR("linux awareness : address in user space");
return ERROR_FAIL;
}
-----------------------------------------------------------------------
Summary of changes:
src/rtos/linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Main OpenOCD repository
|