KolibriOS kernel
apic.inc File Reference

Functions

void enable_irq (dword irq_line)
 --------------------------------------— from dll.inc More...
 
void disable_irq (dword irq_line)
 

Variables

rd IRQ_COUNT
 
rd irq_mode
 PIC/(IO)APIC. More...
 
rd IOAPIC_base
 
rd ioapic_gsi_base
 zero-based, i.e. not vector More...
 
dd ioapic_cnt
 from MADT aka APIC table More...
 
dd ioapic_cur
 
rd LAPIC_BASE
 
label APIC_init
 
label LAPIC_init
 =========================================================== More...
 
label IOAPIC_read
 =========================================================== IOAPIC implementation More...
 
label IOAPIC_write
 
label PIC_init
 =========================================================== Remap all IRQ to 0x20+ Vectors IRQ0 to vector 0x20, IRQ1 to vector 0x21.... More...
 
label PIT_init
 --------------------------------------— TIMER SET TO 1/100 S More...
 
label unmask_timer
 --------------------------------------— More...
 
label IRQ_mask_all
 --------------------------------------— Disable all IRQ More...
 
label irq_eoi
 --------------------------------------— End Of Interrupt cl - IRQ number __fastcall More...
 
label pci_irq_fixup
 
label get_clock_ns
 

Function Documentation

◆ disable_irq()

void disable_irq ( dword  irq_line)

◆ enable_irq()

void enable_irq ( dword  irq_line)

--------------------------------------— from dll.inc

Source
core/apic.inc:391

Variable Documentation

◆ APIC_init

label APIC_init

◆ get_clock_ns

label get_clock_ns

◆ IOAPIC_base

rd IOAPIC_base
Initial value
MAX_IOAPICS
Source
core/apic.inc:14

◆ ioapic_cnt

dd ioapic_cnt

from MADT aka APIC table

Initial value
?
Source
core/apic.inc:16

◆ ioapic_cur

dd ioapic_cur
Initial value
?
Source
core/apic.inc:17

◆ ioapic_gsi_base

rd ioapic_gsi_base

zero-based, i.e. not vector

Initial value
MAX_IOAPICS
Source
core/apic.inc:15

◆ IOAPIC_read

label IOAPIC_read

=========================================================== IOAPIC implementation

Source
core/apic.inc:238

◆ IOAPIC_write

label IOAPIC_write

◆ IRQ_COUNT

rd IRQ_COUNT
Initial value
MAX_IOAPICS
Source
core/apic.inc:12

◆ irq_eoi

label irq_eoi

--------------------------------------— End Of Interrupt cl - IRQ number __fastcall

Source
core/apic.inc:371

◆ IRQ_mask_all

label IRQ_mask_all

--------------------------------------— Disable all IRQ

Source
core/apic.inc:333

◆ irq_mode

rd irq_mode

PIC/(IO)APIC.

Initial value
1
Source
core/apic.inc:13

◆ LAPIC_BASE

rd LAPIC_BASE
Initial value
1
Source
core/apic.inc:18

◆ LAPIC_init

label LAPIC_init

===========================================================

Source
core/apic.inc:153

◆ pci_irq_fixup

label pci_irq_fixup

◆ PIC_init

label PIC_init

=========================================================== Remap all IRQ to 0x20+ Vectors IRQ0 to vector 0x20, IRQ1 to vector 0x21....

Source
core/apic.inc:265

◆ PIT_init

label PIT_init

--------------------------------------— TIMER SET TO 1/100 S

Source
core/apic.inc:292

◆ unmask_timer

label unmask_timer

--------------------------------------—

Source
core/apic.inc:303