Re: easy softball jiffies quest(ion)

From: Robert Hancock
Date: Sun Apr 10 2005 - 21:40:24 EST


philip dahlquist wrote:
hi,

i'm on a quest to get access to jiffies in user space so i can write a
simple stepper motor driver program. i co-opted the "#includes" list from alessandro rubini's jit.c file from "linux device drivers" to write
jfi.c.

That's not going to work, jiffies is an internal kernel value, you can't access it from userspace. What do you need jiffies for to do this?

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/