Files
xomb-docs/kernel/core/syscall.html
2013-03-14 01:31:54 -04:00

59 lines
1.9 KiB
HTML

<html><head>
<META http-equiv="content-type" content="text/html; charset=utf-8">
<title>kernel.core.syscall</title>
</head><body>
<h1>kernel.core.syscall</h1>
<!-- Generated by Ddoc from ../kernel/core/syscall.d -->
<br><br>
<dl><dt><big>class <u>SyscallImplementations</u>;
</big></dt>
<dd>This structure houses the implementations of system calls.
Do not call these directly.<br><br>
<dl><dt><big>static SyscallError <u>create</u>(out ubyte[] <i>ret</i>, CreateArgs* <i>params</i>);
</big></dt>
<dd>Create a memory segment.
<br><br>
<b>Implements:</b><br>
ubyte[] location = <u>create</u>(ubyte* location, ulong size, int mode);<br><br>
</dd>
<dt><big>static SyscallError <u>makeDeviceGib</u>(out bool <i>ret</i>, MakeDeviceGibArgs* <i>params</i>);
</big></dt>
<dd>Creates a segment for a device.
<br><br>
<b>Implements:</b><br>
bool success = <u>makeDeviceGib</u>(ubyte* gib, PhysicalAddress physAddr, ulong regionLength);<br><br>
</dd>
<dt><big>static SyscallError <u>map</u>(MapArgs* <i>params</i>);
</big></dt>
<dd>Maps an existing section of memory to a new location.
<br><br>
<b>Implements:</b><br>
void <u>map</u>(AddressSpace dest, ubyte[] location, ubyte* destination, AccessMode mode);<br><br>
</dd>
<dt><big>static SyscallError <u>createAddressSpace</u>(out AddressSpace <i>ret</i>, CreateAddressSpaceArgs* <i>params</i>);
</big></dt>
<dd>Create an address space for a process.
<br><br>
<b>Implements:</b><br>
AddressSpace space = <u>createAddressSpace</u>();<br><br>
</dd>
<dt><big>static SyscallError <u>yield</u>(YieldArgs* <i>params</i>);
</big></dt>
<dd>Yield the cpu to the given address space.
<br><br>
<b>Implements:</b><br>
void <u>yield</u>(AddressSpace dest, ulong idx);<br><br>
</dd>
</dl>
</dd>
</dl>
<hr><small>Page generated by <a href="http://www.digitalmars.com/d/1.0/ddoc.html">Ddoc</a>. </small>
</body></html>