[Zion] Add a syscall to get a memory object's length.
This commit is contained in:
parent
30b6511467
commit
2e4a12661d
5 changed files with 15 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ SYS3(MemoryObjectCreateContiguous, uint64_t, size, z_cap_t*, vmmo_cap,
|
|||
|
||||
SYS4(MemoryObjectDuplicate, z_cap_t, vmmo_cap, uint64_t, base_offset, uint64_t,
|
||||
length, z_cap_t*, new_vmmo_cap);
|
||||
SYS2(MemoryObjectInspect, z_cap_t, vmmo_cap, uint64_t*, size);
|
||||
|
||||
SYS2(ChannelCreate, z_cap_t*, channel1, z_cap_t*, channel2);
|
||||
SYS5(ChannelSend, z_cap_t, chan_cap, uint64_t, num_bytes, const void*, data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue