Source file src/runtime/vdso_linux_mips64x.go
1 // Copyright 2019 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 && (mips64 || mips64le) 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/mips64/galign.go arch.MAXWIDTH initialization. 12 vdsoArrayMax = 1<<50 - 1 13 ) 14 15 // see man 7 vdso : mips 16 var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6", 0x3ae75f6} 17 18 // The symbol name is not __kernel_clock_gettime as suggested by the manpage; 19 // according to Linux source code it should be __vdso_clock_gettime instead. 20 var vdsoSymbolKeys = []vdsoSymbolKey{ 21 {"__vdso_clock_gettime", 0xd35ec75, 0x6e43a318, &vdsoClockgettimeSym}, 22 } 23 24 // initialize to fall back to syscall 25 var ( 26 vdsoClockgettimeSym uintptr = 0 27 ) 28