mirror of
https://github.com/xomboverlord/xomb-docs.git
synced 2026-03-28 06:49:04 +01:00
Adds kernel docs.
This commit is contained in:
38
kernel/system/bootinfo.html
Normal file
38
kernel/system/bootinfo.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<html><head>
|
||||
<META http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>kernel.system.bootinfo</title>
|
||||
</head><body>
|
||||
<h1>kernel.system.bootinfo</h1>
|
||||
<!-- Generated by Ddoc from ../kernel/system/bootinfo.d -->
|
||||
<br><br>
|
||||
<dl><dt><big>struct <u>BootInfo</u>;
|
||||
</big></dt>
|
||||
<dd>This structure will handle all requests to the information given
|
||||
by the bootloader. It makes no assumptions about which bootloader
|
||||
is actually used by the system.<br><br>
|
||||
|
||||
<dl><dt><big>enum <u>Type</u>;
|
||||
</big></dt>
|
||||
<dd>All of the types of boot loader specifications in use, so we
|
||||
*can* make assumptions sometimes.<br><br>
|
||||
|
||||
</dd>
|
||||
<dt><big>static ErrorVal <u>initialize</u>(int <i>bootLoaderID</i>, void* <i>data</i>);
|
||||
</big></dt>
|
||||
<dd>This function takes in the parameters passed to kmain.
|
||||
It will pass it off to the correct module for utilization.
|
||||
<br><br>
|
||||
<b>Params:</b><br>
|
||||
<table><tr><td>int <i>bootLoaderID</i></td>
|
||||
<td>the id the bootloader passes to identify itself.</td></tr>
|
||||
<tr><td>void* <i>data</i></td>
|
||||
<td>the payload point the bootloader passes with system info.</td></tr>
|
||||
</table><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>
|
||||
Reference in New Issue
Block a user