1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00

increasing the readability

This commit is contained in:
Stefan Lankes 2017-06-16 01:33:46 +02:00
parent 6033da1ecf
commit f274098382

View file

@ -97,8 +97,8 @@ align 4
hbmem_size dq 0 hbmem_size dq 0
uhyve dd 0 uhyve dd 0
uartport dq 0 uartport dq 0
cmdline dq 0 cmdline dq 0
cmdsize dq 0 cmdsize dq 0
; Bootstrap page tables are used during the initialization. ; Bootstrap page tables are used during the initialization.
align 4096 align 4096
@ -278,9 +278,9 @@ gdt_flush:
global isr%1 global isr%1
align 64 align 64
isr%1: isr%1:
push byte 0 ; pseudo error code push byte 0 ; pseudo error code
push byte %1 push byte %1
jmp common_stub jmp common_stub
%endmacro %endmacro
; Similar to isrstub_pseudo_error, but without pushing ; Similar to isrstub_pseudo_error, but without pushing
@ -290,8 +290,8 @@ gdt_flush:
global isr%1 global isr%1
align 64 align 64
isr%1: isr%1:
push byte %1 push byte %1
jmp common_stub jmp common_stub
%endmacro %endmacro
; Create isr entries, where the number after the ; Create isr entries, where the number after the
@ -343,9 +343,9 @@ isrstub_pseudo_error 9
global irq%1 global irq%1
align 64 align 64
irq%1: irq%1:
push byte 0 ; pseudo error code push byte 0 ; pseudo error code
push byte 32+%1 push byte 32+%1
jmp common_stub jmp common_stub
%endmacro %endmacro
; Create entries for the interrupts 0 to 23 ; Create entries for the interrupts 0 to 23
@ -366,15 +366,15 @@ global wakeup
align 64 align 64
wakeup: wakeup:
push byte 0 ; pseudo error code push byte 0 ; pseudo error code
push byte 121 push byte 121
jmp common_stub jmp common_stub
global mmnif_irq global mmnif_irq
align 64 align 64
mmnif_irq: mmnif_irq:
push byte 0 ; pseudo error code push byte 0 ; pseudo error code
push byte 122 push byte 122
jmp common_stub jmp common_stub
global apic_timer global apic_timer
align 64 align 64