Hello,
I am currently writing a kernel module that I would like to use it in the
UML, on ubuntu.
In this module I have some events that I would like to generate with a ns
precision. (e.g every 10 ns).
On an ubuntu kernel I used a busy waiting, with ndelay function which uses
the TSC register, but
I have noticed that this register cannot be read from an UML.
Can you tell me please what is the reason for not being able to read the
TSC register from kernel,
and if there is other possibility to obtain ns precision as the ndelay
implementation has?
Best wishes,
Dragos
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user