kernel.core.syscall



class SyscallImplementations;
This structure houses the implementations of system calls. Do not call these directly.

static SyscallError create(out ubyte[] ret, CreateArgs* params);
Create a memory segment.

Implements:
ubyte[] location = create(ubyte* location, ulong size, int mode);

static SyscallError makeDeviceGib(out bool ret, MakeDeviceGibArgs* params);
Creates a segment for a device.

Implements:
bool success = makeDeviceGib(ubyte* gib, PhysicalAddress physAddr, ulong regionLength);

static SyscallError map(MapArgs* params);
Maps an existing section of memory to a new location.

Implements:
void map(AddressSpace dest, ubyte[] location, ubyte* destination, AccessMode mode);

static SyscallError createAddressSpace(out AddressSpace ret, CreateAddressSpaceArgs* params);
Create an address space for a process.

Implements:
AddressSpace space = createAddressSpace();

static SyscallError yield(YieldArgs* params);
Yield the cpu to the given address space.

Implements:
void yield(AddressSpace dest, ulong idx);


Page generated by Ddoc.