Initial Commit

This commit is contained in:
kaguya
2026-04-14 22:52:24 -04:00
commit 426ad76676
184 changed files with 11033 additions and 0 deletions
+207
View File
@@ -0,0 +1,207 @@
# Nuke built-in rules.
.SUFFIXES:
# This is the name that our final executable will have.
# Change as needed.
override OUTPUT := kirkos
# User controllable toolchain and toolchain prefix.
TOOLCHAIN :=
TOOLCHAIN_PREFIX :=
ifneq ($(TOOLCHAIN),)
ifeq ($(TOOLCHAIN_PREFIX),)
TOOLCHAIN_PREFIX := $(TOOLCHAIN)-
endif
endif
# User controllable C compiler command.
ifneq ($(TOOLCHAIN_PREFIX),)
CC := $(TOOLCHAIN_PREFIX)gcc
else
CC := cc
endif
# User controllable linker command.
LD := $(TOOLCHAIN_PREFIX)ld
# Defaults overrides for variables if using "llvm" as toolchain.
ifeq ($(TOOLCHAIN),llvm)
CC := clang
LD := ld.lld
endif
# User controllable C flags.
CFLAGS := -g -O2 -pipe
# User controllable C preprocessor flags. We set none by default.
CPPFLAGS :=
# User controllable nasm flags.
NASMFLAGS := -g
ISO_ROOT := iso_root
ISO := image.iso
EXT2_ROOT := ext2_root
DISK_IMG := disk.img
# User controllable linker flags. We set none by default.
LDFLAGS :=
# Check if CC is Clang.
override CC_IS_CLANG := $(shell ! $(CC) --version 2>/dev/null | grep -q '^Target: '; echo $$?)
# If the C compiler is Clang, set the target as needed.
ifeq ($(CC_IS_CLANG),1)
override CC += \
-target x86_64-unknown-none-elf
endif
# Internal C flags that should not be changed by the user.
override CFLAGS += \
-Wall \
-Wextra \
-std=gnu11 \
-ffreestanding \
-fno-stack-protector \
-fno-stack-check \
-fno-lto \
-fno-PIC \
-ffunction-sections \
-fdata-sections \
-m64 \
-march=x86-64 \
-mabi=sysv \
-mno-80387 \
-mno-mmx \
-mno-sse \
-mno-sse2 \
-mno-red-zone \
-mcmodel=kernel
# Internal C preprocessor flags that should not be changed by the user.
override CPPFLAGS := \
-I src \
$(CPPFLAGS) \
-MMD \
-MP
# Internal nasm flags that should not be changed by the user.
override NASMFLAGS := \
-f elf64 \
$(patsubst -g,-g -F dwarf,$(NASMFLAGS)) \
-Wall
# Internal linker flags that should not be changed by the user.
override LDFLAGS += \
-m elf_x86_64 \
-nostdlib \
-static \
-z max-page-size=0x1000 \
--gc-sections \
-T linker.lds
# Use "find" to glob all *.c, *.S, and *.asm files in the tree and obtain the
# object and header dependency file names.
override SRCFILES := $(shell find -L src -type f 2>/dev/null | LC_ALL=C sort)
override CFILES := $(filter %.c,$(SRCFILES))
override ASFILES := $(filter %.S,$(SRCFILES))
override NASMFILES := $(filter %.asm,$(SRCFILES))
override OBJ := $(addprefix obj/,$(CFILES:.c=.c.o) $(ASFILES:.S=.S.o) $(NASMFILES:.asm=.asm.o))
override HEADER_DEPS := $(addprefix obj/,$(CFILES:.c=.c.d) $(ASFILES:.S=.S.d))
# Default target. This must come first, before header dependencies.
.PHONY: all run clean-iso iso limine debug
all: bin/$(OUTPUT)
LIMINE_DIR := limine
# Include header dependencies.
-include $(HEADER_DEPS)
# Link rules for the final executable.
bin/$(OUTPUT): GNUmakefile linker.lds $(OBJ)
mkdir -p "$(dir $@)"
$(LD) $(LDFLAGS) $(OBJ) -o $@
# Compilation rules for *.c files.
obj/%.c.o: %.c GNUmakefile
mkdir -p "$(dir $@)"
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
# Compilation rules for *.S files.
obj/%.S.o: %.S GNUmakefile
mkdir -p "$(dir $@)"
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
# Compilation rules for *.asm (nasm) files.
obj/%.asm.o: %.asm GNUmakefile
mkdir -p "$(dir $@)"
nasm $(NASMFLAGS) $< -o $@
$(DISK_IMG): $(EXT2_ROOT)
@echo "Creating ext2 disk image from $(EXT2_ROOT)..."
dd if=/dev/zero of=$(DISK_IMG) bs=1M count=32
mkfs.ext2 -F -L KIRKOS $(DISK_IMG)
mkdir -p mnt
sudo mount -o loop $(DISK_IMG) mnt
sudo cp -r $(EXT2_ROOT)/* mnt/
sudo umount mnt
rmdir mnt
@echo "Done: $(DISK_IMG) created"
# Build ISO directory structure
$(ISO_ROOT):
mkdir -p $(ISO_ROOT)/boot
mkdir -p $(ISO_ROOT)/boot/limine
mkdir -p $(ISO_ROOT)/EFI/BOOT
# Copy kernel
$(ISO_ROOT)/boot/$(OUTPUT): bin/$(OUTPUT) | $(ISO_ROOT)
cp -v bin/$(OUTPUT) $(ISO_ROOT)/boot/
# Copy limine BIOS/UEFI files
limine-files: | $(ISO_ROOT)
cp -v limine.conf \
$(LIMINE_DIR)/limine-bios.sys \
$(LIMINE_DIR)/limine-bios-cd.bin \
$(LIMINE_DIR)/limine-uefi-cd.bin \
$(ISO_ROOT)/boot/limine
cp -v $(LIMINE_DIR)/BOOTX64.EFI $(ISO_ROOT)/EFI/BOOT/
cp -v $(LIMINE_DIR)/BOOTIA32.EFI $(ISO_ROOT)/EFI/BOOT/
# Build ISO
iso: all $(ISO_ROOT)/boot/$(OUTPUT) limine-files
xorriso -as mkisofs -R -r -J \
-b boot/limine/limine-bios-cd.bin \
-no-emul-boot -boot-load-size 4 -boot-info-table \
-hfsplus \
-apm-block-size 2048 \
--efi-boot boot/limine/limine-uefi-cd.bin \
-efi-boot-part --efi-boot-image \
--protective-msdos-label \
$(ISO_ROOT) -o $(ISO)
./$(LIMINE_DIR)/limine bios-install $(ISO)
# Run in QEMU
run: $(DISK_IMG) iso
qemu-system-x86_64 -cdrom $(ISO) -hda $(DISK_IMG) -debugcon stdio -m 8G -smp 2 -device ich9-intel-hda -device hda-duplex
debug: iso $(DISK_IMG)
qemu-system-x86_64 \
-cdrom $(ISO) -hda $(DISK_IMG) \
-s -S -debugcon stdio -d int,cpu_reset -m 8G -smp 2 -device ich9-intel-hda,id=hda -device hda-duplex,id=codec0,bus=hda.0,cad=0
# Clean ISO artifacts
clean-iso:
rm -rf $(ISO_ROOT) $(ISO)
# Remove object files and the final executable.
.PHONY: clean
clean:
rm -rf bin obj $(DISK_IMG)
Executable
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
hamidashi no monster
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
dogcatman
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
qwerty
+1
View File
@@ -0,0 +1 @@
test
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
# Timeout in seconds that Limine will use before automatically booting.
timeout: 5
# The entry name that will be displayed in the boot menu.
/kirkOS
# We use the Limine boot protocol.
protocol: limine
# Path to the kernel to boot. boot():/ represents the partition on which limine.conf is located.
path: boot():/boot/kirkos
+10
View File
@@ -0,0 +1,10 @@
# Timeout in seconds that Limine will use before automatically booting.
timeout: 5
# The entry name that will be displayed in the boot menu.
/kirkOS
# We use the Limine boot protocol.
protocol: limine
# Path to the kernel to boot. boot():/ represents the partition on which limine.conf is located.
path: boot():/boot/kirkos
+2
View File
@@ -0,0 +1,2 @@
limine
limine.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+22
View File
@@ -0,0 +1,22 @@
Copyright (C) 2019-2026 Mintsuki and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+19
View File
@@ -0,0 +1,19 @@
.POSIX:
SHELL=/bin/sh
CC=cc
CFLAGS=-g -O2 -pipe
CPPFLAGS=
LDFLAGS=
LIBS=
.PHONY: all
all: limine
.PHONY: clean
clean:
rm -f limine limine.exe
limine: limine.c
$(CC) $(CFLAGS) -std=c99 $(CPPFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1448
View File
File diff suppressed because it is too large Load Diff
+81
View File
@@ -0,0 +1,81 @@
/* Tell the linker that we want an x86_64 ELF64 output file */
OUTPUT_FORMAT(elf64-x86-64)
/* We want the symbol kmain to be our entry point */
ENTRY(kmain)
/* Define the program headers we want so the bootloader gives us the right */
/* MMU permissions; this also allows us to exert more control over the linking */
/* process. */
PHDRS
{
limine_requests PT_LOAD;
text PT_LOAD;
rodata PT_LOAD;
data PT_LOAD;
}
SECTIONS
{
/* We want to be placed in the topmost 2GiB of the address space, for optimisations */
/* and because that is what the Limine spec mandates. */
/* Any address in this region will do, but often 0xffffffff80000000 is chosen as */
/* that is the beginning of the region. */
. = 0xffffffff80000000;
/* Define a section to contain the Limine requests and assign it to its own PHDR */
.limine_requests : {
KEEP(*(.limine_requests_start))
KEEP(*(.limine_requests))
KEEP(*(.limine_requests_end))
} :limine_requests
/* Move to the next memory page for .text */
. = ALIGN(CONSTANT(MAXPAGESIZE));
__text_start_addr = .;
.text : {
*(.text .text.*)
} :text
__text_end_addr = .;
/* Move to the next memory page for .rodata */
. = ALIGN(CONSTANT(MAXPAGESIZE));
__rodata_start_addr = .;
.rodata : {
*(.rodata .rodata.*)
} :rodata
__rodata_end_addr = .;
/* Add a .note.gnu.build-id output section in case a build ID flag is added to the */
/* linker command. */
.note.gnu.build-id : {
*(.note.gnu.build-id)
} :rodata
/* Move to the next memory page for .data */
. = ALIGN(CONSTANT(MAXPAGESIZE));
__data_start_addr = .;
.data : {
*(.data .data.*)
} :data
__data_end_addr = .;
/* NOTE: .bss needs to be the last thing mapped to :data, otherwise lots of */
/* unnecessary zeros will be written to the binary. */
/* If you need, for example, .init_array and .fini_array, those should be placed */
/* above this. */
__bss_start_addr = .;
.bss : {
*(.bss .bss.*)
*(COMMON)
} :data
__bss_end_addr = .;
__kernel_end = .;
/* Discard .note.* and .eh_frame* since they may cause issues on some hosts. */
/DISCARD/ : {
*(.eh_frame*)
*(.note .note.*)
}
}
+5
View File
@@ -0,0 +1,5 @@
obj/src/arch/x86_64/ata.c.o: src/arch/x86_64/ata.c src/arch/x86_64/ata.h \
src/arch/x86_64/io.h src/stdio.h
src/arch/x86_64/ata.h:
src/arch/x86_64/io.h:
src/stdio.h:
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
obj/src/arch/x86_64/e9.c.o: src/arch/x86_64/e9.c src/arch/x86_64/e9.h \
src/arch/x86_64/io.h
src/arch/x86_64/e9.h:
src/arch/x86_64/io.h:
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
obj/src/arch/x86_64/gdt.c.o: src/arch/x86_64/gdt.c src/arch/x86_64/gdt.h \
src/mm/memory.h src/mm/slab.h src/mp/spinlock.h
src/arch/x86_64/gdt.h:
src/mm/memory.h:
src/mm/slab.h:
src/mp/spinlock.h:
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
obj/src/arch/x86_64/gdt_asm.S.o: src/arch/x86_64/gdt_asm.S
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
obj/src/arch/x86_64/i8259.c.o: src/arch/x86_64/i8259.c \
src/arch/x86_64/pic.h src/arch/x86_64/io.h
src/arch/x86_64/pic.h:
src/arch/x86_64/io.h:
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
obj/src/arch/x86_64/idt.c.o: src/arch/x86_64/idt.c src/arch/x86_64/idt.h \
src/util/binary.h
src/arch/x86_64/idt.h:
src/util/binary.h:
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
obj/src/arch/x86_64/idt_asm.S.o: src/arch/x86_64/idt_asm.S
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
obj/src/arch/x86_64/io_asm.S.o: src/arch/x86_64/io_asm.S
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
obj/src/arch/x86_64/ioapic.c.o: src/arch/x86_64/ioapic.c \
src/arch/x86_64/ioapic.h src/stdio.h src/mm/vmm.h src/limine.h
src/arch/x86_64/ioapic.h:
src/stdio.h:
src/mm/vmm.h:
src/limine.h:
+11
View File
@@ -0,0 +1,11 @@
obj/src/arch/x86_64/irq.c.o: src/arch/x86_64/irq.c src/arch/x86_64/irq.h \
src/arch/x86_64/isr.h src/arch/x86_64/i8259.h src/arch/x86_64/pic.h \
src/arch/x86_64/io.h src/util/arrays.h src/stdio.h src/debug.h
src/arch/x86_64/irq.h:
src/arch/x86_64/isr.h:
src/arch/x86_64/i8259.h:
src/arch/x86_64/pic.h:
src/arch/x86_64/io.h:
src/util/arrays.h:
src/stdio.h:
src/debug.h:
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
obj/src/arch/x86_64/isr.c.o: src/arch/x86_64/isr.c src/arch/x86_64/io.h \
src/debug.h src/stdio.h src/arch/x86_64/isr.h src/arch/x86_64/idt.h
src/arch/x86_64/io.h:
src/debug.h:
src/stdio.h:
src/arch/x86_64/isr.h:
src/arch/x86_64/idt.h:
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
obj/src/arch/x86_64/isr_asm.S.o: src/arch/x86_64/isr_asm.S
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
obj/src/arch/x86_64/isrs_gen.c.o: src/arch/x86_64/isrs_gen.c \
src/arch/x86_64/idt.h src/arch/x86_64/gdt.h
src/arch/x86_64/idt.h:
src/arch/x86_64/gdt.h:
Binary file not shown.
+21
View File
@@ -0,0 +1,21 @@
obj/src/arch/x86_64/lapic.c.o: src/arch/x86_64/lapic.c \
src/arch/x86_64/lapic.h src/arch/x86_64/ioapic.h src/arch/x86_64/i8259.h \
src/arch/x86_64/pic.h src/mm/vmm.h src/limine.h src/arch/x86_64/pit.h \
src/arch/x86_64/irq.h src/arch/x86_64/isr.h src/arch/x86_64/io.h \
src/stdio.h src/arch/x86_64/e9.h src/arch/x86_64/rtc.h \
src/sched/scheduler.h src/sched/thread.h
src/arch/x86_64/lapic.h:
src/arch/x86_64/ioapic.h:
src/arch/x86_64/i8259.h:
src/arch/x86_64/pic.h:
src/mm/vmm.h:
src/limine.h:
src/arch/x86_64/pit.h:
src/arch/x86_64/irq.h:
src/arch/x86_64/isr.h:
src/arch/x86_64/io.h:
src/stdio.h:
src/arch/x86_64/e9.h:
src/arch/x86_64/rtc.h:
src/sched/scheduler.h:
src/sched/thread.h:
Binary file not shown.
+13
View File
@@ -0,0 +1,13 @@
obj/src/arch/x86_64/pit.c.o: src/arch/x86_64/pit.c src/arch/x86_64/pit.h \
src/arch/x86_64/irq.h src/arch/x86_64/isr.h src/arch/x86_64/io.h \
src/stdio.h src/arch/x86_64/e9.h src/arch/x86_64/rtc.h \
src/sched/scheduler.h src/sched/thread.h
src/arch/x86_64/pit.h:
src/arch/x86_64/irq.h:
src/arch/x86_64/isr.h:
src/arch/x86_64/io.h:
src/stdio.h:
src/arch/x86_64/e9.h:
src/arch/x86_64/rtc.h:
src/sched/scheduler.h:
src/sched/thread.h:
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
obj/src/arch/x86_64/rtc.c.o: src/arch/x86_64/rtc.c src/arch/x86_64/rtc.h \
src/arch/x86_64/io.h
src/arch/x86_64/rtc.h:
src/arch/x86_64/io.h:
Binary file not shown.
+12
View File
@@ -0,0 +1,12 @@
obj/src/arch/x86_64/usermode.c.o: src/arch/x86_64/usermode.c src/string.h \
src/mm/pmm.h src/limine.h src/mm/vmm.h src/mp/spinlock.h src/mm/memory.h \
src/mm/slab.h src/stdio.h src/fs/elf.h
src/string.h:
src/mm/pmm.h:
src/limine.h:
src/mm/vmm.h:
src/mp/spinlock.h:
src/mm/memory.h:
src/mm/slab.h:
src/stdio.h:
src/fs/elf.h:
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
obj/src/debug.c.o: src/debug.c src/debug.h src/stdio.h
src/debug.h:
src/stdio.h:
BIN
View File
Binary file not shown.
+13
View File
@@ -0,0 +1,13 @@
obj/src/fs/elf.c.o: src/fs/elf.c src/fs/elf.h src/stdio.h src/string.h \
src/mm/pmm.h src/limine.h src/mm/vmm.h src/mp/spinlock.h src/mm/memory.h \
src/mm/slab.h src/fs/ext2.h
src/fs/elf.h:
src/stdio.h:
src/string.h:
src/mm/pmm.h:
src/limine.h:
src/mm/vmm.h:
src/mp/spinlock.h:
src/mm/memory.h:
src/mm/slab.h:
src/fs/ext2.h:
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
obj/src/fs/ext2.c.o: src/fs/ext2.c src/fs/ext2.h src/arch/x86_64/ata.h \
src/mm/memory.h src/mm/slab.h src/stdio.h src/string.h src/mp/spinlock.h
src/fs/ext2.h:
src/arch/x86_64/ata.h:
src/mm/memory.h:
src/mm/slab.h:
src/stdio.h:
src/string.h:
src/mp/spinlock.h:
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
obj/src/fs/vfs.c.o: src/fs/vfs.c src/fs/vfs.h src/fs/ext2.h \
src/video/render.h src/arch/x86_64/e9.h src/mp/spinlock.h
src/fs/vfs.h:
src/fs/ext2.h:
src/video/render.h:
src/arch/x86_64/e9.h:
src/mp/spinlock.h:
Binary file not shown.
+26
View File
@@ -0,0 +1,26 @@
obj/src/main.c.o: src/main.c src/limine.h src/video/render.h \
src/video/tga.h src/stdio.h src/arch/x86_64/gdt.h src/arch/x86_64/idt.h \
src/arch/x86_64/isr.h src/arch/x86_64/irq.h src/mm/memory.h \
src/mm/slab.h src/mm/pmm.h src/mm/vmm.h src/mp/spinlock.h \
src/arch/x86_64/ata.h src/fs/ext2.h src/string.h src/arch/x86_64/io.h \
src/arch/x86_64/usermode.h src/syscall/syscall.h src/fs/vfs.h
src/limine.h:
src/video/render.h:
src/video/tga.h:
src/stdio.h:
src/arch/x86_64/gdt.h:
src/arch/x86_64/idt.h:
src/arch/x86_64/isr.h:
src/arch/x86_64/irq.h:
src/mm/memory.h:
src/mm/slab.h:
src/mm/pmm.h:
src/mm/vmm.h:
src/mp/spinlock.h:
src/arch/x86_64/ata.h:
src/fs/ext2.h:
src/string.h:
src/arch/x86_64/io.h:
src/arch/x86_64/usermode.h:
src/syscall/syscall.h:
src/fs/vfs.h:
BIN
View File
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
obj/src/mm/memory.c.o: src/mm/memory.c src/mm/pmm.h src/limine.h \
src/stdio.h src/mm/vmm.h src/mp/spinlock.h
src/mm/pmm.h:
src/limine.h:
src/stdio.h:
src/mm/vmm.h:
src/mp/spinlock.h:
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
obj/src/mm/pmm.c.o: src/mm/pmm.c src/mm/pmm.h src/limine.h src/mm/vmm.h \
src/mp/spinlock.h src/mm/memory.h src/mm/slab.h src/stdio.h
src/mm/pmm.h:
src/limine.h:
src/mm/vmm.h:
src/mp/spinlock.h:
src/mm/memory.h:
src/mm/slab.h:
src/stdio.h:
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
obj/src/mm/slab.c.o: src/mm/slab.c src/mm/memory.h src/mm/slab.h \
src/mp/spinlock.h src/mm/pmm.h src/limine.h src/mm/slab.h src/mm/vmm.h \
src/stdio.h
src/mm/memory.h:
src/mm/slab.h:
src/mp/spinlock.h:
src/mm/pmm.h:
src/limine.h:
src/mm/slab.h:
src/mm/vmm.h:
src/stdio.h:
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
obj/src/mm/vmm.c.o: src/mm/vmm.c src/mm/vmm.h src/limine.h \
src/mp/spinlock.h src/mm/pmm.h src/mm/memory.h src/mm/slab.h src/stdio.h
src/mm/vmm.h:
src/limine.h:
src/mp/spinlock.h:
src/mm/pmm.h:
src/mm/memory.h:
src/mm/slab.h:
src/stdio.h:
Binary file not shown.
+12
View File
@@ -0,0 +1,12 @@
obj/src/mp/mp.c.o: src/mp/mp.c src/mp/mp.h src/mp/percpu.h \
src/sched/thread.h src/arch/x86_64/gdt.h src/arch/x86_64/lapic.h \
src/limine.h src/arch/x86_64/idt.h src/mm/memory.h src/stdio.h
src/mp/mp.h:
src/mp/percpu.h:
src/sched/thread.h:
src/arch/x86_64/gdt.h:
src/arch/x86_64/lapic.h:
src/limine.h:
src/arch/x86_64/idt.h:
src/mm/memory.h:
src/stdio.h:
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
obj/src/mp/mp_asm.S.o: src/mp/mp_asm.S
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
obj/src/mp/mutex.c.o: src/mp/mutex.c src/mp/mutex.h src/mp/spinlock.h \
src/sched/scheduler.h src/sched/thread.h
src/mp/mutex.h:
src/mp/spinlock.h:
src/sched/scheduler.h:
src/sched/thread.h:
Binary file not shown.
+5
View File
@@ -0,0 +1,5 @@
obj/src/mp/percpu.c.o: src/mp/percpu.c src/mp/percpu.h src/sched/thread.h \
src/arch/x86_64/gdt.h
src/mp/percpu.h:
src/sched/thread.h:
src/arch/x86_64/gdt.h:
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
obj/src/mp/semaphore.c.o: src/mp/semaphore.c src/mp/semaphore.h \
src/mp/spinlock.h src/sched/scheduler.h src/sched/thread.h
src/mp/semaphore.h:
src/mp/spinlock.h:
src/sched/scheduler.h:
src/sched/thread.h:
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
obj/src/mp/spinlock.c.o: src/mp/spinlock.c src/mp/spinlock.h
src/mp/spinlock.h:
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
obj/src/sched/context.S.o: src/sched/context.S
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
obj/src/sched/scheduler.c.o: src/sched/scheduler.c src/sched/scheduler.h \
src/sched/thread.h src/mp/spinlock.h src/mm/memory.h src/stdio.h \
src/string.h
src/sched/scheduler.h:
src/sched/thread.h:
src/mp/spinlock.h:
src/mm/memory.h:
src/stdio.h:
src/string.h:
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More