2 changed files with 22 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||||||
|
// +build mips
|
||||||
|
package bolt |
||||||
|
|
||||||
|
// maxMapSize represents the largest mmap size supported by Bolt.
|
||||||
|
const maxMapSize = 0x40000000 // 1GB
|
||||||
|
|
||||||
|
// maxAllocSize is the size used when creating array pointers.
|
||||||
|
const maxAllocSize = 0xFFFFFFF |
||||||
|
|
||||||
|
// brokenUnaligned Are unaligned load/stores broken on this arch?
|
||||||
|
var brokenUnaligned = false |
@ -0,0 +1,11 @@ |
|||||||
|
// +build mipsle
|
||||||
|
package bolt |
||||||
|
|
||||||
|
// maxMapSize represents the largest mmap size supported by Bolt.
|
||||||
|
const maxMapSize = 0x40000000 // 1GB
|
||||||
|
|
||||||
|
// maxAllocSize is the size used when creating array pointers.
|
||||||
|
const maxAllocSize = 0xFFFFFFF |
||||||
|
|
||||||
|
// brokenUnaligned Are unaligned load/stores broken on this arch?
|
||||||
|
var brokenUnaligned = false |
Loading…
Reference in new issue