initial commit

This commit is contained in:
Loïc Grégoire
2026-03-21 22:46:54 -04:00
parent cf7df37498
commit 9e065ee023
45 changed files with 4430 additions and 0 deletions
+78
View File
@@ -0,0 +1,78 @@
mainmenu "Bach Configuration"
choice
prompt "CPU Architecture"
default ARCH_AMD64
config ARCH_AMD64
bool "amd64"
help
Enable this option to select the AMD64 (x86_64) architecture.
config ARCH_AARCH64
bool "aarch64"
help
Enable this option to select the AARCH64 architecture.
config ARCH_UM
bool "User-Mode"
help
Enable this option to select the User-Mode (UM) architecture.
endchoice
choice
prompt "Bootloader support"
depends on (!ARCH_UM)
default BOOT_LIMINE
config BOOT_LIMINE
depends on (ARCH_AMD64 || ARCH_AARCH64)
bool "Limine"
help
Enable this option to select support for the Limine bootloader.
endchoice
menu "Kernel Options"
choice
prompt "Scheduling Algorithm"
default SCHED_RR
config SCHED_ULE
bool "ULE"
help
Enable this option to select the ULE-like scheduler.
config SCHED_RR
bool "Round-Robin"
help
Enable this option to select the Round-Robin scheduler.
endchoice
config SCHED_TIMESLICE
int "Scheduler time slice"
default 10
help
This option sets the default time slice (in milliseconds) used by the scheduler.
config BALANCE_INTERVAL
int "Load balancing interval"
depends on (SCHED_ULE)
default 1000
help
This option sets the rate (in milliseconds) at which thread load balancing is perfomed.
config NCPUS
int "Maximal number of CPUs"
default 1024
help
This option sets the maximum number of CPUs the kernel can support.
endmenu