commit | 3e390ed42dce67a642a86fb8481d6f0c18e10fff | [log] [tgz] |
---|---|---|
author | Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no> | Tue Nov 13 17:52:45 2018 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Nov 15 08:18:59 2018 -0500 |
tree | 9205fef51a8dd0e40b8389543e1513a82f1d93a3 | |
parent | a5b7500befffa9e2f179c0a3e98fedd0d01c351f [diff] |
kernel: mem_domain: fix partition end address calculations This commit fixes the calculations of the partition ending addresses in two places in the code, according to: <last> = <start> + <size> - 1. We also rename 'end' to 'last' to stress that we calculate the last address in the partition. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>