<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 18, 2018 at 12:31 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Amaan,<span class="gmail-"><br>
<br>
On 17/07/18 19:18, Amaan Cheval wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi!<br>
<br>
Now that I'm working on the clock driver, we need to pick what we<br>
support first. Our options in brief are:<br>
</blockquote>
<br></span>
The clock driver needs an interrupt. What is the status of the interrupt controller support in the BSP?<br>
<br>
For timekeeping we use a port of the FreeBSD timecounter in RTEMS. You may have a look at the FreeBSD timecounter for this architecture, e.g. sys/x86/x86/tsc.c. I looks quite complicated. I would not take to much care about legacy support, e.g. ignore hardware which is older than five years?.</blockquote><div><br></div><div>That's not a good rule for PCs at all. The APIC was first introduced as an external controller with the i486,</div><div>Based on your rule, we wouldn't support it even though it is the most likely choice.</div><div><br></div><div>Avoid things that are deemed legacy. The starting point for this is the old PC<br>System Design Guide.</div><div><br></div><div><a href="https://en.wikipedia.org/wiki/PC_System_Design_Guide">https://en.wikipedia.org/wiki/PC_System_Design_Guide</a><br></div><div><br></div><div>If it was deemed obsolete in PC2001, then you definitely want to avoid it. Those</div><div>things are just now really disappearing.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Addr<a href="https://maps.google.com/?q=ess+:+Dornierstr.+4,+D-82178+Puchheim,+G&entry=gmail&source=g">ess : Dornierstr. 4, D-82178 Puchheim, G</a>ermany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</font></span></blockquote></div><br></div></div>