From 2846867da7e88c3a665d0a8bed6ccec60e6476a1 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 12 Dec 2025 17:41:26 +0100 Subject: build: move platform configuration to preset --- arch/x86_64/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'arch') diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt index 2a6c878..54f04cb 100644 --- a/arch/x86_64/CMakeLists.txt +++ b/arch/x86_64/CMakeLists.txt @@ -43,12 +43,6 @@ target_sources("x86_64" PUBLIC FILES ${ARCH_HEADERS} ) -target_compile_definitions("x86_64" PUBLIC - "PLATFORM_PAGE_SIZE=4096" - "PLATFORM_PAGING_LEVELS=4uz" - "PLATFORM_FRAME_SIZE=PLATFORM_PAGE_SIZE" -) - set(KERNEL_LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/scripts/kernel.ld" PARENT_SCOPE -- cgit v1.2.3