mirror of
https://github.com/golang/go.git
synced 2025-11-11 22:21:06 +00:00
runtime: include constants and defs_*_*.h types in generated Go defs
I had to rename Kevent and Sigaction to avoid the functions of the same (lowercase) name. LGTM=iant, r R=golang-codereviews, r, iant, aram.h CC=dvyukov, golang-codereviews, khr https://golang.org/cl/140740043
This commit is contained in:
parent
7f2e68e982
commit
9a75c74836
31 changed files with 91 additions and 77 deletions
|
|
@ -22,15 +22,13 @@ const (
|
|||
pageSize = 1 << pageShift
|
||||
pageMask = pageSize - 1
|
||||
|
||||
gcBits = 4
|
||||
wordsPerBitmapByte = 8 / gcBits
|
||||
bitsPerPointer = 2
|
||||
bitsMask = 1<<bitsPerPointer - 1
|
||||
pointersPerByte = 8 / bitsPerPointer
|
||||
bitPtrMask = bitsMask << 2
|
||||
maxGCMask = 64
|
||||
bitsDead = 0
|
||||
bitsPointer = 2
|
||||
bitsPerPointer = 2
|
||||
bitsMask = 1<<bitsPerPointer - 1
|
||||
pointersPerByte = 8 / bitsPerPointer
|
||||
bitPtrMask = bitsMask << 2
|
||||
maxGCMask = 64
|
||||
bitsDead = 0
|
||||
bitsPointer = 2
|
||||
|
||||
bitBoundary = 1
|
||||
bitMarked = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue