aboutsummaryrefslogtreecommitdiffstats
path: root/sys/netbsd/amd64.go
Commit message (Collapse)AuthorAgeFilesLines
* sys: move generate files to separate packagesDmitry Vyukov2018-05-051-1678/+0
| | | | | | | | | Move generated files to gen subdir. This allows to: 1. Rebuild init.go without rebuilding generated code. 2. Excluding generated files from gometalinter checking. This makes faster and consume less memory. Update #538
* gometalinter: enable package comment checkingDmitry Vyukov2018-05-031-1/+2
| | | | Update #538
* pkg/compiler: don't assign call IDs staticallyDmitry Vyukov2018-02-251-188/+188
| | | | | | IDs change whenever a call is added or removed, this leads to large diffs unnecessarly. Assign IDs dynamically.
* sys: fix descriptions for strickter return type checksDmitry Vyukov2018-02-231-2/+2
| | | | | Mostly remove vma as return from some mm syscalls. This is unnecessary and we never used these.
* prog: rework address allocationDmitry Vyukov2018-02-191-2/+2
| | | | | | | | | | | | 1. mmap all memory always, without explicit mmap calls in the program. This makes lots of things much easier and removes lots of code. Makes mmap not a special syscall and allows to fuzz without mmap enabled. 2. Change address assignment algorithm. Current algorithm allocates unmapped addresses too frequently and allows collisions between arguments of a single syscall. The new algorithm analyzes actual allocations in the program and places new arguments at unused locations.
* pkg/compiler: support void typeDmitry Vyukov2018-01-131-102/+102
| | | | | | "void": type with static size 0 mostly useful inside of templates and varlen unions can't be syscall argument
* pkg/compiler: add bitsize typeDmitry Vyukov2018-01-061-3/+3
| | | | This is need for few crypto/xfrm descriptions.
* pkg/compiler: add check that len does not refer to array with varlen elementsDmitry Vyukov2017-11-281-3/+3
| | | | | This [almost] always means a bug in descriptions. Fix all bugs identified by the check.
* Changing the types of members of struct statUtkarsh Anand2017-10-301-17/+16
| | | | As defined in the header files.
* Added a few more syscall descriptions, constsUtkarsh Anand2017-10-301-56/+1279
| | | | and other related files.
* Add two new syscalls `shmctl` and `msgctl`Utkarsh Anand2017-10-301-35/+99
|
* Fix the SYS_SEMCTL value issue for NetBSDUtkarsh Anand2017-10-301-12/+12
|
* sys/netbsd: fix mmap signatureDmitry Vyukov2017-10-251-1/+2
| | | | mmap syscall has 7 arguments (one unused padding)
* Lots of changes to sys/netbsd (#397)Utkarsh Anand2017-10-251-0/+390
* Lots of changes to sys/netbsd: - Removed a few syscalls that did not have proper constants defined. - Autogenerated *.const files. - Removed a few types like uid and gid, that were not available. - Ran make generate * Few changes for NetBSD support: - Added sys/netbsd/init.go - Added netbsd to sys/sys.go * Fix order in sys/sys.go * Update documentation for NetBSD