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

Go to the source code of this file.

Functions

void __writemsr (unsigned long Register, unsigned __int64 Value)
 
UINT64 EFIAPI AsmWriteMsr64 (IN UINT32 Index, IN UINT64 Value)
 

Detailed Description

CpuBreakpoint function.

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

Definition in file WriteMsr64.c.

Function Documentation

◆ __writemsr()

void __writemsr ( unsigned long  Register,
unsigned __int64  Value 
)

Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.

◆ AsmWriteMsr64()

UINT64 EFIAPI AsmWriteMsr64 ( IN UINT32  Index,
IN UINT64  Value 
)

Write data to MSR.

Parameters
IndexThe register index of MSR.
ValueData wants to be written.
Returns
Value written to MSR.

Definition at line 34 of file WriteMsr64.c.