diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-04-10 00:35:45 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-10 00:35:45 +0000 |
commit | b49ed2038a13acf391f26a6b4ef7e7808b53103d (patch) | |
tree | c1e2be0fa174d273cb68a5a858c301302749ac89 /pkg/ring0/lib_amd64.go | |
parent | 4c57ae1fda3e3ae786efc905665bd3aa7b09a730 (diff) | |
parent | 7420821a7b5fe15f3666bb4971796cd45fc5ff38 (diff) |
Merge release-20210408.0-15-g7420821a7 (automated)
Diffstat (limited to 'pkg/ring0/lib_amd64.go')
-rw-r--r-- | pkg/ring0/lib_amd64.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/ring0/lib_amd64.go b/pkg/ring0/lib_amd64.go index 0ec5c3bc5..3e6bb9663 100644 --- a/pkg/ring0/lib_amd64.go +++ b/pkg/ring0/lib_amd64.go @@ -61,6 +61,12 @@ func wrgsbase(addr uintptr) // wrgsmsr writes to the GS_BASE MSR. func wrgsmsr(addr uintptr) +// stmxcsr reads the MXCSR control and status register. +func stmxcsr(addr *uint32) + +// ldmxcsr writes to the MXCSR control and status register. +func ldmxcsr(addr *uint32) + // readCR2 reads the current CR2 value. func readCR2() uintptr |