I want to implement the simple getcpu syscall. According to man getcpu and kernel source in kernel/sys.c, that function as an argument an unsigned *cpu to which it writes the value.
I was looking through the other syscall implementations in syscall_emul.hh but all I've seen so far appear to assume host and guest sizes match and simply do a sizeof() to determine the size of their BufferArg. Is this supported by your Guest ABI patches Gabe, and if so is there an example usage somewhere in the code? _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev