Source file src/internal/runtime/sys/dit_arm64.go

     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  	"unsafe"
    12  )
    13  
    14  var DITSupported = cpu.ARM64.HasDIT
    15  
    16  const offsetARM64HasSB = unsafe.Offsetof(cpu.ARM64.HasSB)
    17  
    18  func EnableDIT() bool
    19  func DITEnabled() bool
    20  func DisableDIT()
    21  

View as plain text