Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


Microsoft Specific

Emits Purge Local Translation Cache (ptc.l), which is used to purge a range of addresses caused by a page teardown.

void __ptcl( 
   __int64 Address, 
   __int64 Range 

[in] Address

Loaded into the first general register supplied to the instruction. Bits 0 to 60 specify the virtual address to purge. Bits 61 to 63 specify the region identifier.

[in] Range

Loaded into the second general register supplied to the instruction. Bits 2 to 7 represent the page size; other bits are ignored.





Header file <intrin.h>

The difference between __ptcl and __ptcg is that __ptcl affects the local processor, where __ptcg affects all processors in the coherence domain.

For appropriate use of these instructions, see the Intel IPF documentation.

These functions are only available in kernel mode and are only available as intrinsics.

Community Additions

© 2015 Microsoft