Skip to content
Permalink
Browse files

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>
  • Loading branch information...
Charles E. Youse authored and nashif committed Jun 13, 2019
1 parent 8f14b2e commit 1444ee970e65a431cd4309dc5b80cf80b63418d9
@@ -43,7 +43,7 @@
/soc/riscv32/openisa*/ @MaureenHelm
/arch/x86/ @andrewboie @wentongwu
/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/multiboot.c @gnuless
/soc/x86/ @andrewboie @wentongwu
@@ -9,23 +9,23 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU")
endif()

zephyr_library_sources(
cache.c
cache_s.S
cpuhalt.c
crt0.S
excstub.S
intstub.S
irq_manage.c
swap.S
sys_fatal_error_handler.c
thread.c
spec_ctrl.c
ia32/cache.c
ia32/cache_s.S
ia32/cpuhalt.c
ia32/crt0.S
ia32/excstub.S
ia32/intstub.S
ia32/irq_manage.c
ia32/swap.S
ia32/sys_fatal_error_handler.c
ia32/thread.c
ia32/spec_ctrl.c
)

zephyr_library_sources_if_kconfig( irq_offload.c)
zephyr_library_sources_if_kconfig( x86_mmu.c)
zephyr_library_sources_ifdef(CONFIG_X86_USERSPACE userspace.S)
zephyr_library_sources_ifdef(CONFIG_LAZY_FP_SHARING float.c)
zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD ia32/irq_offload.c)
zephyr_library_sources_ifdef(CONFIG_X86_MMU ia32/x86_mmu.c)
zephyr_library_sources_ifdef(CONFIG_X86_USERSPACE ia32/userspace.S)
zephyr_library_sources_ifdef(CONFIG_LAZY_FP_SHARING ia32/float.c)

# Last since we declare default exception handlers here
zephyr_library_sources(fatal.c)
zephyr_library_sources(ia32/fatal.c)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1444ee9

Please sign in to comment.
You can’t perform that action at this time.