blob: 07b4b47cdb8d258bf03e2a0eae7f36a1e7249d00 [file] [log] [blame]
khenaidooab1f7bd2019-11-14 14:00:27 -05001// +build riscv64
2
3package bbolt
4
5// maxMapSize represents the largest mmap size supported by Bolt.
6const maxMapSize = 0xFFFFFFFFFFFF // 256TB
7
8// maxAllocSize is the size used when creating array pointers.
9const maxAllocSize = 0x7FFFFFFF
10
11// Are unaligned load/stores broken on this arch?
12var brokenUnaligned = true