summaryrefslogtreecommitdiffhomepage
path: root/pkg/ring0/defs_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ring0/defs_amd64.go')
-rw-r--r--pkg/ring0/defs_amd64.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/ring0/defs_amd64.go b/pkg/ring0/defs_amd64.go
index 24f6e4cde..81e90dbf7 100644
--- a/pkg/ring0/defs_amd64.go
+++ b/pkg/ring0/defs_amd64.go
@@ -116,6 +116,11 @@ type CPUArchState struct {
errorType uintptr
*kernelEntry
+
+ // Copies of global variables, stored in CPU so that they can be used by
+ // syscall and exception handlers (in the upper address space).
+ hasXSAVE bool
+ hasXSAVEOPT bool
}
// ErrorCode returns the last error code.