summaryrefslogtreecommitdiff
path: root/kernel/fd_s.s
blob: a8acb5b69f0bd2ea77a53444b644a2dc28821454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
global fd_isr
extern printk

extern fd_interrupt

fd_isr:
  pusha
  mov ax, ds
  push ax
  mov ax, 0x10
  mov ds, ax
  mov es, ax
  mov fs, ax
  mov gs, ax

  call fd_interrupt

  mov al, 0x20
  out 0x20, al

  pop ax
  mov ds, ax
  mov es, ax
  mov fs, ax
  mov gs, ax
  popa
  iret