Source file src/runtime/vdso_linux_s390x.go

     1  // Copyright 2021 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 linux && s390x
     6  // +build linux,s390x
     7  
     8  package runtime
     9  
    10  const (
    11  	// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
    12  	// See cmd/compile/internal/s390x/galign.go arch.MAXWIDTH initialization.
    13  	vdsoArrayMax = 1<<50 - 1
    14  )
    15  
    16  var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6.29", 0x75fcbb9}
    17  
    18  var vdsoSymbolKeys = []vdsoSymbolKey{
    19  	{"__kernel_clock_gettime", 0xb0cd725, 0xdfa941fd, &vdsoClockgettimeSym},
    20  }
    21  
    22  // initialize with vsyscall fallbacks
    23  var (
    24  	vdsoClockgettimeSym uintptr = 0
    25  )
    26  

View as plain text