runtime: scan register backing store on ia64
[official-gcc.git] / libgo / go / runtime / export_mmap_test.go
blob6e05bb9fbb766b65e2daeb83b32f74e5defa312f
1 // Copyright 2016 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.
5 // Export guts for testing.
7 package runtime
9 var Mmap = mmap
10 var Munmap = munmap
11 var Errno = errno
13 const ENOMEM = _ENOMEM
14 const MAP_ANON = _MAP_ANON
15 const MAP_PRIVATE = _MAP_PRIVATE
16 const MAP_FIXED = _MAP_FIXED
18 func GetPhysPageSize() uintptr {
19 return physPageSize