mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 02:48:37 +08:00
riscv/addrenv: Fix the user VMA end address
The end address was off by 1, making it overflow to 0 (u32 value).
This commit is contained in:
parent
0cb54c1959
commit
8fdb56b5f2
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
|
||||
/* User address environment end */
|
||||
|
||||
#define ARCH_ADDRENV_VEND (ARCH_ADDRENV_VBASE + ARCH_ADDRENV_MAX_SIZE)
|
||||
#define ARCH_ADDRENV_VEND (ARCH_ADDRENV_VBASE + ARCH_ADDRENV_MAX_SIZE - 1)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
|
Loading…
Reference in a new issue