Mercurial > hg > Members > kono > nitros9-code
view docs/nitros9guide/iniz.refentry @ 2798:b70d93f8d7ce lwtools-port
Updated coco1/modules/makefile and coco3/modules/makefile to help resolve issues with i(x) and s(x) descriptors.
Updated level1/coco1/modules/makefile & level2/coco3/modules/makefile
so that correct values would be sent to assembler when
building superdesc.asm for s(x).dd and i(x).dd descriptors.
author | drencor-xeen |
---|---|
date | Mon, 28 Jan 2013 16:13:05 -0600 |
parents | b00cf13c9f61 |
children |
line wrap: on
line source
<refentry id="iniz"> <refnamediv> <refname>INIZ</refname> <refpurpose>Initialize a device.</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>iniz</command> <arg choice="opt"> <option>devicename [...]</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1> <title>Description</title> <para> Links the specified device to NitrOS-9, places the device addres in a new device table entry, allocates the memory needed by the device driver, and calls the device driver initialization routine. If the device is already installed, <command>iniz</command> does not reinitialize it. </para> <refsect2> <title>Options:</title> <variablelist> <varlistentry> <term>devicename</term> <listitem> <para> is the name of the device drivere you want to initialize. Specify as many device drivers as you wish with one <command>iniz</command> command. </para> </listitem> </varlistentry> </variablelist> </refsect2> <refsect2> <title>Notes:</title> <para> You can use Iniz in the startup file or at the system startup to initialize devices and allocate their static storage at the top of memory (to reduce memory fragmentation). </para> </refsect2> </refsect1> <refsect1> <title>Example:</title> <literallayout> iniz p t2 [ENTER] </literallayout> <para> initializes the p (printer) and t2 (terminal 2) devices. </para> </refsect1> </refentry>