Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added doc/timer-design.odg
Binary file not shown.
2 changes: 1 addition & 1 deletion hypervisor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ASFLAGS = --32 -march=i486 -mtune=i486
CFLAGS = -m32 -I../include

COBJS = start.o font.o mouse.o int.o keyboard.o memtest.o mm.o fifo8.o serial.o console.o mmu.o libmmu.o
COBJS = start.o font.o mouse.o int.o keyboard.o memtest.o mm.o fifo8.o serial.o console.o mmu.o libmmu.o timer.o
SOBJS = int_entry.o libmemtest.o


Expand Down
20 changes: 19 additions & 1 deletion hypervisor/int_entry.s
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

.text
.code32
.global inthandler20
.global inthandler21
.global inthandler24
.global inthandler27
.global inthandler2c
.global inthandler24


inthandler24:
Expand All @@ -23,6 +24,23 @@ inthandler24:
pop %es
iretl

#for timer
inthandler20:
push %es
push %ds
pushal
movl %esp,%eax
pushl %eax
mov %ss,%ax
mov %ax,%ds
mov %ax,%es
call _inthandler20
popl %eax
popal
pop %ds
pop %es
iretl

#for keyboard
inthandler21:
push %es
Expand Down
Loading