__ptcl

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 
);

Parameters

  • [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.

Requirements

Intrinsic

Architecture

__ptcl

IPF

Header file <intrin.h>

Remarks

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.

See Also

Reference

Compiler Intrinsics