This PR adds the new syscall instruction to the verifier. It also introduces a data structure to hold syscall registration.
The idea is that Agave will have a data structure to properly organize registrations and then pass the vector directly to rBPF SyscallRegistry::new(). I deemed that this part did not belong in there.
Modifications to the jitter, interpreter and a tidier organization to the execution tests will come in follow up PRs.
This PR adds the new syscall instruction to the verifier. It also introduces a data structure to hold syscall registration.
The idea is that Agave will have a data structure to properly organize registrations and then pass the vector directly to rBPF
SyscallRegistry::new()
. I deemed that this part did not belong in there.Modifications to the jitter, interpreter and a tidier organization to the execution tests will come in follow up PRs.