1// Copyright 2012 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 5package runtime 6 7const ( 8 // vdsoArrayMax is the byte-size of a maximally sized array on this architecture. 9 // See cmd/compile/internal/amd64/galign.go arch.MAXWIDTH initialization. 10 vdsoArrayMax = 1<<50 - 1 11) 12 13var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6", 0x3ae75f6} 14 15var vdsoSymbolKeys = []vdsoSymbolKey{ 16 {"__vdso_gettimeofday", 0x315ca59, 0xb01bca00, &vdsoGettimeofdaySym}, 17 {"__vdso_clock_gettime", 0xd35ec75, 0x6e43a318, &vdsoClockgettimeSym}, 18} 19 20// initialize with vsyscall fallbacks 21var ( 22 vdsoGettimeofdaySym uintptr = 0xffffffffff600000 23 vdsoClockgettimeSym uintptr = 0 24) 25