summaryrefslogtreecommitdiff
path: root/src/kernel/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch')
-rw-r--r--src/kernel/arch/i386/boot.s2
-rw-r--r--src/kernel/arch/i386/gdt/farjump.s3
-rw-r--r--src/kernel/arch/i386/interrupts/isr_stub.s3
3 files changed, 2 insertions, 6 deletions
diff --git a/src/kernel/arch/i386/boot.s b/src/kernel/arch/i386/boot.s
index 9fd7d5d..ea31aa1 100644
--- a/src/kernel/arch/i386/boot.s
+++ b/src/kernel/arch/i386/boot.s
@@ -23,5 +23,3 @@ halt_cpu:
cli
1: hlt
jmp 1b
-
-.size _start, . - _start
diff --git a/src/kernel/arch/i386/gdt/farjump.s b/src/kernel/arch/i386/gdt/farjump.s
index 85d8ba5..2885d2b 100644
--- a/src/kernel/arch/i386/gdt/farjump.s
+++ b/src/kernel/arch/i386/gdt/farjump.s
@@ -4,6 +4,5 @@
gdt_farjump:
/* retf pops off the return address and code segment off the stack.
* it turns out that in the i386 cdecl calling convention they're in
- * the correct place already.
- */
+ * the correct place already. */
retf
diff --git a/src/kernel/arch/i386/interrupts/isr_stub.s b/src/kernel/arch/i386/interrupts/isr_stub.s
index 614dc7f..8efb1b7 100644
--- a/src/kernel/arch/i386/interrupts/isr_stub.s
+++ b/src/kernel/arch/i386/interrupts/isr_stub.s
@@ -2,11 +2,10 @@
.global _isr_stubs
_isr_stubs:
-
.rept 256
- .align 8
pushal
call _isr_stage2
+ .align 8
.endr
_isr_stage2: