Merge branch 'disk' of gitlab.os-k.eu:os-k-team/os-k into disk

This commit is contained in:
Adrien Bourmault 2020-02-19 20:45:41 +01:00
commit d515b38f60
No known key found for this signature in database
GPG Key ID: AFEE5788AEE3F4EC
3 changed files with 7 additions and 6 deletions

View File

@ -113,10 +113,11 @@ KernSources = kernel/ke/cpuid.c kernel/mm/paging.c \
kernel/ke/rtc.c kernel/io/keyb.c \ kernel/ke/rtc.c kernel/io/keyb.c \
kernel/io/spkr.c kernel/po/shtdwn.c \ kernel/io/spkr.c kernel/po/shtdwn.c \
kernel/sh/shell.c kernel/sh/shcmds.c \ kernel/sh/shell.c kernel/sh/shcmds.c \
kernel/sh/musage.c kernel/io/ata.c \ kernel/sh/musage.c \
kernel/sh/argv.c kernel/ke/pit.c \ kernel/sh/argv.c kernel/ke/pit.c \
kernel/sh/testcmds.c kernel/mm/palloc.c \ kernel/sh/testcmds.c kernel/mm/palloc.c \
kernel/io/acpi.c kernel/io/pci.c kernel/io/acpi.c kernel/io/pci.c \
drivers/ata.c
KernObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(KernSources)) KernObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(KernSources))
KernDep=$(patsubst %.c,$(KOBJDIR)/%.d,$(KernSources)) KernDep=$(patsubst %.c,$(KOBJDIR)/%.d,$(KernSources))
@ -219,10 +220,10 @@ $(KOBJDIR)/kernel/mm/gdt.o: $(KALEIDDIR)/kernel/mm/gdt.c \
@rm -f $@.1 $@.2 @rm -f $@.1 $@.2
@echo ${CL2}[$@] ${CL}Compiled.${CL3} @echo ${CL2}[$@] ${CL}Compiled.${CL3}
$(KOBJDIR)/kernel/io/ata.o: $(KALEIDDIR)/kernel/io/ata.c \ $(KOBJDIR)/drivers/ata.o: $(KALEIDDIR)/drivers/ata.c \
$(KALEIDDIR)/kernel/io/ata.asm | $(KOBJDIR) $(KALEIDDIR)/drivers/ata.asm | $(KOBJDIR)
@mkdir -p $(shell dirname $@) @mkdir -p $(shell dirname $@)
@$(ASM) $(ASMFLAGS) $(KALEIDDIR)/kernel/io/ata.asm -o $@.1 @$(ASM) $(ASMFLAGS) $(KALEIDDIR)/drivers/ata.asm -o $@.1
@$(KCC) $< -o $@.2 @$(KCC) $< -o $@.2
@$(LD) $(LDFLAGS) -r $@.1 $@.2 -o $@ @$(LD) $(LDFLAGS) -r $@.1 $@.2 -o $@
@rm -f $@.1 $@.2 @rm -f $@.1 $@.2

View File

@ -54,4 +54,4 @@ void IoDetectATA(void)
DebugLog("AHCI controller found ! PCI config addr = %p\n", DebugLog("AHCI controller found ! PCI config addr = %p\n",
ataDevice->configAddr); ataDevice->configAddr);
} }