arch: Create a method to finalize physical addresses in the TLB
Review Request #1860 - Created May 1, 2013 and submitted
Changeset 9691:653ccf64061a --------------------------- arch: Create a method to finalize physical addresses in the TLB Some architectures (currently only x86) require some fixing-up of physical addresses after a normal address translation. This is usually to remap devices such as the APIC, but could be used for other memory mapped devices as well. When simulating the CPU using hardware virtualization, we still need to do these address fix-ups before inserting the request into the memory system. This patch allows that code to be used by such CPUs without doing full address translations.
Quick regressions pass (with the exception of 02.insttest and 40.m5threads-test-atomic where I can't find the binaries) for all supported architectures. Boots Linux in KVM mode on x86 when applied together with #1861 (x86 requires APIC remapping magic from the TLB).