Skip to content

Commit 98ff4e8

Browse files
committed
Move strings only needed in second stage to second stage
1 parent e088a46 commit 98ff4e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/boot.s

-2
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ error_str: .asciz "Error: "
183183
no_cpuid_str: .asciz "No CPUID support"
184184
no_int13h_extensions_str: .asciz "No support for int13h extensions"
185185
second_stage_load_failed_str: .asciz "Failed to load second stage of bootloader"
186-
kernel_load_failed_str: .asciz "Failed to load kernel"
187-
no_long_mode_str: .asciz "No long mode support"
188186

189187
gdtinfo:
190188
.word gdt_end - gdt - 1 # last byte in table

src/second_stage.s

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
.code16
44

55
loading_kernel_block_str: .asciz "loading kernel block..."
6+
kernel_load_failed_str: .asciz "Failed to load kernel"
7+
no_long_mode_str: .asciz "No long mode support"
68

79
second_stage:
810
lea si, second_stage_start_str

0 commit comments

Comments
 (0)