Go to file
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
.gitee drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
apps drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
arch Fix build when KERNEL_DYNLOAD is disabled 2020-11-17 23:07:01 +08:00
bsd drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
compat/posix Description:Process security function rectification. 2020-11-05 09:10:14 +08:00
fs Fix various build problems when building for non-HiSi config 2020-11-17 23:07:01 +08:00
kernel Fix IS_PERIPH_ADDR() and IS_MEMORY_ADDR() macros 2020-12-31 00:54:33 +08:00
lib drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
net 实现IPv6地址解析函数ip6addr_aton,代替lwip自带的,修正ifconfig配置ipv6地址时的误报错误 2020-11-02 18:27:34 +08:00
platform Fix build when HILOG is disabled 2020-11-17 23:07:01 +08:00
security drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
shell Fix build error due to "unequal" brackets 2020-11-17 23:07:01 +08:00
syscall Fix various build problems when building for non-HiSi config 2020-11-17 23:07:01 +08:00
tools Introduce Qemu ARM Virt CA7 platform debug configuration file 2020-11-17 23:07:01 +08:00
.gitignore drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
BUILD.gn drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
Kconfig Add Qemu ARM virtual platform to build configuration files 2020-11-17 23:07:01 +08:00
LICENSE add LICENSE 2020-09-10 18:10:26 +08:00
Makefile Add Qemu ARM virtual platform to build configuration files 2020-11-17 23:07:01 +08:00
build.sh add OpenHarmony 1.0 baseline 2020-09-08 17:22:24 +08:00
config.mk drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
readme.md drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00