Skip to content

Commit 1e8b7d2

Browse files
committed
Comments updated.
1 parent e71551b commit 1e8b7d2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

boot.s

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field
55
MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header
66
CHECKSUM 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.
810
section .multiboot
911
align 4
1012
dd MAGIC

timer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ static void timer_callback(registers_t regs)
99

1010
void 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

0 commit comments

Comments
 (0)