This is an automated email from Gerrit.

"Name of user not set <panci...@eswincomputing.com>" just uploaded a new patch 
set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7570

-- gerrit

commit ff935d0b99484e748590c5e17b01c8574297e26a
Author: panciyan <panci...@eswincomputing.com>
Date:   Sun Apr 2 05:17:17 2023 +0000

    rtos/linux.c: Fix Linux user space border check
    
    Linux kernel and user space barder is 0xc0000000 not 0xc000000
    
    Signed-off-by: panciyan <panci...@eswincomputing.com>
    Change-Id: I6b487cce62ac31737deca97d5f5f7bbc081280f4

diff --git a/src/rtos/linux.c b/src/rtos/linux.c
index f9edabc2bf..7517ec7a9a 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;
        }

-- 

Reply via email to