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

127 lines
3.1 KiB
HTML

<html><head>
<META http-equiv="content-type" content="text/html; charset=utf-8">
<title>kernel.system.definitions</title>
</head><body>
<h1>kernel.system.definitions</h1>
<!-- Generated by Ddoc from ../kernel/system/definitions.d -->
<br><br>
<dl><dt><big>struct <u>Memory</u>;
</big></dt>
<dd>This structure keeps track of information pertaining to onboard memory.<br><br>
<dl><dt><big>ulong <u>length</u>;
</big></dt>
<dd>The size of the RAM.<br><br>
</dd>
<dt><big>void* <u>virtualStart</u>;
</big></dt>
<dd>The Virtual location of RAM.<br><br>
</dd>
</dl>
</dd>
<dt><big>struct <u>Module</u>;
</big></dt>
<dd>This structure keeps track of modules loaded alongside the kernel.<br><br>
<dl><dt><big>PhysicalAddress <u>start</u>;
</big></dt>
<dd>The physical location of the module.<br><br>
</dd>
<dt><big>ulong <u>length</u>;
</big></dt>
<dd>The <u>length</u> of the module.<br><br>
</dd>
<dt><big>char[] <u>name</u>;
</big></dt>
<dd>The <u>name</u> of the module, if given.<br><br>
</dd>
<dt><big>char[] <u>path</u>;
</big></dt>
<dd>The <u>path</u> to this module on the file system.<br><br>
</dd>
</dl>
</dd>
<dt><big>enum <u>RegionType</u>;
</big></dt>
<dd>This enum is for the Region structure
It contains human-read information about the type of region.<br><br>
<dl><dt><big><u>Reserved</u></big></dt>
<dd>The region is special reserved data from the BIOS<br><br>
</dd>
<dt><big><u>Kernel</u></big></dt>
<dd>This signifies that this region is the kernel<br><br>
</dd>
</dl>
</dd>
<dt><big>struct <u>Region</u>;
</big></dt>
<dd>This structure keeps track of special memory regions.<br><br>
<dl><dt><big>PhysicalAddress <u>start</u>;
</big></dt>
<dd>The location and length of the region<br><br>
</dd>
<dt><big>ubyte* <u>virtualStart</u>;
</big></dt>
<dd>The virtual location of the region<br><br>
</dd>
<dt><big>RegionType <u>type</u>;
</big></dt>
<dd>The <u>type</u> of region. See above for a list of values.<br><br>
</dd>
</dl>
</dd>
<dt><big>struct <u>Disk</u>;
</big></dt>
<dd>This structure keeps information about the disks found in the system.<br><br>
<dl><dt><big>ulong <u>number</u>;
</big></dt>
<dd>Some identifing <u>number</u> for the drive, as reported by the system.<br><br>
</dd>
<dt><big>ulong <u>cylinders</u>;
</big></dt>
<dd>Typical information about a mechanical hard disk.<br><br>
</dd>
<dt><big>uint <u>numPorts</u>;
</big></dt>
<dd>The ports used to communicate with the disk, if any.<br><br>
</dd>
</dl>
</dd>
<dt><big>struct <u>Processor</u>;
</big></dt>
<dd>This structure stores information about the processors available
in the system.<br><br>
</dd>
<dt><big>struct <u>Cache</u>;
</big></dt>
<dd>This structure stores information about processor caches available.<br><br>
</dd>
<dt><big>struct <u>Device</u>;
</big></dt>
<dd>This structure stores information about known devices on the system.<br><br>
</dd>
</dl>
<hr><small>Page generated by <a href="http://www.digitalmars.com/d/1.0/ddoc.html">Ddoc</a>. </small>
</body></html>