github.com/geraldss/go/src@v0.0.0-20210511222824-ac7d0ebfc235/runtime/vdso_linux_ppc64x.go (about) 1 // Copyright 2018 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 // +build linux 6 // +build ppc64 ppc64le 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/ppc64/galign.go arch.MAXWIDTH initialization. 13 vdsoArrayMax = 1<<50 - 1 14 ) 15 16 var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6.15", 0x75fcba5} 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 )