mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
rtos/linux.c: Fix Linux user space border check
Linux kernel and user space border is 0xc0000000 not 0xc000000 Signed-off-by: panciyan <panciyan@eswincomputing.com> Change-Id: I6b487cce62ac31737deca97d5f5f7bbc081280f4 Reviewed-on: https://review.openocd.org/c/openocd/+/7570 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user