Changeset 3652ad35 in rtems for c/src/lib/libbsp/hppa1.1


Ignore:
Timestamp:
09/19/95 14:53:29 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
38ffa0c
Parents:
b3ac6a8d
Message:

Minor bug fixes to get all targets compilable and running. The
single biggest changes were the expansion of the workspace size
macro to include other types of objects and the increase in the
minimum stack size for most CPUs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c

    rb3ac6a8d r3652ad35  
    3030#include <bsp.h>
    3131#include <rtems/libio.h>
     32#include <rtems/core/intthrd.h>
    3233
    3334#include <libcsupport.h>
     
    8687     */
    8788
    88     if (heir_task->name == rtems_build_name('I', 'D', 'L', 'E'))
     89    if (heir_task == _Internal_threads_Idle_thread)
    8990        CPU_HPPA_CLICKS_PER_TICK = fast_clock;
    90     else if (current_task->name == rtems_build_name('I', 'D', 'L', 'E'))
     91    else if (heir_task == _Internal_threads_Idle_thread)
    9192        CPU_HPPA_CLICKS_PER_TICK = normal_clock;
    9293}
     
    212213        memset(&fast_idle_extension, 0, sizeof(fast_idle_extension));
    213214
    214         fast_idle_extension.task_switch  = fast_idle_switch_hook;
     215        fast_idle_extension.thread_switch  = fast_idle_switch_hook;
    215216
    216217        rc = rtems_extension_create(rtems_build_name('F', 'D', 'L', 'E'),
Note: See TracChangeset for help on using the changeset viewer.