kernel_liteos_a/kernel/base/include
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
..
los_base_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_binarytree_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_err_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_event_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_futex_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_heap_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_ipcdebug_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_membox_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_memory_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_memrecord_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_memstat_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_multipledlinkhead_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_mux_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_oom.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_percpu_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_pmm.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_printf_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_priqueue_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_process_pri.h Description:Process security function rectification. 2020-11-05 09:10:14 +08:00
los_queue_debug_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_queue_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_sched_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_sem_debug_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_sem_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_signal.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_sortlink_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_stackinfo_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_stat_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_swtmr_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_sys_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_task_pri.h Description:Process security function rectification. 2020-11-05 09:10:14 +08:00
los_tick_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_timeslice_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_typedef_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_boot.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_common.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_dump.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_fault.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_filemap.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_iomap.h Fix IS_PERIPH_ADDR() and IS_MEMORY_ADDR() macros 2020-12-31 00:54:33 +08:00
los_vm_lock.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_map.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_page.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_phys.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_shm_pri.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_syscall.h drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
los_vm_zone.h Change DEFINE macro to U32_C 2020-12-31 00:53:09 +08:00