arch/x86: reorganize core source files

Create source directory for IA32-subarch specific files, and move
qualifying files to that subdirectory.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-06-12 20:38:35 -07:00 committed by Anas Nashif
commit 1444ee970e
18 changed files with 17 additions and 17 deletions

View file

@ -43,7 +43,7 @@
/soc/riscv32/openisa*/ @MaureenHelm /soc/riscv32/openisa*/ @MaureenHelm
/arch/x86/ @andrewboie @wentongwu /arch/x86/ @andrewboie @wentongwu
/arch/x86/core/ @andrewboie /arch/x86/core/ @andrewboie
/arch/x86/core/crt0.S @wentongwu @nashif /arch/x86/core/ia32/crt0.S @wentongwu @nashif
/arch/x86/core/pcie.c @gnuless /arch/x86/core/pcie.c @gnuless
/arch/x86/core/multiboot.c @gnuless /arch/x86/core/multiboot.c @gnuless
/soc/x86/ @andrewboie @wentongwu /soc/x86/ @andrewboie @wentongwu

View file

@ -9,23 +9,23 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU")
endif() endif()
zephyr_library_sources( zephyr_library_sources(
cache.c ia32/cache.c
cache_s.S ia32/cache_s.S
cpuhalt.c ia32/cpuhalt.c
crt0.S ia32/crt0.S
excstub.S ia32/excstub.S
intstub.S ia32/intstub.S
irq_manage.c ia32/irq_manage.c
swap.S ia32/swap.S
sys_fatal_error_handler.c ia32/sys_fatal_error_handler.c
thread.c ia32/thread.c
spec_ctrl.c ia32/spec_ctrl.c
) )
zephyr_library_sources_if_kconfig( irq_offload.c) zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD ia32/irq_offload.c)
zephyr_library_sources_if_kconfig( x86_mmu.c) zephyr_library_sources_ifdef(CONFIG_X86_MMU ia32/x86_mmu.c)
zephyr_library_sources_ifdef(CONFIG_X86_USERSPACE userspace.S) zephyr_library_sources_ifdef(CONFIG_X86_USERSPACE ia32/userspace.S)
zephyr_library_sources_ifdef(CONFIG_LAZY_FP_SHARING float.c) zephyr_library_sources_ifdef(CONFIG_LAZY_FP_SHARING ia32/float.c)
# Last since we declare default exception handlers here # Last since we declare default exception handlers here
zephyr_library_sources(fatal.c) zephyr_library_sources(ia32/fatal.c)