[Zion] Add the ability to pass capabilities via endpoint call.

This commit is contained in:
Drew Galbraith 2023-10-24 23:32:05 -07:00
parent 5b781bb394
commit b516087922
18 changed files with 218 additions and 131 deletions

View file

@ -13,6 +13,11 @@ class CapBuffer {
~CapBuffer() { delete[] buffer_; }
void Reset() {
// FIXME: Zero out caps here?
used_slots_ = 0;
}
uint64_t* RawPtr() { return buffer_; }
uint64_t UsedSlots() { return used_slots_; }