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