Initialize MXCSR register
已通過所有檢查
ci/woodpecker/push/build Pipeline was successful

此提交包含在:
2023-02-05 00:30:12 +01:00
父節點 5eaf7d63a3
當前提交 c6cadbd655
共有 3 個檔案被更改,包括 29 行新增0 行删除

查看文件

@@ -141,6 +141,25 @@ ArLoadInterruptDescriptorTable(IN PVOID Source)
: "memory");
}
/**
* Loads the value in the source operand into the MXCSR register
*
* @param Source
* Supplies a source value to be loaded into the MXCSR register.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTCDECL
VOID
ArLoadMxcsrRegister(IN ULONG Source)
{
asm volatile("ldmxcsr %0"
:
: "m" (Source));
}
/**
* Loads source data into specified segment.
*