Author: bonefish Date: 2011-06-08 01:46:50 +0200 (Wed, 08 Jun 2011) New Revision: 42027 Changeset: https://dev.haiku-os.org/changeset/42027 Modified: haiku/branches/developer/bonefish/signals/headers/private/kernel/timer.h Log: Yuck, timer::flags is only 16 bits wide. Modified: haiku/branches/developer/bonefish/signals/headers/private/kernel/timer.h =================================================================== --- haiku/branches/developer/bonefish/signals/headers/private/kernel/timer.h 2011-06-07 23:16:46 UTC (rev 42026) +++ haiku/branches/developer/bonefish/signals/headers/private/kernel/timer.h 2011-06-07 23:46:50 UTC (rev 42027) @@ -15,6 +15,11 @@ struct kernel_args; +#define B_TIMER_REAL_TIME_BASE 0x2000 + // For an absolute timer the given time is interpreted as a real-time, not + // as a system time. Note that setting the real-time clock will cause the + // timer to be updated -- it will expire according to the new clock. + // Relative timers are unaffected by this flag. #define B_TIMER_USE_TIMER_STRUCT_TIMES 0x4000 // For add_timer(): Use the timer::schedule_time (absolute time) and // timer::period values instead of the period parameter. @@ -22,11 +27,6 @@ // The timer hook is invoked with the scheduler lock held. When invoking // cancel_timer() with the scheduler lock held, too, this helps to avoid // race conditions. -#define B_TIMER_REAL_TIME_BASE 0x10000 - // For an absolute timer the given time is interpreted as a real-time, not - // as a system time. Note that setting the real-time clock will cause the - // timer to be updated -- it will expire according to the new clock. - // Relative timers are unaffected by this flag. #define B_TIMER_FLAGS \ (B_TIMER_USE_TIMER_STRUCT_TIMES | B_TIMER_ACQUIRE_SCHEDULER_LOCK \ | B_TIMER_REAL_TIME_BASE)