Skip to content

Commit

Permalink
tests/pit: Increase PIT frequency up to 1KHz
Browse files Browse the repository at this point in the history
Otherwise it's too boring ;)

Signed-off-by: Cyrill Gorcunov <[email protected]>
  • Loading branch information
cyrillos authored and wildea01 committed Jun 1, 2015
1 parent 7c0ec28 commit 339c64c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pit/tick.S
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 51,11 @@ set_pit:
mov $(IO_PIT 3), %dx
mov $0x34, %al
outb %al, %dx
# set 8254 freq 100Hz
# set 8254 freq 1KHz
mov $(IO_PIT), %dx
movb $(TIMER_DIV(100) % 256), %al
movb $(TIMER_DIV(1000) % 256), %al
outb %al, %dx
movb $(TIMER_DIV(100) / 256), %al
movb $(TIMER_DIV(1000) / 256), %al
outb %al, %dx

enable_irq0:
Expand Down

0 comments on commit 339c64c

Please sign in to comment.