...

Source file src/runtime/vdso_linux_loong64.go

Documentation: runtime

     1  // Copyright 2022 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 && loong64
     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/loong64/galign.go arch.MAXWIDTH initialization.
    12  	vdsoArrayMax = 1<<50 - 1
    13  )
    14  
    15  // not currently described in manpages as of May 2022, but will eventually
    16  // appear
    17  // when that happens, see man 7 vdso : loongarch
    18  var vdsoLinuxVersion = vdsoVersionKey{"LINUX_5.10", 0xae78f70}
    19  
    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  

View as plain text