Add accessor function to the uclock of an IOMux

This commit is contained in:
Nils O. Selåsdal
2013-12-24 06:21:13 +01:00
parent 423c21bee2
commit 293ce4460f
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -139,6 +139,11 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd)
return mux->update_events_impl(mux, fd);
}
struct UCoreClock *iomux_get_clock(struct IOMux *mux)
{
return mux->uclock;
}
struct UCTimers *iomux_get_timers(struct IOMux *mux)
{
return &mux->timers;