- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If they use the same physical address, how can each processor reference their own registers like apic id register?
Won't this cause disorder?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If they use the same physical address, how can each processor reference their own registers like apic id register?
Won't this cause disorder?
I think you may be tripped up by your interpretation of the statement "APIC are memory mapped devices".
The more accurate way to describe it may be "memory-mapped I/O (operation) is the programming interface to access APIC registers".
The operation of writing a dword to the physical address that maps to an APIC register does not cause the data to latch onto the bus or update into physical DRAM devices.
local APIC is not a piece of hardware shared by multiple logical processors, each logical processor has its own local APIC. Constrast that with physical memory, which is shared by multiple processors.
Take a look at the basic diagram in chapter 2 of volume 1 of the software developer's manual, fig 2-6 and 2-7, for example. In figure 2-8, there is not enough space to showeach local apicexplicitly, but each of the 8 logical processors has its own local APIC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you may be tripped up by your interpretation of the statement "APIC are memory mapped devices".
The more accurate way to describe it may be "memory-mapped I/O (operation) is the programming interface to access APIC registers".
The operation of writing a dword to the physical address that maps to an APIC register does not cause the data to latch onto the bus or update into physical DRAM devices.
local APIC is not a piece of hardware shared by multiple logical processors, each logical processor has its own local APIC. Constrast that with physical memory, which is shared by multiple processors.
Take a look at the basic diagram in chapter 2 of volume 1 of the software developer's manual, fig 2-6 and 2-7, for example. In figure 2-8, there is not enough space to showeach local apicexplicitly, but each of the 8 logical processors has its own local APIC.
Do you mean the local APIC intercepts memory references to its registers by using the apic_base MSR to determine
whether the addressis mappedto its registers?
Thank you very much. I have been trapped by this problem for seval days. I searched the Internet,read many articles including the software developer's manual but I did not find my answer.
I should havesent a threadearlieron this forum. Thanks!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page