APIC Note

refiner posted @ 2014年5月15日 16:42 in X86 with tags OS X86 , 1431 阅读

Motivation

This note is the learning note combining intel software developer manual[1] and other blogs. It intends to guide KVM code comprehension.

Local and IO APIC overview

  • Locally connected I/O devices: local interrupts pins (LINT0 & LINT1)
  • Externally connected I/O devices: I/O APIC
  • Inter-processor Interrupts: IPI which is used for software self-interrupts, interrupt forwarding or preemptive scheduling
  • APIC Timer Generated Interrupts: high resolution timer
  • Proformance Monitoring Counter Interrupts: PMI
  • Thermal Senser Interrupts: thermal sensor tripped
  • APIC Internal Error Interrupts: such as accessing unimplemented register

Interrupt source is marked in Local Vector Tabe (LVT). 

IPIs is generated by setting Interrupt Command Register (ICR) on system bus or APIC bus.

System Bus vs APIC Bus

For P6 family and Pentium Processors, IOAPIC connects lapic with 3-wire inter-APIC bus.(APIC Architecture)

For Pentium 4 and Xeon processors, the IOAPIC connects through system bus. (xAPIC Architecuture)

Local APIC

Local APIC ID

Local APIC Version Register

Handling Interrupts

Reference

[1] Intel® 64 and IA-32 Architectures Developer's Manual: Vol. 3A

Avatar_small
is ukessays legit 说:
2019年7月18日 08:38

There are many times in life when you feel as a loser but every time I stood up as even more stronger person than before.You can also get inspire from my life as a blogger. You can find inspiration there for you.

Avatar_small
anshika 说:
2021年3月23日 19:49

I like this post. What's more, I surmise that they having a good time perusing this post.

call girls in Delhi High profile Delhi Call girls call girl in Delhi Lusty Delhi Call girl Independent Call girls in Delhi

they will take a decent site to make a snippet of data. much obliged for offering it to me. 

Avatar_small
ERP full form 说:
2022年8月02日 16:01

In order to ease up all functions and processes into one system, Enterprise Resource Planning created which deals with all these aspects through a single software that can either be a desktop, mobile or cloud based portal as well. ERP full form Do you have a business of your own? If Yes, then you might tired of managing different functions of your business such as finance, manufacturing, IT & Admin, human resources and employee management and many more functions right? In order to ease up all functions and processes into one system, Enterprise Resource Planning created which deals with all these aspects through a single software that can either be a desktop, mobile or cloud based portal as well.

Avatar_small
Datavision 说:
2023年4月10日 03:34

The market for frequency converter is expected to enhance by four fold its current size in a couple of years, with reputed suppliers such as Siemens, Groupe Schneider maintaining a major place in the market. To transform solar electricity into usable electricity, frequency inverters are needed.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter