From: Scott Hadley <scottkhadley@yahoo.co.uk>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Real time Clock access from a Guest Kernel
Date: Fri, 4 Apr 2008 13:14:18 +0000 (GMT) [thread overview]
Message-ID: <447606.76708.qm@web28406.mail.ukl.yahoo.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 904 bytes --]
Hi,
I am trying to port a kernel module from a host machine to a guest kernel but am having some troubles with the real time clock.
The kernel module uses the mc146818rtc.h driver to access the hardware clock from the CMOS. Unfortunately the mc146818rtc.h does not appear to be in the asm-um directory and so my module will not compile.
Is there any other way that I can get the timing signal from the UML kernel?
I need a 8 KHz timing signal for the module to work.
What would happen if I try and modify the UM kernel to allow virtual machines direct access to the CMOS clock. I am only reading the time not setting it? Is this even possible.
I would appreciate any help anyone can give me.
Yours
Scott Hadley
___________________________________________________________
Yahoo! For Good helps you make a difference
http://uk.promotions.yahoo.com/forgood/
[-- Attachment #1.2: Type: text/html, Size: 1199 bytes --]
[-- Attachment #2: Type: text/plain, Size: 278 bytes --]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
reply other threads:[~2008-04-04 13:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=447606.76708.qm@web28406.mail.ukl.yahoo.com \
--to=scottkhadley@yahoo.co.uk \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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