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:
Russ Cox 2014-08-29 16:00:31 -04:00
parent 7f2e68e982
commit 9a75c74836
31 changed files with 91 additions and 77 deletions

View file

@ -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