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