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:
parent
1c31f6225f
commit
1e6df1675c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue