Hi Jiri,
On Thu, Mar 15, 2012 at 11:42 AM, Jiri Svoboda <[email protected]> wrote:
>
> the application could directly connect to the hw-specific driver/server that
> would implement a standard interface.
>
I'm wondering about this "standard interface", do you think it is correct to add
a new clock_dev_ops_t interface that every rtc driver must implement?
I'm talking about something like the following:
typedef struct {
int (*time_set)(ddf_fun_t *, time_t);
int (*time_get)(ddf_fun_t *, time_t *);
} clock_dev_ops_t;
Am I on the right track?
PS: I was very busy lately but now I'm resuming my work on the RTC driver.
--
--------------------
Maurizio Lombardi
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel