From: jmk@plan9.bell-labs.com jmk@plan9.bell-labs.com
Subject: [9fans] Hooking up to a timer in a driver
Date: Mon, 21 Jun 1999 23:20:49 -0400 [thread overview]
Message-ID: <19990622032049.2CzivhrutfWZIPc4ogiFQYBz27duPNb2QB9sc3ZZL6Y@z> (raw)
cpane@metamorsw.com:
>It looks like if you want to get interrupted you insert a call to your
>clock routine inside the clock() function in pc/clock.c.
Yes, you can do that. Brazil has slightly generalised this by having a routine
which drivers can call to add a function to a linked-list of functions to be called
per clock tick, so there are no dependancies in clock.c for the uart, mouse, etc.
--jim
next reply other threads:[~1999-06-22 3:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-22 3:20 jmk [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-06-22 2:17 Christopher
1999-06-21 18:05 Chris
1999-06-21 17:51 Chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19990622032049.2CzivhrutfWZIPc4ogiFQYBz27duPNb2QB9sc3ZZL6Y@z \
--to=jmk@plan9.bell-labs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).