Skip to content

Commit

Permalink
Merge pull request #185 from vinc/fix-compilation-warnings
Browse files Browse the repository at this point in the history
Fix compilation warnings on v0.9 branch
  • Loading branch information
phil-opp authored Aug 9, 2021
2 parents 861a49c + c96e1fb commit a562ba9
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/e820.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.section .boot, "awx"
.intel_syntax noprefix
.code16

# From http://wiki.osdev.org/Detecting_Memory_(x86)#Getting_an_E820_Memory_Map
Expand Down
1 change: 0 additions & 1 deletion src/stage_1.s
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.section .boot-first-stage, "awx"
.global _start
.intel_syntax noprefix
.code16

# This stage initializes the stack, enables the A20 line, loads the rest of
Expand Down
1 change: 0 additions & 1 deletion src/stage_2.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.section .boot, "awx"
.intel_syntax noprefix
.code16

# This stage sets the target operating mode, loads the kernel from disk,
Expand Down
1 change: 0 additions & 1 deletion src/stage_3.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.section .boot, "awx"
.intel_syntax noprefix
.code32

# This stage performs some checks on the CPU (cpuid, long mode), sets up an
Expand Down
1 change: 0 additions & 1 deletion src/video_mode/vga_320x200.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.section .boot, "awx"
.intel_syntax noprefix
.code16

config_video_mode:
Expand Down
1 change: 0 additions & 1 deletion src/video_mode/vga_text_80x25.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.section .boot, "awx"
.intel_syntax noprefix
.code16

config_video_mode:
Expand Down
4 changes: 2 additions & 2 deletions x86_64-bootloader.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"os": "none",
"features": "-mmx,-sse,+soft-float",
"disable-redzone": true,
"panic": "abort",
"panic-strategy": "abort",
"executables": true,
"relocation_model": "static"
"relocation-model": "static"
}

0 comments on commit a562ba9

Please sign in to comment.