diff --git a/Doxyfile b/Doxyfile index 4dcbfd4..4bd06db 100644 --- a/Doxyfile +++ b/Doxyfile @@ -132,9 +132,13 @@ RECURSIVE = YES EXCLUDE = /usr/home/reddawg/source/ubix2/src/sys/sde \ /usr/home/reddawg/source/ubix2/src/lib/objgfx40 \ - /usr/home/reddawg/source/ubix2/src/sys/ubixfsv2 + /usr/home/reddawg/source/ubix2/src/sys/ubixfsv2 \ + /usr/home/reddawg/source/ubix2/src/sys/include/objgfx \ + /usr/home/reddawg/source/ubix2/src/sys/compile \ + /usr/home/reddawg/source/ubix2/src/sys/net \ + /usr/home/reddawg/source/ubix2/src/sys/include/net EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = +EXCLUDE_PATTERNS = Makefile.inc EXAMPLE_PATH = EXAMPLE_PATTERNS = * EXAMPLE_RECURSIVE = NO @@ -231,7 +235,7 @@ # Configuration options related to the preprocessor #--------------------------------------------------------------------------- ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = NO +MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = YES INCLUDE_PATH = @@ -252,15 +256,15 @@ #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO +HAVE_DOT = YES CLASS_GRAPH = YES COLLABORATION_GRAPH = YES GROUP_GRAPHS = YES -UML_LOOK = NO -TEMPLATE_RELATIONS = NO +UML_LOOK = YES +TEMPLATE_RELATIONS = YES INCLUDE_GRAPH = YES INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO +CALL_GRAPH = YES GRAPHICAL_HIERARCHY = YES DIRECTORY_GRAPH = YES DOT_IMAGE_FORMAT = png diff --git a/doc/html/8259_8c-source.html b/doc/html/8259_8c-source.html index bfe248b..1b011c7 100644 --- a/doc/html/8259_8c-source.html +++ b/doc/html/8259_8c-source.html @@ -58,106 +58,54 @@ 00027 00028 *****************************************************************************************/ 00029 -00030 #include <sys/io.h> -00031 #include <isa/8259.h> -00032 #include <ubixos/types.h> -00033 #include <lib/kprintf.h> -00034 -00035 static unsigned int irqMask = 0xFFFF; -00036 -00037 /************************************************************************ -00038 -00039 Function: int 8259_init() -00040 -00041 Description: This function will initialize both PICs for all of our IRQs -00042 -00043 Notes: -00044 -00045 ************************************************************************/ -00046 int i8259_init() { -00047 outportByte(mPic, icw1); /* Initialize Master PIC */ -00048 outportByte(sPic, icw1); /* Initialize Seconary PIC */ -00049 outportByte(mPic+1, mVec); /* Master Interrup Vector */ -00050 outportByte(sPic+1, sVec); /* Secondary Interrupt Vector */ -00051 outportByte(mPic+1, 1<<2); /* Bitmask for cascade on IRQ 2 */ -00052 outportByte(sPic+1, 2); /* Cascade on IRQ 2 */ -00053 outportByte(mPic+1, icw4); /* Finish Primary Initialization */ -00054 outportByte(sPic+1, icw4); /* Finish Seconary Initialization */ -00055 outportByte(mImr, 0xff); /* Mask All Primary Interrupts */ -00056 outportByte(sImr, 0xff); /* Mask All Seconary Interrupts */ +00030 #include <isa/8259.h> +00031 #include <sys/io.h> +00032 #include <lib/kprintf.h> +00033 +00034 static unsigned int irqMask = 0xFFFF; +00035 +00042 int i8259_init() { +00043 outportByte(mPic, icw1); /* Initialize Master PIC */ +00044 outportByte(sPic, icw1); /* Initialize Seconary PIC */ +00045 outportByte(mPic+1, mVec); /* Master Interrup Vector */ +00046 outportByte(sPic+1, sVec); /* Secondary Interrupt Vector */ +00047 outportByte(mPic+1, 1<<2); /* Bitmask for cascade on IRQ 2 */ +00048 outportByte(sPic+1, 2); /* Cascade on IRQ 2 */ +00049 outportByte(mPic+1, icw4); /* Finish Primary Initialization */ +00050 outportByte(sPic+1, icw4); /* Finish Seconary Initialization */ +00051 outportByte(mImr, 0xff); /* Mask All Primary Interrupts */ +00052 outportByte(sImr, 0xff); /* Mask All Seconary Interrupts */ +00053 +00054 /* Print out the system info for this */ +00055 kprintf("pic0 - Port: [0x%X]\n",mPic); +00056 kprintf("pic1 - Port: [0x%X]\n",sPic); 00057 -00058 /* Print out the system info for this */ -00059 kprintf("pic0 - Port: [0x%X]\n",mPic); -00060 kprintf("pic1 - Port: [0x%X]\n",sPic); +00058 /* Return so the system knows it went well */ +00059 return(0x0); +00060 } 00061 -00062 /* Return so the system knows it went well */ -00063 return(0x0); -00064 } -00065 -00066 /************************************************************************ -00067 -00068 Function: int irqEnable() -00069 -00070 Description: This function is used to turn on an IRQ -00071 -00072 Notes: -00073 -00074 ************************************************************************/ -00075 void irqEnable(uInt16 irqNo) { -00076 irqMask &= ~(1 << irqNo); -00077 if (irqNo >= 8) { -00078 irqMask &= ~(1 << 2); -00079 } -00080 outportByte(mPic+1, irqMask & 0xFF); -00081 outportByte(sPic+1, (irqMask >> 8) & 0xFF); -00082 } -00083 -00084 /************************************************************************ -00085 -00086 Function: int irqDisable() -00087 -00088 Description: This function is used to turn off an IRQ -00089 -00090 Notes: -00091 -00092 ************************************************************************/ -00093 void irqDisable(uInt16 irqNo) { -00094 irqMask |= (1 << irqNo); -00095 if ((irqMask & 0xFF00)==0xFF00) { -00096 irqMask |= (1 << 2); -00097 } -00098 outportByte(mPic+1, irqMask & 0xFF); -00099 outportByte(sPic+1, (irqMask >> 8) & 0xFF); -00100 } -00101 -00102 /*** -00103 $Log$ -00104 Revision 1.1.1.1 2006/06/01 12:46:12 reddawg -00105 ubix2 -00106 -00107 Revision 1.2 2005/10/12 00:13:37 reddawg -00108 Removed -00109 -00110 Revision 1.1.1.1 2005/09/26 17:23:59 reddawg -00111 no message -00112 -00113 Revision 1.5 2004/07/09 13:20:08 reddawg -00114 Oh yeah duh you can not name functions with numbers -00115 -00116 Revision 1.4 2004/07/09 13:14:29 reddawg -00117 8259: changed init8259 to 8259_init -00118 Adjusted Startup Routines -00119 -00120 Revision 1.3 2004/05/20 22:51:09 reddawg -00121 Cleaned Up Warnings -00122 -00123 Revision 1.2 2004/05/10 02:23:24 reddawg -00124 Minor Changes To Source Code To Prepare It For Open Source Release -00125 -00126 END -00127 ***/ -00128 -
1.4.7