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