Changeset fd05a05 in rtems


Ignore:
Timestamp:
01/08/16 17:15:46 (7 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
5, master
Children:
6a4efc55
Parents:
e56266c
git-author:
Gedare Bloom <gedare@…> (01/08/16 17:15:46)
git-committer:
Gedare Bloom <gedare@…> (03/03/16 21:36:29)
Message:

i386: move idle thread into BSP layer

Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    re56266c rfd05a05  
    149149libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
    150150libbsp_a_SOURCES += startup/bspgetworkarea.c
     151libbsp_a_SOURCES += startup/bspidle.S
    151152libbsp_a_SOURCES += startup/bspstart.c
    152153libbsp_a_SOURCES += startup/bspcmdline.c
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    re56266c rfd05a05  
    214214#endif /* edison */
    215215
     216void *bsp_idle_thread( uintptr_t ignored );
     217#define BSP_IDLE_TASK_BODY bsp_idle_thread
     218
    216219void kbd_reset_setup(char *str, int *ints);   /* from 'pc_keyb.c' */
    217220size_t read_aux(char * buffer, size_t count); /* from 'ps2_mouse.c'  */
  • cpukit/score/cpu/i386/cpu.c

    re56266c rfd05a05  
    119119
    120120  return level;
    121 }
    122 
    123 void *_CPU_Thread_Idle_body( uintptr_t ignored )
    124 {
    125   while(1){
    126     __asm__ volatile ("hlt");
    127   }
    128   return NULL;
    129121}
    130122
  • cpukit/score/cpu/i386/rtems/score/cpu.h

    re56266c rfd05a05  
    118118 */
    119119
    120 #define CPU_PROVIDES_IDLE_THREAD_BODY    TRUE
     120#define CPU_PROVIDES_IDLE_THREAD_BODY    FALSE
    121121
    122122/*
Note: See TracChangeset for help on using the changeset viewer.