TianoCore EDK2 master
Loading...
Searching...
No Matches
FlushCacheLine.c File Reference

Go to the source code of this file.

Functions

VOID *EFIAPI AsmFlushCacheLine (IN VOID *LinearAddress)
 

Detailed Description

AsmFlushCacheLine function

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file FlushCacheLine.c.

Function Documentation

◆ AsmFlushCacheLine()

VOID *EFIAPI AsmFlushCacheLine ( IN VOID *  LinearAddress)

Flushes a cache line from all the instruction and data caches within the coherency domain of the CPU.

Flushed the cache line specified by LinearAddress, and returns LinearAddress. This function is only available on IA-32 and x64.

Parameters
LinearAddressThe address of the cache line to flush. If the CPU is in a physical addressing mode, then LinearAddress is a physical address. If the CPU is in a virtual addressing mode, then LinearAddress is a virtual address.
Returns
LinearAddress

Definition at line 26 of file FlushCacheLine.c.