EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

MdePkg/Library/BaseLib/Ia32/WriteMsr64.c

Go to the documentation of this file.
00001 
00035 UINT64
00036 EFIAPI
00037 AsmWriteMsr64 (
00038   IN UINT32  Index,
00039   IN UINT64  Value
00040   )
00041 {
00042   _asm {
00043     mov     edx, dword ptr [Value + 4]
00044     mov     eax, dword ptr [Value + 0]
00045     mov     ecx, Index
00046     wrmsr
00047   }
00048 }
00049 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines