<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/tools/syscalls/scripts/syscall_mk.lua, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=main</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2025-02-18T22:03:06Z</updated>
<entry>
<title>makesyscalls: reduce redundency in syscall.mk code</title>
<updated>2025-02-18T22:03:06Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2025-02-18T22:02:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=daca374bc48b5f6975563ae9ecc227868039e807'/>
<id>urn:sha1:daca374bc48b5f6975563ae9ecc227868039e807</id>
<content type='text'>
The two outer blocks had identical contents and the two inner blocks
differed in a single location.

Reviewed by:	kevans
Sponsored by:	DARPA, AFRL
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1575
</content>
</entry>
<entry>
<title>sysent: add a NOLIB modifer to prevent stub generation</title>
<updated>2024-11-01T15:44:47Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-10-30T22:48:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bbc0f33b1317bb922ff3d960216ce7b4af88b8af'/>
<id>urn:sha1:bbc0f33b1317bb922ff3d960216ce7b4af88b8af</id>
<content type='text'>
The yield system call has long existed, but never had a stub.  Replace
the hardcoded checks for it in libsys_h.lua and syscalls_map.lua and
stop inserting it into MIASM (requiring libsys/Makefile.sys to disable
the stub).

(This seems like overkill, but I've got another case in CheriBSD so this
reduces my diff appreciably.)

Reviewed by:	emaste
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1503
</content>
</entry>
<entry>
<title>sys/tools/syscalls: desupport capabilities.conf</title>
<updated>2024-10-30T21:04:31Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-10-22T17:59:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ec86d763d1c94648419aeb931683dcb37bf72656'/>
<id>urn:sha1:ec86d763d1c94648419aeb931683dcb37bf72656</id>
<content type='text'>
We haven't used this since commit be67ea40c5a0 in 2021 so stop carrying
it forward.

Also remove support for setting the list in syscalls.conf via the
capenabled variable.  This was last used by cloudabi (removed in 2021
by commit cf0ee8738e31).
</content>
</entry>
<entry>
<title>Refactor makesyscalls.lua into a library</title>
<updated>2024-10-30T21:04:30Z</updated>
<author>
<name>agge3</name>
<email>sterspark@gmail.com</email>
</author>
<published>2024-10-21T21:42:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9ded074e875c29cb92d5f643801990d7bb23cca4'/>
<id>urn:sha1:9ded074e875c29cb92d5f643801990d7bb23cca4</id>
<content type='text'>
* main.lua replicates the functionality of makesyscalls.lua
* Individual files are generated by their associated module
  * Modules can be called as standalone scripts to generate a specific
    file
* Data and procedures are performed by objects instead of procedual code
* Bitmasks are replaced by declarative types
* Temporary files are no longer produced, writing is stored in memory
* Comments provide explanation to functions and semantics

Google Summer of Code 2024 Final Work Product

Co-authored-by: Warner Losh &lt;imp@freebsd.org&gt;
Co-authored-by: Kyle Evans &lt;kevans@freebsd.org&gt;
Co-authored-by: Brooks Davis &lt;brooks@freebsd.org&gt;
Sponsored by:    Google (GSoC 24)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1362
Signed-off-by: agge3 &lt;sterspark@gmail.com&gt;
</content>
</entry>
</feed>
