2 Commits

Author SHA1 Message Date
Konstantin Bogomolov 4a0bf841d9 Don't return r2 from RawSyscalls.
In practice we don't seem to ever use it.

PiperOrigin-RevId: 681073641
2024-10-01 10:29:10 -07:00
Konstantin Bogomolov fa27ee0b23 Extract kvm variants of Syscall helpers to their own pkg.
These are already used in platform/kvm and pkg/sigframe. Maybe there will be
more in the future that are outside KVM, we don't want to keep redefining
these.

PiperOrigin-RevId: 680737814
2024-09-30 15:22:23 -07:00