unable to write into Local APIC registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
Im using qemu 0.12.3 .I have come to a point where i have developed a
small kernel (setting up the IDT, GDT n all)
Im disabling 8259 and enabling Local APIC but im unable to write into
Local APIC registers . can anyone tell me is there something which im
missing
?
Here is my piece of code

SVR                   EQU    0FEE000F0H ; define the Spurious interrupt vector
APIC_ENABLE           EQU    100H
;disable 8259
MOV AL,0FFH
OUT 0A1H, AL
OUT 021H, AL
;enable local apic and set the spurious interrupt vector
MOV ESI,SVR
MOV EAX,<ESI>
OR  EAX,APIC_ENABLE
MOV <ESI>,EAX

Warm regards,
Ravi Kulkarni.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux