Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

clflush over the LAPIC mapping

I am remapping the LAPIC registers page to some virtual address. During the remap procedure, virtual memory subsystem invalidates the TLB for the page and then does clflush over the region, looping from the page start to end with appropriate step.

Unfortunately, on the first clflush, for the lowest address, I get unexpected interrupt. The interrupt is syncronous, i.e. it happens with $eip pointing to clflush.

Is it allowed and correct to call clflush over the virtuall mapping of lapic ?
0 Kudos
0 Replies