From bc69c4853d9f375b30d8c5fa3c90bd334b105152 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Sep 2006 20:28:56 +0000 Subject: 2006-09-08 Ken Peters PR 1170/rtems * rtems/src/timerserver.c: Timer Server created the TIME task with a hard-coded hexadecimal number instead of using rtems_build_name. This resulted in a byte-swapped name on some platforms. --- cpukit/ChangeLog | 7 +++++++ cpukit/rtems/src/timerserver.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 1256609e65..80065141ca 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +2006-09-08 Ken Peters + + PR 1170/rtems + * rtems/src/timerserver.c: Timer Server created the TIME task with a + hard-coded hexadecimal number instead of using rtems_build_name. This + resulted in a byte-swapped name on some platforms. + 2006-09-06 Chris Johns * pppd/pppd.h: Fix the bug in name change. The UNTIMEOUT diff --git a/cpukit/rtems/src/timerserver.c b/cpukit/rtems/src/timerserver.c index 7a5f48f2d6..af6910bd5a 100644 --- a/cpukit/rtems/src/timerserver.c +++ b/cpukit/rtems/src/timerserver.c @@ -185,7 +185,7 @@ rtems_status_code rtems_timer_initiate_server( */ status = rtems_task_create( - 0x4954454d, /* "TIME" */ + rtems_build_name('T','I','M','E'), /* "TIME" */ _priority, /* create with priority 1 since 0 is illegal */ stack_size, /* let user specify stack size */ RTEMS_NO_PREEMPT, /* no preempt is like an interrupt */ -- cgit v1.2.3