zephyr/arch/x86
Maksim Masalski 466c5d9dea arch: x86: core: remove order eval of 'z_x86_check_stack_bounds' args
The code depends on the order of evaluation 'z_x86_check_stack_bounds'
function arguments.
The solution is to assign these values to variables and then pass
them in.
The fix would be to make 2 local variables, assign them the values
of _df_esf.esp and .cs, and then call the function with those 2 local
variables as arguments.
Found as a coding guideline violation (MISRA R13.2) by static
coding scanning tool.

Change "int reason" to "unsigned reason" like in other functions.

Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>
2021-06-23 07:10:18 -04:00
..
core arch: x86: core: remove order eval of 'z_x86_check_stack_bounds' args 2021-06-23 07:10:18 -04:00
include x86: mmu: relax KERNEL_VM_OFFSET == SRAM_OFFSET 2021-05-05 19:42:25 -04:00
zefi arch/x86/zefi: Fix entry-nop hack for EFI entry 2021-06-14 08:22:34 -04:00
CMakeLists.txt x86: gen_mmu: allow script to take extra arguments 2021-03-28 08:30:06 -04:00
Kconfig x86: reduce VM size if ACPI to 1GB 2021-06-11 16:12:52 +02:00
gen_gdt.py x86: ia32: load GDT in virtual memory after loading page table 2021-03-16 15:03:44 -04:00
gen_idt.py x86: gen_idt.py: typo fix 2020-05-21 14:44:33 +02:00
gen_mmu.py x86: gen_mmu: add support for boot and pinned regions 2021-05-10 16:00:43 -05:00
ia32.cmake x86: add kconfigs and compiler flags for MMX and SSE* 2021-02-15 08:21:15 -05:00
intel64.cmake x86: add kconfigs and compiler flags for MMX and SSE* 2021-02-15 08:21:15 -05:00
timing.c x86: timing: fix potential divide by zero 2021-04-29 16:49:17 -04:00