src/internal/runtime/sys/dit_arm64.go
raw| 1 | // Copyright 2024 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build arm64 |
| 6 | |
| 7 | package sys |
| 8 | |
| 9 | import ( |
| 10 | "internal/cpu" |
| 11 | ) |
| 12 | |
| 13 | var DITSupported = cpu.ARM64.HasDIT |
| 14 | |
| 15 | func EnableDIT() bool |
| 16 | func DITEnabled() bool |
| 17 | func DisableDIT() |