summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot.nasm
diff options
context:
space:
mode:
authorAlexey Gavrilov <alexey.gavrilov@mail.com>2026-03-28 14:55:53 +0700
committerAlexey Gavrilov <alexey.gavrilov@mail.com>2026-03-28 14:55:53 +0700
commit378972285342f52bb71822d87ba261b76b4a42ed (patch)
tree20ac43a02dce05e09272865f961f2e3decceda1f /arch/x86/boot.nasm
parentc62baf8bca986d493e1caf441ea7a6b9d1c1823f (diff)
Cmake build type at the generation stage
Fix in *nasm* files - set architecture bitness. Move compiler flags from *toolchain* file to *requirements target* considering cmake files. This solution allows available of multi-configurations generators to pass compiler options without affecting on single-configuration generators. TODO - Debug information - Image creation - Build under window platform (optional) Signed-off-by: Alexey Gavrilov <alexey.gavrilov@mail.com>
Diffstat (limited to 'arch/x86/boot.nasm')
-rw-r--r--arch/x86/boot.nasm2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot.nasm b/arch/x86/boot.nasm
index 11175af..d250434 100644
--- a/arch/x86/boot.nasm
+++ b/arch/x86/boot.nasm
@@ -1,3 +1,4 @@
+BITS 32
section .text
extern main, _estack, _init
global _start:function
@@ -13,4 +14,3 @@ _start:
cli
.hang: hlt
jmp .hang
-; .end: