File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field
55MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header
66CHECKSUM equ - (MAGIC + FLAGS ) ; checksum of above, to prove we are multiboot
77
8+ ; Declare a multiboot header that marks the program as a kernel. These values are documented in the multiboot standard.
9+ ; The bootloader will search for this signature in the first 8 KiB of the kernel file, aligned at a 32-bit boundary.
810section .multiboot
911align 4
1012 dd MAGIC
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ static void timer_callback(registers_t regs)
99
1010void init_timer (u32int frequency )
1111{
12- // Registrujemo timer_callback da bi radili interrupti
12+ // Register timer_callback that allows interrupt usage.
1313 register_interrupt_handler (IRQ0 , & timer_callback );
1414
1515 // The value we send to the PIT is the value to divide it's input clock
You can’t perform that action at this time.
0 commit comments