On Fri, 8 May 2015, Christos Zoulas wrote:
| Well, there's already a MODULAR keyword for kern/makesyscalls.sh so it
| doesn't seem to be so difficult to possibly add one more parameter to
| those lines (to identify the name of the containing module). Then the
| MODULAR syscalls could all be listed in a new generated source file
| (perhaps kern/syscalls_autoload.h) and be included whereever neeeded
| (for now, that means kern/kern_syscall.h AFAICT).
|
| Or am I totally misunderstanding this comment from kern/Makefile?
|
| MODULAR:attempt to autoload system call if not present
No, looks right to me. Actually the list is inconsistent right now (lfs for
example) so if you auto-gen it, it will be better.
Yeah, the existing inconsistencies concerned me. They'll just get worse
if we continue with manual maintenance of the auto load table.
Let me have a look at updating makesyscalls.sh ...
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
-------------------------------------------------------------------------