File tree 2 files changed +3
-1
lines changed
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
5
5
MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header
6
6
CHECKSUM equ - (MAGIC + FLAGS ) ; checksum of above, to prove we are multiboot
7
7
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.
8
10
section .multiboot
9
11
align 4
10
12
dd MAGIC
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ static void timer_callback(registers_t regs)
9
9
10
10
void init_timer (u32int frequency )
11
11
{
12
- // Registrujemo timer_callback da bi radili interrupti
12
+ // Register timer_callback that allows interrupt usage.
13
13
register_interrupt_handler (IRQ0 , & timer_callback );
14
14
15
15
// 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