[all] Add stub for new Endpoint kernel object
This commit is contained in:
parent
1f7a15eed4
commit
69501bfe01
15 changed files with 144 additions and 38 deletions
|
|
@ -123,6 +123,16 @@ SYS5(PortPoll, z_cap_t, port_cap, uint64_t*, num_bytes, void*, data, uint64_t*,
|
|||
|
||||
SYS2(IrqRegister, uint64_t, irq_num, z_cap_t*, port_cap);
|
||||
|
||||
SYS1(EndpointCreate, z_cap_t*, endpoint_cap);
|
||||
SYS4(EndpointSend, z_cap_t, endpoint_cap, uint64_t, num_bytes, const void*,
|
||||
data, z_cap_t*, reply_port_cap);
|
||||
SYS4(EndpointRecv, z_cap_t, endpoint_cap, uint64_t*, num_bytes, void*, data,
|
||||
z_cap_t*, reply_port_cap);
|
||||
SYS5(ReplyPortSend, z_cap_t, reply_port_cap, uint64_t, num_bytes, const void*,
|
||||
data, uint64_t, num_caps, z_cap_t*, caps);
|
||||
SYS5(ReplyPortRecv, z_cap_t, reply_port_cap, uint64_t*, num_bytes, const void*,
|
||||
data, uint64_t*, num_caps, z_cap_t*, caps);
|
||||
|
||||
SYS2(CapDuplicate, z_cap_t, cap_in, z_cap_t*, cap_out);
|
||||
|
||||
SYS1(Debug, const char*, message);
|
||||
|
|
|
|||
|
|
@ -41,6 +41,13 @@ const uint64_t kZionPortPoll = 0x53;
|
|||
|
||||
const uint64_t kZionIrqRegister = 0x58;
|
||||
|
||||
const uint64_t kZionEndpointCreate = 0x60;
|
||||
const uint64_t kZionEndpointSend = 0x61;
|
||||
const uint64_t kZionEndpointRecv = 0x62;
|
||||
const uint64_t kZionReplyPortSend = 0x63;
|
||||
const uint64_t kZionReplyPortRecv = 0x64;
|
||||
const uint64_t kZionEndpointCall = 0x65;
|
||||
|
||||
#define Z_IRQ_PCI_BASE 0x30
|
||||
|
||||
// Capability Calls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue