github.com/peggyl/go@v0.0.0-20151008231540-ae315999c2d5/src/runtime/arch_386.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 runtime
     6  
     7  const (
     8  	thechar        = '8'
     9  	_BigEndian     = 0
    10  	_CacheLineSize = 64
    11  	_PhysPageSize  = goos_nacl*65536 + (1-goos_nacl)*4096 // 4k normally; 64k on NaCl
    12  	_PCQuantum     = 1
    13  	_Int64Align    = 4
    14  	hugePageSize   = 1 << 21
    15  )
    16  
    17  type uintreg uint32
    18  type intptr int32 // TODO(rsc): remove