github.com/etecs-ru/go-sys-wineventlog@v0.0.0-20210227233244-4c3abb794018/cpu/cpu_gc_s390x.go (about)

     1  // Copyright 2019 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 gc
     6  // +build gc
     7  
     8  package cpu
     9  
    10  // haveAsmFunctions reports whether the other functions in this file can
    11  // be safely called.
    12  func haveAsmFunctions() bool { return true }
    13  
    14  // The following feature detection functions are defined in cpu_s390x.s.
    15  // They are likely to be expensive to call so the results should be cached.
    16  func stfle() facilityList
    17  func kmQuery() queryResult
    18  func kmcQuery() queryResult
    19  func kmctrQuery() queryResult
    20  func kmaQuery() queryResult
    21  func kimdQuery() queryResult
    22  func klmdQuery() queryResult