MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / MapSharedMemory

Function MapSharedMemory

LibLemon/src/lemon/sharedmem.cpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 }
15
16 volatile void* MapSharedMemory(int64_t key){
17 volatile void* ptr;
18 syscall(SYS_MAP_SHARED_MEMORY, &ptr, key, 0);
19 return ptr;
20 }
21
22 long UnmapSharedMemory(void* address, int64_t key){
23 return syscall(SYS_UNMAP_SHARED_MEMORY, address, key);

Callers 2

WindowMethod · 0.50
ResizeMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected