<?xml version='1.0' encoding='iso-8859-1' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.4.7"> <compounddef id="8259_8h" kind="file"> <compoundname>8259.h</compoundname> <includes refid="types_8h" local="no">ubixos/types.h</includes> <includedby refid="init_8h" local="no">src/sys/include/ubixos/init.h</includedby> <includedby refid="8259_8c" local="no">src/sys/isa/8259.c</includedby> <includedby refid="atkbd_8c" local="no">src/sys/isa/atkbd.c</includedby> <includedby refid="fdc_8c" local="no">src/sys/isa/fdc.c</includedby> <includedby refid="mouse_8c" local="no">src/sys/isa/mouse.c</includedby> <includedby refid="ne2k_8c" local="no">src/sys/isa/ne2k.c</includedby> <includedby refid="endtask_8c" local="no">src/sys/kernel/endtask.c</includedby> <includedby refid="kpanic_8c" local="no">src/sys/kernel/kpanic.c</includedby> <includedby refid="sched_8c" local="no">src/sys/kernel/sched.c</includedby> <includedby refid="lnc_8c" local="no">src/sys/pci/lnc.c</includedby> <includedby refid="idt_8c" local="no">src/sys/sys/idt.c</includedby> <incdepgraph> <node id="3184"> <label>ubixos/types.h</label> <link refid="types_8h"/> <childnode refid="3185" relation="include"> </childnode> </node> <node id="3185"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="3183"> <label>src/sys/include/isa/8259.h</label> <link refid="8259.h"/> <childnode refid="3184" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="3197"> <label>src/sys/pci/lnc.c</label> <link refid="lnc_8c"/> </node> <node id="3196"> <label>src/sys/kernel/sched.c</label> <link refid="sched_8c"/> </node> <node id="3188"> <label>src/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="3193"> <label>src/sys/isa/ne2k.c</label> <link refid="ne2k_8c"/> </node> <node id="3190"> <label>src/sys/isa/atkbd.c</label> <link refid="atkbd_8c"/> </node> <node id="3187"> <label>src/sys/include/ubixos/init.h</label> <link refid="init_8h"/> <childnode refid="3188" relation="include"> </childnode> </node> <node id="3195"> <label>src/sys/kernel/kpanic.c</label> <link refid="kpanic_8c"/> </node> <node id="3189"> <label>src/sys/isa/8259.c</label> <link refid="8259_8c"/> </node> <node id="3194"> <label>src/sys/kernel/endtask.c</label> <link refid="endtask_8c"/> </node> <node id="3198"> <label>src/sys/sys/idt.c</label> <link refid="idt_8c"/> </node> <node id="3186"> <label>src/sys/include/isa/8259.h</label> <link refid="8259.h"/> <childnode refid="3187" relation="include"> </childnode> <childnode refid="3189" relation="include"> </childnode> <childnode refid="3190" relation="include"> </childnode> <childnode refid="3191" relation="include"> </childnode> <childnode refid="3192" relation="include"> </childnode> <childnode refid="3193" relation="include"> </childnode> <childnode refid="3194" relation="include"> </childnode> <childnode refid="3195" relation="include"> </childnode> <childnode refid="3196" relation="include"> </childnode> <childnode refid="3197" relation="include"> </childnode> <childnode refid="3198" relation="include"> </childnode> </node> <node id="3191"> <label>src/sys/isa/fdc.c</label> <link refid="fdc_8c"/> </node> <node id="3192"> <label>src/sys/isa/mouse.c</label> <link refid="mouse_8c"/> </node> </invincdepgraph> <sectiondef kind="define"> <memberdef kind="define" id="8259_8h_1417bb9e0e5c2751570faf6d7b848f977" prot="public" static="no"> <name>eoi</name> <initializer>0x20</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="39" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="39" bodyend="-1"/> <referencedby refid="mouse_8c_1db1403c2c7c25ea9b2826c504f8eb502" compoundref="mouse_8c" startline="141" endline="148">mouseHandler</referencedby> <referencedby refid="mouse_8c_1ddd388f29d13c841d76dbab30cdfa756" compoundref="mouse_8c" startline="94" endline="130">mouseInit</referencedby> <referencedby refid="ne2k_8c_11e664af4b82fdc7971db793f0e9b3ebd" compoundref="ne2k_8c" startline="191" endline="221">ne2kHandler</referencedby> </memberdef> <memberdef kind="define" id="8259_8h_1543896e13206abea73704f0f87f65d7e" prot="public" static="no"> <name>icw1</name> <initializer>0x11</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="40" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="40" bodyend="-1"/> <referencedby refid="8259_8c_18045101c57cc1791817412b1016794b4" compoundref="8259_8c" startline="42" endline="60">i8259_init</referencedby> </memberdef> <memberdef kind="define" id="8259_8h_116fcea0b8e8fb321710ee3fe0788b2a6" prot="public" static="no"> <name>icw4</name> <initializer>0x01</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="41" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="41" bodyend="-1"/> <referencedby refid="8259_8c_18045101c57cc1791817412b1016794b4" compoundref="8259_8c" startline="42" endline="60">i8259_init</referencedby> </memberdef> <memberdef kind="define" id="8259_8h_1b5e84ca4c143a8b9a34b575201aaffd5" prot="public" static="no"> <name>mImr</name> <initializer>0x21</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="36" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="36" bodyend="-1"/> <referencedby refid="8259_8c_18045101c57cc1791817412b1016794b4" compoundref="8259_8c" startline="42" endline="60">i8259_init</referencedby> </memberdef> <memberdef kind="define" id="8259_8h_10195451428bc646f820202dc15f25d9f" prot="public" static="no"> <name>mPic</name> <initializer>0x20</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="35" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="35" bodyend="-1"/> <referencedby refid="8259_8c_18045101c57cc1791817412b1016794b4" compoundref="8259_8c" startline="42" endline="60">i8259_init</referencedby> <referencedby refid="8259_8c_1371dc14d6686c2005baaa0be4b26ab87" compoundref="8259_8c" startline="81" endline="88">irqDisable</referencedby> <referencedby refid="8259_8c_149b612db44e9e81ee7bad138264d6e32" compoundref="8259_8c" startline="67" endline="74">irqEnable</referencedby> <referencedby refid="mouse_8c_1db1403c2c7c25ea9b2826c504f8eb502" compoundref="mouse_8c" startline="141" endline="148">mouseHandler</referencedby> <referencedby refid="mouse_8c_1ddd388f29d13c841d76dbab30cdfa756" compoundref="mouse_8c" startline="94" endline="130">mouseInit</referencedby> <referencedby refid="ne2k_8c_11e664af4b82fdc7971db793f0e9b3ebd" compoundref="ne2k_8c" startline="191" endline="221">ne2kHandler</referencedby> </memberdef> <memberdef kind="define" id="8259_8h_17d84962c1a1c225344a94545309f92fc" prot="public" static="no"> <name>mVec</name> <initializer>0x68</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="42" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="42" bodyend="-1"/> <referencedby refid="atkbd_8c_1d67d988f6347d52a6dc9f28992521e37" compoundref="atkbd_8c" startline="157" endline="175">atkbd_init</referencedby> <referencedby refid="fdc_8c_12fad92b12d9ff56bf300b7e53875c75d" compoundref="fdc_8c" startline="63" endline="77">fdc_init</referencedby> <referencedby refid="8259_8c_18045101c57cc1791817412b1016794b4" compoundref="8259_8c" startline="42" endline="60">i8259_init</referencedby> <referencedby refid="lnc_8c_10b7fb4f8833ed743dc1f3c4c90c28731" compoundref="lnc_8c" startline="104" endline="152">initLNC</referencedby> <referencedby refid="mouse_8c_1ddd388f29d13c841d76dbab30cdfa756" compoundref="mouse_8c" startline="94" endline="130">mouseInit</referencedby> <referencedby refid="ne2k_8c_1033e069050ace667acb10ed9ffc8ac6c" compoundref="ne2k_8c" startline="70" endline="113">ne2k_init</referencedby> </memberdef> <memberdef kind="define" id="8259_8h_10cbb9ed77986fdbef8d7c2993555e218" prot="public" static="no"> <name>ocw3Irr</name> <initializer>0x0A</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="44" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="44" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1baacf6309e8d45434b9d3974cec874b7" prot="public" static="no"> <name>ocw3Isr</name> <initializer>0x0B</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="45" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="45" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_113b25eb31f4b435fdb1ed81c10b07315" prot="public" static="no"> <name>sImr</name> <initializer>0xA1</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="38" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="38" bodyend="-1"/> <referencedby refid="8259_8c_18045101c57cc1791817412b1016794b4" compoundref="8259_8c" startline="42" endline="60">i8259_init</referencedby> </memberdef> <memberdef kind="define" id="8259_8h_17d4efc593ecc4ace3d92e1f4ee919b99" prot="public" static="no"> <name>sPic</name> <initializer>0xA0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="37" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="37" bodyend="-1"/> <referencedby refid="8259_8c_18045101c57cc1791817412b1016794b4" compoundref="8259_8c" startline="42" endline="60">i8259_init</referencedby> <referencedby refid="8259_8c_1371dc14d6686c2005baaa0be4b26ab87" compoundref="8259_8c" startline="81" endline="88">irqDisable</referencedby> <referencedby refid="8259_8c_149b612db44e9e81ee7bad138264d6e32" compoundref="8259_8c" startline="67" endline="74">irqEnable</referencedby> <referencedby refid="mouse_8c_1db1403c2c7c25ea9b2826c504f8eb502" compoundref="mouse_8c" startline="141" endline="148">mouseHandler</referencedby> <referencedby refid="mouse_8c_1ddd388f29d13c841d76dbab30cdfa756" compoundref="mouse_8c" startline="94" endline="130">mouseInit</referencedby> <referencedby refid="ne2k_8c_11e664af4b82fdc7971db793f0e9b3ebd" compoundref="ne2k_8c" startline="191" endline="221">ne2kHandler</referencedby> </memberdef> <memberdef kind="define" id="8259_8h_12f7f6ebf05739e77a7c20aee806b771c" prot="public" static="no"> <name>sVec</name> <initializer>0x70</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="43" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" bodystart="43" bodyend="-1"/> <referencedby refid="8259_8c_18045101c57cc1791817412b1016794b4" compoundref="8259_8c" startline="42" endline="60">i8259_init</referencedby> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="8259_8h_18045101c57cc1791817412b1016794b4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int i8259_init</definition> <argsstring>()</argsstring> <name>i8259_init</name> <briefdescription> <para>initialize the 8259 PIC </para> </briefdescription> <detaileddescription> <para>This will initialize both PICs for all of our IRQs </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="47" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/isa/8259.c" bodystart="42" bodyend="60"/> <references refid="8259_8h_1543896e13206abea73704f0f87f65d7e" compoundref="8259_8h" startline="40">icw1</references> <references refid="8259_8h_116fcea0b8e8fb321710ee3fe0788b2a6" compoundref="8259_8h" startline="41">icw4</references> <references refid="kprint_8h_1b2761bdf0cca73ad0fb5880895210cd8" compoundref="kprintf_8c" startline="38" endline="49">kprintf</references> <references refid="8259_8h_1b5e84ca4c143a8b9a34b575201aaffd5" compoundref="8259_8h" startline="36">mImr</references> <references refid="8259_8h_10195451428bc646f820202dc15f25d9f" compoundref="8259_8h" startline="35">mPic</references> <references refid="8259_8h_17d84962c1a1c225344a94545309f92fc" compoundref="8259_8h" startline="42">mVec</references> <references refid="io_8h_18acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="73" endline="79">outportByte</references> <references refid="8259_8h_113b25eb31f4b435fdb1ed81c10b07315" compoundref="8259_8h" startline="38">sImr</references> <references refid="8259_8h_17d4efc593ecc4ace3d92e1f4ee919b99" compoundref="8259_8h" startline="37">sPic</references> <references refid="8259_8h_12f7f6ebf05739e77a7c20aee806b771c" compoundref="8259_8h" startline="43">sVec</references> </memberdef> <memberdef kind="function" id="8259_8h_12b9ec30943ddb0a2ef3bd7ccfd2026c0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void irqDisable</definition> <argsstring>(uInt16 irqNo)</argsstring> <name>irqDisable</name> <param> <type><ref refid="types_8h_13b65128d2644e9b80cec9a69bfa7e094" kindref="member">uInt16</ref></type> <declname>irqNo</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="49"/> <referencedby refid="idt_8c_1ef0711bd8a0f07c3f4b9877fc93930e1" compoundref="idt_8c" startline="281" endline="421">_int13</referencedby> <referencedby refid="kpanic_8c_1db9a182aa071791a306163d50d653deb" compoundref="kpanic_8c" startline="42" endline="60">kpanic</referencedby> <referencedby refid="ne2k_8c_11e664af4b82fdc7971db793f0e9b3ebd" compoundref="ne2k_8c" startline="191" endline="221">ne2kHandler</referencedby> </memberdef> <memberdef kind="function" id="8259_8h_10ac079c4d770f02e505f4d8569a6960a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void irqEnable</definition> <argsstring>(uInt16 irqNo)</argsstring> <name>irqEnable</name> <param> <type><ref refid="types_8h_13b65128d2644e9b80cec9a69bfa7e094" kindref="member">uInt16</ref></type> <declname>irqNo</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h" line="48"/> <referencedby refid="idt_8c_1ef0711bd8a0f07c3f4b9877fc93930e1" compoundref="idt_8c" startline="281" endline="421">_int13</referencedby> <referencedby refid="atkbd_8c_1d67d988f6347d52a6dc9f28992521e37" compoundref="atkbd_8c" startline="157" endline="175">atkbd_init</referencedby> <referencedby refid="fdc_8c_12fad92b12d9ff56bf300b7e53875c75d" compoundref="fdc_8c" startline="63" endline="77">fdc_init</referencedby> <referencedby refid="main_8c_1a099bb67b4698f94150184a0ee8ccffb" compoundref="main_8c" startline="97" endline="152">kmain</referencedby> <referencedby refid="mouse_8c_1ddd388f29d13c841d76dbab30cdfa756" compoundref="mouse_8c" startline="94" endline="130">mouseInit</referencedby> <referencedby refid="ne2k_8c_1033e069050ace667acb10ed9ffc8ac6c" compoundref="ne2k_8c" startline="70" endline="113">ne2k_init</referencedby> <referencedby refid="ne2k_8c_11e664af4b82fdc7971db793f0e9b3ebd" compoundref="ne2k_8c" startline="191" endline="221">ne2kHandler</referencedby> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*****************************************************************************************</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>Copyright<sp/>(c)<sp/>2002-2004<sp/>The<sp/>UbixOS<sp/>Project</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"></highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="7"><highlight class="comment"></highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.<sp/><sp/>Redistributions<sp/>in<sp/>binary</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of<sp/>conditions,<sp/>the<sp/>following</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or<sp/>other<sp/>materials<sp/>provided</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>with<sp/>the<sp/>distribution.<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline> <codeline lineno="15"><highlight class="comment"></highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>COPYRIGHT<sp/>HOLDERS<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>EXPRESS<sp/>OR<sp/>IMPLIED<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="25"><highlight class="comment"></highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>$Id$</highlight></codeline> <codeline lineno="27"><highlight class="comment"></highlight></codeline> <codeline lineno="28"><highlight class="comment">*****************************************************************************************/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_8259_H</highlight></codeline> <codeline lineno="31"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>_8259_H</highlight></codeline> <codeline lineno="32"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="types_8h" kindref="compound">ubixos/types.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="34"><highlight class="normal"></highlight></codeline> <codeline lineno="35" refid="8259_8h_10195451428bc646f820202dc15f25d9f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>mPic<sp/><sp/><sp/><sp/>0x20<sp/>//<sp/>I/O<sp/>for<sp/>master<sp/>PIC<sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="36" refid="8259_8h_1b5e84ca4c143a8b9a34b575201aaffd5" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>mImr<sp/><sp/><sp/><sp/>0x21<sp/>//<sp/>I/O<sp/>for<sp/>master<sp/>IMR<sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="37" refid="8259_8h_17d4efc593ecc4ace3d92e1f4ee919b99" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>sPic<sp/><sp/><sp/><sp/>0xA0<sp/>//<sp/>I/O<sp/>for<sp/>slave<sp/>PIC<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="38" refid="8259_8h_113b25eb31f4b435fdb1ed81c10b07315" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>sImr<sp/><sp/><sp/><sp/>0xA1<sp/>//<sp/>I/O<sp/>for<sp/>slace<sp/>IMR<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="39" refid="8259_8h_1417bb9e0e5c2751570faf6d7b848f977" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>eoi<sp/><sp/><sp/><sp/><sp/>0x20<sp/>//<sp/>EOI<sp/>command<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="40" refid="8259_8h_1543896e13206abea73704f0f87f65d7e" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>icw1<sp/><sp/><sp/><sp/>0x11<sp/>//<sp/>Cascade,<sp/>Edge<sp/>triggered<sp/></highlight></codeline> <codeline lineno="41" refid="8259_8h_116fcea0b8e8fb321710ee3fe0788b2a6" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>icw4<sp/><sp/><sp/><sp/>0x01<sp/>//<sp/>8088<sp/>mode<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="42" refid="8259_8h_17d84962c1a1c225344a94545309f92fc" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>mVec<sp/><sp/><sp/><sp/>0x68<sp/>//<sp/>Vector<sp/>for<sp/>master<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="43" refid="8259_8h_12f7f6ebf05739e77a7c20aee806b771c" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>sVec<sp/><sp/><sp/><sp/>0x70<sp/>//<sp/>Vector<sp/>for<sp/>slave<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="44" refid="8259_8h_10cbb9ed77986fdbef8d7c2993555e218" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>ocw3Irr<sp/>0x0A<sp/>//<sp/>Read<sp/>IRR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="45" refid="8259_8h_1baacf6309e8d45434b9d3974cec874b7" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>ocw3Isr<sp/>0x0B<sp/>//<sp/>Read<sp/>ISR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> <codeline lineno="46"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="47"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="8259_8h_18045101c57cc1791817412b1016794b4" kindref="member">i8259_init</ref>();</highlight></codeline> <codeline lineno="48"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="8259_8h_10ac079c4d770f02e505f4d8569a6960a" kindref="member">irqEnable</ref>(<ref refid="types_8h_13b65128d2644e9b80cec9a69bfa7e094" kindref="member">uInt16</ref><sp/>irqNo);</highlight></codeline> <codeline lineno="49"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="8259_8h_12b9ec30943ddb0a2ef3bd7ccfd2026c0" kindref="member">irqDisable</ref>(<ref refid="types_8h_13b65128d2644e9b80cec9a69bfa7e094" kindref="member">uInt16</ref><sp/>irqNo);</highlight></codeline> <codeline lineno="50"><highlight class="normal"></highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline> <codeline lineno="52"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="53"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline> <codeline lineno="54"><highlight class="comment"><sp/>$Log$</highlight></codeline> <codeline lineno="55"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2006/06/01<sp/>12:46:14<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="56"><highlight class="comment"><sp/>ubix2</highlight></codeline> <codeline lineno="57"><highlight class="comment"></highlight></codeline> <codeline lineno="58"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2005/10/12<sp/>00:13:36<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="59"><highlight class="comment"><sp/>Removed</highlight></codeline> <codeline lineno="60"><highlight class="comment"></highlight></codeline> <codeline lineno="61"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2005/09/26<sp/>17:23:39<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="62"><highlight class="comment"><sp/>no<sp/>message</highlight></codeline> <codeline lineno="63"><highlight class="comment"></highlight></codeline> <codeline lineno="64"><highlight class="comment"><sp/>Revision<sp/>1.4<sp/><sp/>2004/07/09<sp/>13:20:08<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="65"><highlight class="comment"><sp/>Oh<sp/>yeah<sp/>duh<sp/>you<sp/>can<sp/>not<sp/>name<sp/>functions<sp/>with<sp/>numbers</highlight></codeline> <codeline lineno="66"><highlight class="comment"></highlight></codeline> <codeline lineno="67"><highlight class="comment"><sp/>Revision<sp/>1.3<sp/><sp/>2004/07/09<sp/>13:14:29<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="68"><highlight class="comment"><sp/>8259:<sp/>changed<sp/>init8259<sp/>to<sp/>8259_init</highlight></codeline> <codeline lineno="69"><highlight class="comment"><sp/>Adjusted<sp/>Startup<sp/>Routines</highlight></codeline> <codeline lineno="70"><highlight class="comment"></highlight></codeline> <codeline lineno="71"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2004/05/21<sp/>14:57:16<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="72"><highlight class="comment"><sp/>Cleaned<sp/>up</highlight></codeline> <codeline lineno="73"><highlight class="comment"></highlight></codeline> <codeline lineno="74"><highlight class="comment"><sp/>END</highlight></codeline> <codeline lineno="75"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline> </programlisting> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/isa/8259.h"/> </compounddef> </doxygen>