Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#458 closed defect (fixed)

sp30 screen does not match

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: unspecified Version: 4.6
Severity: major Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

The indexing is off because of the timer server and this
results in the screen not matching. This patch fixes the
problem:

Index: task1.c
===================================================================
RCS file: /usr1/CVS/rtems/c/src/tests/sptests/sp30/task1.c,v
retrieving revision 1.3
diff -u -r1.3 task1.c
--- task1.c 2 Aug 2002 00:52:14 -0000 1.3
+++ task1.c 18 Aug 2003 15:23:08 -0000
@@ -34,7 +34,7 @@

while ( FOREVER ) {

status = rtems_timer_server_fire_after(

Timer_id[ argument ],

  • task_number( tid ) * 5 * TICKS_PER_SECOND,

+ (task_number( tid ) - 1) * 5 * TICKS_PER_SECOND,

Resume_task,
NULL

);

Release:
RTEMS-4.6 and CVS

Change History (2)

comment:1 Changed on 08/18/03 at 14:29:46 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Patch applied to 4.6 branch and CVS trunk. Thanks.

comment:2 Changed on 10/10/17 at 06:46:55 by Sebastian Huber

Component: testingunspecified
Note: See TracTickets for help on using tickets.