linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Real time Clock access from a Guest Kernel
@ 2008-04-04 13:14 Scott Hadley
  0 siblings, 0 replies; only message in thread
From: Scott Hadley @ 2008-04-04 13:14 UTC (permalink / raw)
  To: user-mode-linux-devel


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-04 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04 13:14 [uml-devel] Real time Clock access from a Guest Kernel Scott Hadley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox