Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

[Mailbox] Syscalls for Mailbox #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[Mailbox] Syscalls for Mailbox #58

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 14, 2020

No description provided.

@ghost ghost requested review from dayeol and dkohlbre August 15, 2020 16:26
#define SYSCALL_ATTEST_ENCLAVE 1003
#define SYSCALL_EXIT 1101
#define SYSCALL_ATTEST_ENCLAVE 1003
#define RUNTIME_SYSCALL_SEND 1004
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For clarity and consistency, lets call these: SYSCALL_MAILBOX_SEND and SYSCALL_MAILBOX_RECV

@@ -42,5 +45,7 @@ int ocall(unsigned long call_id,
void* return_buffer, size_t return_len);
uintptr_t untrusted_mmap();
int attest_enclave(void* report, void* data, size_t size);

int send_msg(size_t uid, void *buf, size_t msg_size);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, mailbox_send_msg and mailbox_recv_msg or similar.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants