[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
|
|
@ -22,8 +22,10 @@ void EndpointServer::ServerThread() {
|
|||
while (true) {
|
||||
uint64_t message_size = kBufferSize;
|
||||
uint64_t reply_port_cap = 0;
|
||||
glcr::ErrorCode err = ZEndpointRecv(endpoint_cap_, &message_size,
|
||||
recieve_buffer_, &reply_port_cap);
|
||||
uint64_t num_caps = 0;
|
||||
glcr::ErrorCode err =
|
||||
ZEndpointRecv(endpoint_cap_, &message_size, recieve_buffer_, &num_caps,
|
||||
nullptr, &reply_port_cap);
|
||||
if (err != glcr::OK) {
|
||||
dbgln("Error in receive: %x", err);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue