github.com/4ad/go@v0.0.0-20161219182952-69a12818b605/src/runtime/internal/sys/stubs.go (about) 1 // Copyright 2014 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 sys 6 7 // Declarations for runtime services implemented in C or assembly. 8 9 const PtrSize = 4 << (^uintptr(0) >> 63) // unsafe.Sizeof(uintptr(0)) but an ideal const 10 const RegSize = 4 << (^Uintreg(0) >> 63) // unsafe.Sizeof(uintreg(0)) but an ideal const 11 const StackBias = 0x7ff * GoarchSparc64 // 0 normally, 0x7ff for SPARC64