<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16"> <compounddef id="8259_8h" kind="file" language="C++"> <compoundname>8259.h</compoundname> <includes refid="include_2sys_2types_8h" local="no">sys/types.h</includes> <includedby refid="armv6_2kpanic_8c" local="no">C:/Dev/git/UbixOS/sys/arch/armv6/kpanic.c</includedby> <includedby refid="armv6_2sched_8c" local="no">C:/Dev/git/UbixOS/sys/arch/armv6/sched.c</includedby> <includedby refid="i386_2kpanic_8c" local="no">C:/Dev/git/UbixOS/sys/arch/i386/kpanic.c</includedby> <includedby refid="i386_2sched_8c" local="no">C:/Dev/git/UbixOS/sys/arch/i386/sched.c</includedby> <includedby refid="ubixos_2init_8h" local="no">C:/Dev/git/UbixOS/sys/include/ubixos/init.h</includedby> <includedby refid="8259_8c" local="no">C:/Dev/git/UbixOS/sys/isa/8259.c</includedby> <includedby refid="atkbd_8c" local="no">C:/Dev/git/UbixOS/sys/isa/atkbd.c</includedby> <includedby refid="fdc_8c" local="no">C:/Dev/git/UbixOS/sys/isa/fdc.c</includedby> <includedby refid="mouse_8c" local="no">C:/Dev/git/UbixOS/sys/isa/mouse.c</includedby> <includedby refid="ne2k_8c" local="no">C:/Dev/git/UbixOS/sys/isa/ne2k.c</includedby> <includedby refid="endtask_8c" local="no">C:/Dev/git/UbixOS/sys/kernel/endtask.c</includedby> <includedby refid="lnc_8c" local="no">C:/Dev/git/UbixOS/sys/pci/lnc.c</includedby> <includedby refid="idt_8c" local="no">C:/Dev/git/UbixOS/sys/sys/idt.c</includedby> <incdepgraph> <node id="4"> <label>sys/select.h</label> <link refid="select_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="8"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/isa/8259.h</label> <link refid="8259_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="2"> <label>sys/types.h</label> <link refid="include_2sys_2types_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="5"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="3"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="6"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="7"> <label>sys/_timeval.h</label> <link refid="__timeval_8h"/> <childnode refid="3" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="7"> <label>C:/Dev/git/UbixOS/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="9"> <label>C:/Dev/git/UbixOS/sys/isa/atkbd.c</label> <link refid="atkbd_8c"/> </node> <node id="15"> <label>C:/Dev/git/UbixOS/sys/sys/idt.c</label> <link refid="idt_8c"/> </node> <node id="5"> <label>C:/Dev/git/UbixOS/sys/arch/i386/sched.c</label> <link refid="i386_2sched_8c"/> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/kpanic.c</label> <link refid="armv6_2kpanic_8c"/> </node> <node id="13"> <label>C:/Dev/git/UbixOS/sys/kernel/endtask.c</label> <link refid="endtask_8c"/> </node> <node id="14"> <label>C:/Dev/git/UbixOS/sys/pci/lnc.c</label> <link refid="lnc_8c"/> </node> <node id="12"> <label>C:/Dev/git/UbixOS/sys/isa/ne2k.c</label> <link refid="ne2k_8c"/> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/isa/8259.h</label> <link refid="8259_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> </node> <node id="10"> <label>C:/Dev/git/UbixOS/sys/isa/fdc.c</label> <link refid="fdc_8c"/> </node> <node id="3"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/sched.c</label> <link refid="armv6_2sched_8c"/> </node> <node id="8"> <label>C:/Dev/git/UbixOS/sys/isa/8259.c</label> <link refid="8259_8c"/> </node> <node id="4"> <label>C:/Dev/git/UbixOS/sys/arch/i386/kpanic.c</label> <link refid="i386_2kpanic_8c"/> </node> <node id="11"> <label>C:/Dev/git/UbixOS/sys/isa/mouse.c</label> <link refid="mouse_8c"/> </node> <node id="6"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="7" relation="include"> </childnode> </node> </invincdepgraph> <sectiondef kind="define"> <memberdef kind="define" id="8259_8h_1a417bb9e0e5c2751570faf6d7b848f977" prot="public" static="no"> <name>eoi</name> <initializer>0x20</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="38" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="38" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1a543896e13206abea73704f0f87f65d7e" prot="public" static="no"> <name>icw1</name> <initializer>0x11</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="39" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="39" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1a16fcea0b8e8fb321710ee3fe0788b2a6" prot="public" static="no"> <name>icw4</name> <initializer>0x01</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="40" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="40" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1ab5e84ca4c143a8b9a34b575201aaffd5" prot="public" static="no"> <name>mImr</name> <initializer>0x21</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="35" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="35" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1a0195451428bc646f820202dc15f25d9f" prot="public" static="no"> <name>mPic</name> <initializer>0x20</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="34" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="34" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1a7d84962c1a1c225344a94545309f92fc" prot="public" static="no"> <name>mVec</name> <initializer>0x68</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="41" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="41" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1a0cbb9ed77986fdbef8d7c2993555e218" prot="public" static="no"> <name>ocw3Irr</name> <initializer>0x0A</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="43" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="43" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1abaacf6309e8d45434b9d3974cec874b7" prot="public" static="no"> <name>ocw3Isr</name> <initializer>0x0B</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="44" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="44" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1a13b25eb31f4b435fdb1ed81c10b07315" prot="public" static="no"> <name>sImr</name> <initializer>0xA1</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="37" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="37" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1a7d4efc593ecc4ace3d92e1f4ee919b99" prot="public" static="no"> <name>sPic</name> <initializer>0xA0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="36" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="36" bodyend="-1"/> </memberdef> <memberdef kind="define" id="8259_8h_1a2f7f6ebf05739e77a7c20aee806b771c" prot="public" static="no"> <name>sVec</name> <initializer>0x70</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="42" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" bodystart="42" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="8259_8h_1a8045101c57cc1791817412b1016794b4" 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="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="46" column="5" bodyfile="C:/Dev/git/UbixOS/sys/isa/8259.c" bodystart="41" bodyend="59" declfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" declline="46" declcolumn="5"/> <references refid="8259_8h_1a543896e13206abea73704f0f87f65d7e" compoundref="8259_8h" startline="39">icw1</references> <references refid="8259_8h_1a16fcea0b8e8fb321710ee3fe0788b2a6" compoundref="8259_8h" startline="40">icw4</references> <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references> <references refid="8259_8h_1ab5e84ca4c143a8b9a34b575201aaffd5" compoundref="8259_8h" startline="35">mImr</references> <references refid="8259_8h_1a0195451428bc646f820202dc15f25d9f" compoundref="8259_8h" startline="34">mPic</references> <references refid="8259_8h_1a7d84962c1a1c225344a94545309f92fc" compoundref="8259_8h" startline="41">mVec</references> <references refid="io_8h_1a8acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="72" endline="78">outportByte</references> <references refid="8259_8h_1a13b25eb31f4b435fdb1ed81c10b07315" compoundref="8259_8h" startline="37">sImr</references> <references refid="8259_8h_1a7d4efc593ecc4ace3d92e1f4ee919b99" compoundref="8259_8h" startline="36">sPic</references> <references refid="8259_8h_1a2f7f6ebf05739e77a7c20aee806b771c" compoundref="8259_8h" startline="42">sVec</references> </memberdef> <memberdef kind="function" id="8259_8h_1a2b9ec30943ddb0a2ef3bd7ccfd2026c0" 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="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref></type> <declname>irqNo</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="48" column="6" declfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" declline="48" declcolumn="6"/> <referencedby refid="kpanic_8h_1adb9a182aa071791a306163d50d653deb" compoundref="armv6_2kpanic_8c" startline="41" endline="61">kpanic</referencedby> </memberdef> <memberdef kind="function" id="8259_8h_1a0ac079c4d770f02e505f4d8569a6960a" 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="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref></type> <declname>irqNo</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h" line="47" column="6" declfile="C:/Dev/git/UbixOS/sys/include/isa/8259.h" declline="47" declcolumn="6"/> <referencedby refid="fdc_8c_1a2fad92b12d9ff56bf300b7e53875c75d" compoundref="fdc_8c" startline="61" endline="75">fdc_init</referencedby> <referencedby refid="lnc_8c_1a0c06be8c0c0c046c5073f4cfae3eed7c" compoundref="lnc_8c" startline="94" endline="189">initLNC</referencedby> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*-</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2002-2018<sp/>The<sp/>UbixOS<sp/>Project.</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>*<sp/>This<sp/>was<sp/>developed<sp/>by<sp/>Christopher<sp/>W.<sp/>Olsen<sp/>for<sp/>the<sp/>UbixOS<sp/>Project.</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="7"><highlight class="comment"><sp/>*<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<sp/>permitted</highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>*<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>*<sp/>1)<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="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>*<sp/>2)<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline> <codeline lineno="15"><highlight class="comment"><sp/>*<sp/>3)<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its<sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to</highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>permission.</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>*<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>*<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>*<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>*<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline> <codeline lineno="25"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT</highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="27"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="28"><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_ISA_8259_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>_ISA_8259_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="31"><highlight class="normal"></highlight></codeline> <codeline lineno="32"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2sys_2types_8h" kindref="compound">sys/types.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="33"><highlight class="normal"></highlight></codeline> <codeline lineno="34" refid="8259_8h_1a0195451428bc646f820202dc15f25d9f" 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><highlight class="normal"></highlight></codeline> <codeline lineno="35" refid="8259_8h_1ab5e84ca4c143a8b9a34b575201aaffd5" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="36" refid="8259_8h_1a7d4efc593ecc4ace3d92e1f4ee919b99" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="37" refid="8259_8h_1a13b25eb31f4b435fdb1ed81c10b07315" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="38" refid="8259_8h_1a417bb9e0e5c2751570faf6d7b848f977" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="39" refid="8259_8h_1a543896e13206abea73704f0f87f65d7e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>icw1<sp/><sp/><sp/><sp/>0x11<sp/>//<sp/>Cascade,<sp/>Edge<sp/>triggered<sp/></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="40" refid="8259_8h_1a16fcea0b8e8fb321710ee3fe0788b2a6" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="41" refid="8259_8h_1a7d84962c1a1c225344a94545309f92fc" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="42" refid="8259_8h_1a2f7f6ebf05739e77a7c20aee806b771c" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="43" refid="8259_8h_1a0cbb9ed77986fdbef8d7c2993555e218" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="44" refid="8259_8h_1abaacf6309e8d45434b9d3974cec874b7" refkind="member"><highlight class="normal"></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><highlight class="normal"></highlight></codeline> <codeline lineno="45"><highlight class="normal"></highlight></codeline> <codeline lineno="46"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="8259_8h_1a8045101c57cc1791817412b1016794b4" kindref="member">i8259_init</ref>();</highlight></codeline> <codeline lineno="47"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="8259_8h_1a0ac079c4d770f02e505f4d8569a6960a" kindref="member">irqEnable</ref>(<ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/>irqNo);</highlight></codeline> <codeline lineno="48"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="8259_8h_1a2b9ec30943ddb0a2ef3bd7ccfd2026c0" kindref="member">irqDisable</ref>(<ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/>irqNo);</highlight></codeline> <codeline lineno="49"><highlight class="normal"></highlight></codeline> <codeline lineno="50"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight></codeline> <codeline lineno="52"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline> <codeline lineno="53"><highlight class="comment"><sp/>$Log:<sp/>8259.h,v<sp/>$</highlight></codeline> <codeline lineno="54"><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="55"><highlight class="comment"><sp/>ubix2</highlight></codeline> <codeline lineno="56"><highlight class="comment"></highlight></codeline> <codeline lineno="57"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2005/10/12<sp/>00:13:36<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="58"><highlight class="comment"><sp/>Removed</highlight></codeline> <codeline lineno="59"><highlight class="comment"></highlight></codeline> <codeline lineno="60"><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="61"><highlight class="comment"><sp/>no<sp/>message</highlight></codeline> <codeline lineno="62"><highlight class="comment"></highlight></codeline> <codeline lineno="63"><highlight class="comment"><sp/>Revision<sp/>1.4<sp/><sp/>2004/07/09<sp/>13:20:08<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="64"><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="65"><highlight class="comment"></highlight></codeline> <codeline lineno="66"><highlight class="comment"><sp/>Revision<sp/>1.3<sp/><sp/>2004/07/09<sp/>13:14:29<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="67"><highlight class="comment"><sp/>8259:<sp/>changed<sp/>init8259<sp/>to<sp/>8259_init</highlight></codeline> <codeline lineno="68"><highlight class="comment"><sp/>Adjusted<sp/>Startup<sp/>Routines</highlight></codeline> <codeline lineno="69"><highlight class="comment"></highlight></codeline> <codeline lineno="70"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2004/05/21<sp/>14:57:16<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="71"><highlight class="comment"><sp/>Cleaned<sp/>up</highlight></codeline> <codeline lineno="72"><highlight class="comment"></highlight></codeline> <codeline lineno="73"><highlight class="comment"><sp/>END</highlight></codeline> <codeline lineno="74"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/isa/8259.h"/> </compounddef> </doxygen>