summaryrefslogtreecommitdiff
path: root/configs/default_aarch64
diff options
context:
space:
mode:
Diffstat (limited to 'configs/default_aarch64')
-rw-r--r--configs/default_aarch6454
1 files changed, 54 insertions, 0 deletions
diff --git a/configs/default_aarch64 b/configs/default_aarch64
new file mode 100644
index 0000000..9835e87
--- /dev/null
+++ b/configs/default_aarch64
@@ -0,0 +1,54 @@
+# ============================================================================
+# MyOS Kernel Configuration — AArch64 Default
+#
+# Copy to project root as .config and edit:
+# cp configs/default_aarch64 .config
+# vim .config
+# make (configure.py runs automatically)
+# ============================================================================
+
+# ── Basic ───────────────────────────────────────────────────────────────────
+KERNEL_VERSION="v0.0.1"
+KERNEL_FILE_NAME="kernel.elf"
+
+# ── Architecture ────────────────────────────────────────────────────────────
+# Set by the build system via ARCH= variable. Do not set here.
+AARCH64=y
+
+# ── Debugging ───────────────────────────────────────────────────────────────
+DEBUG_SERIAL=y
+DEBUG_VERBOSE_BOOT=y
+DEBUG_PAGE_ALLOC=n
+DEBUG_SCHEDULER=n
+DEBUG_SYSCALL_TRACE=n
+
+# ── Memory ──────────────────────────────────────────────────────────────────
+MAX_CPUS=4
+KERNEL_STACK_SIZE=16384
+PMM_TYPE=buddy
+HEAP_TYPE=slab
+
+# ── Drivers ─────────────────────────────────────────────────────────────────
+DRIVER_FBCON=y
+DRIVER_PL011_UART=y
+DRIVER_PS2KBD=n
+DRIVER_VIRTIO_BLK=y
+DRIVER_AHCI=n
+DRIVER_USB=n
+DRIVER_VIRTIO_NET=n
+
+# ── Filesystems ─────────────────────────────────────────────────────────────
+FS_INITRAMFS=y
+FS_TMPFS=y
+FS_EXT2=n
+FS_FAT32=n
+
+# ── Console ─────────────────────────────────────────────────────────────────
+FBCON_FG_COLOR=0x00CCCCCC
+FBCON_BG_COLOR=0x001A1A2E
+
+# ── Kernel features ────────────────────────────────────────────────────────
+FEATURE_SMP=n
+FEATURE_MODULES=n
+FEATURE_NETWORK=n
+FEATURE_POSIX_SIGNALS=n