[Zion] Add the ability to pass capabilities via endpoint call.
This commit is contained in:
parent
5b781bb394
commit
b516087922
18 changed files with 218 additions and 131 deletions
|
|
@ -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_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue