tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Auto-generate module-loadable syscall table?



On Sat, 9 May 2015, David Holland wrote:

On Fri, May 08, 2015 at 06:00:05PM +0800, Paul Goyette wrote:
> I've just noticed that the table in sys/kern/kern_syscall.c is not
> generated from the kern/syscalls.master file.
>
> Is there some reason why kern/Makefile isn't used to create the table at
> the same time as creating the other various syscall-related sources?

All kinds of things about syscalls should be auto-generated that
aren't.

Well, I won't promise to do "all kinds of things" but I am close to getting the auto-load table auto-generated.


Sometime I would like to move to auto-generating all the
copyin/copyout code...

Maybe for a future project.  :)



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


Home | Main Index | Thread Index | Old Index