diff options
author | dzwdz | 2021-10-15 17:35:22 +0200 |
---|---|---|
committer | dzwdz | 2021-10-15 17:35:22 +0200 |
commit | 75b26dae5bd8a3aa0131a49769cfe9f361808b1b (patch) | |
tree | d990aa4610087e156c69839fa67187832a53c9fd /src/kernel/arch | |
parent | 946313af5905ac3679c1f496f000ba077ce038f0 (diff) |
slightly clean up all the assembly code
Diffstat (limited to 'src/kernel/arch')
-rw-r--r-- | src/kernel/arch/i386/boot.s | 2 | ||||
-rw-r--r-- | src/kernel/arch/i386/gdt/farjump.s | 3 | ||||
-rw-r--r-- | src/kernel/arch/i386/interrupts/isr_stub.s | 3 |
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: |