On Wednesday 25 June 2014 04:24 PM, Samuel Thibault wrote:
Hello,
Subhashish, le Wed 25 Jun 2014 15:58:11 +0530, a écrit :
But I couldn't wrap my head around listing the generated mig interfaces for
the traps in vki-scnums-gnu.h.
Err, mig does not have to do with traps. Traps are just the kernel
interface, mig is not involved there at all. Mig only comes as a helper
for the particular case of the mach_msg trap, but you will mostly not
need that.
The host system traps plus the syscalls( like __NR_rename are to be
encapsulated within an rpc generated via mig - my guess)
are to be listed there.
No. This file should just enumerate traps, not RPCs. The situation is
different from other OSes. Let me sum the situation up:
https://github.com/sprkv5/valgrind-hurd/blob/main/include/vki/vki-scnums-x86-gnu.h
Is this way proper for the traps to be listed?