Changeset a986c07 in rtems for testsuites/sptests/sp26/task1.c


Ignore:
Timestamp:
Dec 14, 2008, 6:36:00 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
4389287a
Parents:
a660812
Message:

2008-12-14 Joel Sherrill <joel.sherrill@…>

  • sp07/init.c, sp12/init.c, sp12/pridrv.c, sp12/pritask.c, sp12/system.h, sp16/system.h, sp25/system.h, sp26/task1.c, sp28/init.c, sp29/init.c, sp35/priinv.c, sp42/init.c: Run all tests successfully with maxixum number of priorities as 16 instead of 256. This was done by temporarily modifying the score priority.h maximum. This allowed testing of all API code to ensure that it worked properly with a reduced number of priorities. Most modifications were to switch from hard-coded maximum to using the API provided methods to determine maximum number of priority levels.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp26/task1.c

    ra660812 ra986c07  
    11/*
    2  *  COPYRIGHT (c) 1989-1999.
     2 *  COPYRIGHT (c) 1989-2008.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    8686
    8787  sc = rtems_task_create (rtems_build_name('S','u','b',c),
    88     100,
     88    RTEMS_MAXIMUM_PRIORITY - 1,
    8989    RTEMS_MINIMUM_STACK_SIZE * 4,
    9090    RTEMS_PREEMPT|RTEMS_NO_TIMESLICE|RTEMS_NO_ASR|RTEMS_INTERRUPT_LEVEL(0),
Note: See TracChangeset for help on using the changeset viewer.