aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/CMakeLists.txt
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-05-04 11:07:48 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2025-05-04 11:07:48 +0000
commitccb0fcb78c0d22ebaeb9aa37f1941b0d44c98038 (patch)
tree266a971084657b0e0eefe3b54a5555efbe50fbed /arch/x86_64/CMakeLists.txt
parent4d4e23116284f41329ea809e2bda86feea1b325c (diff)
downloadteachos-ccb0fcb78c0d22ebaeb9aa37f1941b0d44c98038.tar.xz
teachos-ccb0fcb78c0d22ebaeb9aa37f1941b0d44c98038.zip
move user-mode code into own namespace and linker section
Diffstat (limited to 'arch/x86_64/CMakeLists.txt')
-rw-r--r--arch/x86_64/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt
index 0b4eafe..1ce2731 100644
--- a/arch/x86_64/CMakeLists.txt
+++ b/arch/x86_64/CMakeLists.txt
@@ -119,6 +119,14 @@ target_sources("_interrupt_handling" PRIVATE
)
#[============================================================================[
+# The User code
+#]============================================================================]
+
+target_sources("_context" PRIVATE
+ "src/user/main.cpp"
+)
+
+#[============================================================================[
# The Bootable ISO Image
#]============================================================================]