Re: [uml-devel] [uml-user] TSC register

2012-08-24 Thread richard -rw- weinberger
On Fri, Aug 24, 2012 at 5:09 PM, Dragos Diaconescu wrote: > Can you please > give me some directions? Shall I implement in the same manner as is > implemented in > /arch/x86/lib/delay.c . What are the big differences between this > implementation and in an implementation > for UML? If you a

Re: [uml-devel] [uml-user] TSC register

2012-08-24 Thread Dragos Diaconescu
On Thu, Aug 23, 2012 at 6:52 PM, richard -rw- weinberger < [email protected]> wrote: > On Wed, Aug 22, 2012 at 6:34 PM, Dragos Diaconescu > wrote: > >at an interval of some nanoseconds and to use the ndelay function. I > saw > > that in the kernel implementation > >for the uml

Re: [uml-devel] [uml-user] TSC register

2012-08-23 Thread richard -rw- weinberger
On Wed, Aug 22, 2012 at 6:34 PM, Dragos Diaconescu wrote: >at an interval of some nanoseconds and to use the ndelay function. I saw > that in the kernel implementation >for the uml there is no "delay_tsc" >function and there is only the "delay_loop" function. I am wondering why > the d

Re: [uml-devel] [uml-user] TSC register

2012-08-22 Thread Dragos Diaconescu
On Wed, Aug 22, 2012 at 5:39 PM, richard -rw- weinberger < [email protected]> wrote: > On Wed, Aug 22, 2012 at 3:23 PM, Dragos Diaconescu > wrote: > > On an ubuntu kernel I used a busy waiting, with ndelay function which > uses > > the TSC register, but > > I have noticed that this re

Re: [uml-devel] [uml-user] TSC register

2012-08-22 Thread richard -rw- weinberger
On Wed, Aug 22, 2012 at 3:23 PM, Dragos Diaconescu wrote: > 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. Please provide a test case. -- Thanks, //richard -