HomeFreeBSD

Refactor makesyscalls.lua into a library

Description

Refactor makesyscalls.lua into a library

  • 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 <imp@freebsd.org>
Co-authored-by: Kyle Evans <kevans@freebsd.org>
Co-authored-by: Brooks Davis <brooks@freebsd.org>
Sponsored by: Google (GSoC 24)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1362
Signed-off-by: agge3 <sterspark@gmail.com>

Details

Provenance
agge3 <sterspark@gmail.com>Authored on Oct 21 2024, 9:42 PM
brooksCommitted on Oct 30 2024, 9:04 PM
Parents
rGd6bc956e143b: sysent.mk: remove CAPABILITIES_CONF support
Branches
Unknown
Tags
Unknown