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