diff --git a/arch/x86/include/asm/string.h b/arch/x86/include/asm/string.h index b2625069..62cb62d3 100644 --- a/arch/x86/include/asm/string.h +++ b/arch/x86/include/asm/string.h @@ -12,7 +12,6 @@ #define __ARCH_STRING_H__ #include -#include #ifdef __cplusplus extern "C" { diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 41beceaa..ba80b41c 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile @@ -1,4 +1,4 @@ -C_source := scc.c gdt.c kb.c timer.c irq.c isrs.c idt.c vga.c multiboot.c apic.c pci.c processor.c +C_source := gdt.c kb.c timer.c irq.c isrs.c idt.c vga.c multiboot.c apic.c pci.c processor.c ASM_source := entry.asm string.asm MODULE := arch_x86_kernel diff --git a/arch/x86/scc/Makefile b/arch/x86/scc/Makefile new file mode 100644 index 00000000..a2a65832 --- /dev/null +++ b/arch/x86/scc/Makefile @@ -0,0 +1,5 @@ +C_source := scc_init.c +ASM_source := +MODULE := arch_x86_scc + +include $(TOPDIR)/Makefile.inc diff --git a/arch/x86/kernel/scc.c b/arch/x86/scc/scc_init.c similarity index 100% rename from arch/x86/kernel/scc.c rename to arch/x86/scc/scc_init.c diff --git a/arch/x86/include/asm/scc_memcpy.h b/arch/x86/scc/scc_memcpy.h similarity index 100% rename from arch/x86/include/asm/scc_memcpy.h rename to arch/x86/scc/scc_memcpy.h