kernel_liteos_a/kernel/base
Zbigniew Bodek 07c89a8473 Fix IS_PERIPH_ADDR() and IS_MEMORY_ADDR() macros
The macros assume that constants that are compared against
"addr" are either unsigned or less than INT_MAX.
In some cases it is not true so change costants to unsigned
using U32_C macros.
The correct solution would be to change teh MEM_ADDR, PMM_BASE, etc.
to be unsigned long but currently "U" suffix is appended in various
places so the assumption is that those macros use default definition
(which is int).

Put "addr" into brackets by the way since it could be an expression
rather than one variable.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Ife9bc5863b4934ecaab64b24faa084b87d7d7ea5
2020-12-31 00:54:33 +08:00
..
core Description:Process security function rectification. 2020-11-05 09:10:14 +08:00
include Fix IS_PERIPH_ADDR() and IS_MEMORY_ADDR() macros 2020-12-31 00:54:33 +08:00
ipc drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
mem drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
misc Fix build when HILOG is disabled 2020-11-17 23:07:01 +08:00
mp drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
om drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
sched/sched_sq drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
vm 内存泄漏、访问野指针以及竞态问题修复。 2020-11-03 11:20:09 +08:00
BUILD.gn drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
Makefile drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00