]> Cypherpunks.ru repositories - gostls13.git/blob - src/runtime/vdso_linux_ppc64x.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / src / runtime / vdso_linux_ppc64x.go
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
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/ppc64/galign.go arch.MAXWIDTH initialization.
12         vdsoArrayMax = 1<<50 - 1
13 )
14
15 var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6.15", 0x75fcba5}
16
17 var vdsoSymbolKeys = []vdsoSymbolKey{
18         {"__kernel_clock_gettime", 0xb0cd725, 0xdfa941fd, &vdsoClockgettimeSym},
19 }
20
21 // initialize with vsyscall fallbacks
22 var (
23         vdsoClockgettimeSym uintptr = 0
24 )