/[gxemul]/trunk/doc/experiments.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/doc/experiments.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 34 by dpavlin, Mon Oct 8 16:21:17 2007 UTC
# Line 10  Line 10 
10    
11  <!--  <!--
12    
13  $Id: experiments.html,v 1.102 2006/06/12 10:21:12 debug Exp $  $Id: experiments.html,v 1.105 2006/12/30 13:30:50 debug Exp $
14    
15  Copyright (C) 2003-2006  Anders Gavare.  All rights reserved.  Copyright (C) 2003-2007  Anders Gavare.  All rights reserved.
16    
17  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
18  modification, are permitted provided that the following conditions are met:  modification, are permitted provided that the following conditions are met:
# Line 367  following experimental devices: Line 367  following experimental devices:
367      </td>      </td>
368    </tr>    </tr>
369    
370      <tr height="15">
371        <td height="15">&nbsp;</td>
372      </tr>
373    
374      <tr>
375        <td align="left" valign="top">
376            <a name="expdevices_rtc"><b><tt>rtc</tt>:</b></a>
377            <p>A Real-Time Clock, used to retrieve the current time
378            and to cause periodic interrupts.
379            <p>Source code:&nbsp;&nbsp;<font color="#0000f0"><tt>src/devices/dev_rtc.c</tt></font>
380            <p>Include file:&nbsp;&nbsp;<font color="#0000f0"><tt>dev_rtc.h</tt></font>
381            <br>Default physical address:&nbsp&nbsp;<font color="#0000f0">0x15000000</font>
382        </td>
383        <td></td>
384        <td align="left" valign="top">
385            <table border="0">
386              <tr>
387                <td align="left" valign="top"><i><u>Offset:</u></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
388                <td align="left" valign="top"><i><u>Effect:</u></i></td>
389              </tr>
390              <tr>
391                <td align="left" valign="top"><tt>0x0000</tt></td>
392                <td align="left" valign="top">Read or Write: Trigger a clock update (a gettimeofday() on the host).</td>
393              </tr>
394              <tr>
395                <td align="left" valign="top"><tt>0x0010</tt></td>
396                <td align="left" valign="top">Read: Seconds since 1st January 1970</td>
397              </tr>
398              <tr>
399                <td align="left" valign="top"><tt>0x0020</tt></td>
400                <td align="left" valign="top">Read: Microseconds</td>
401              </tr>
402              <tr>
403                <td align="left" valign="top"><tt>0x0100</tt></td>
404                <td align="left" valign="top">Read: Get the current
405                    timer interrupt frequency.<br>Write: Set the timer
406                    interrupt frequency. (Writing 0 disables the timer.)</td>
407              </tr>
408              <tr>
409                <td align="left" valign="top"><tt>0x0110</tt></td>
410                <td align="left" valign="top">Read or Write: Acknowledge
411                    one timer interrupt. (Note that if multiple interrupts
412                    are pending, only one is acknowledged.)</td>
413              </tr>
414            </table>
415        </td>
416      </tr>
417    
418  </table></center>  </table></center>
419    
420  <p>  <p>
# Line 424  what kind of IPI it was. Line 472  what kind of IPI it was.
472                          <td>MIPS count/compare interrupt</td></tr>                          <td>MIPS count/compare interrupt</td></tr>
473                  <tr><td align="center">6</td><td></td>                  <tr><td align="center">6</td><td></td>
474                          <td><tt>mp</tt> (inter-processor interrupts)</td></tr>                          <td><tt>mp</tt> (inter-processor interrupts)</td></tr>
475                    <tr><td align="center">4</td><td></td>
476                            <td><tt>rtc</tt></td></tr>
477                  <tr><td align="center">3</td><td></td>                  <tr><td align="center">3</td><td></td>
478                          <td><tt>ether</tt></td></tr>                          <td><tt>ether</tt></td></tr>
479                  <tr><td align="center">2</td><td></td>                  <tr><td align="center">2</td><td></td>

Legend:
Removed from v.24  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26