Changeset b8051837 in rtems


Ignore:
Timestamp:
Jan 8, 2013, 4:13:46 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
1419a86
Parents:
66fffc7
git-author:
Joel Sherrill <joel.sherrill@…> (01/08/13 16:13:46)
git-committer:
Joel Sherrill <joel.sherrill@…> (01/08/13 16:14:41)
Message:

arm/gp32: Correct compilation error in BSP Idle Thread

Split BSP Idle Thread into separate file to follow convention
used on other BSPs.

Slight reformatting of file header comment block.

Location:
c/src/lib/libbsp/arm/gp32
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/gp32/Makefile.am

    r66fffc7 rb8051837  
    3131libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
    3232    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
    33     ../../shared/bsppretaskinghook.c startup/bspstart.c \
     33    ../../shared/bsppretaskinghook.c startup/bspstart.c startup/bspidle.c \
    3434    ../../shared/bspclean.c startup/bspreset.c \
    3535    startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
  • c/src/lib/libbsp/arm/gp32/include/bsp.h

    r66fffc7 rb8051837  
    22 *  @file
    33 *
    4  * This include file contains definitions related to the GP32 BSP.
     4 *  This include file contains definitions related to the GP32 BSP.
    55 */
    66
    77/*
    8  * Copyright (c) Canon Research France SA.]
    9  * Emmanuel Raguet, mailto:raguet@crf.canon.fr
     8 *  Copyright (c) Canon Research France SA.]
     9 *  Emmanuel Raguet, mailto:raguet@crf.canon.fr
    1010 *
    1111 *  The license and distribution terms for this file may be
     
    6060
    6161/*
    62  *  This BSP provides its own IDLE task to override the RTEMS one.
     62 *  This BSP provides its own IDLE thread to override the RTEMS one.
    6363 *  So we prototype it and define the constant confdefs.h expects
    6464 *  to configure a BSP specific one.
    6565 */
    66 Thread bsp_idle_task(uint32_t);
     66void *bsp_idle_thread(uintptr_t ignored);
    6767
    68 #define BSP_IDLE_TASK_BODY bsp_idle_task
     68#define BSP_IDLE_TASK_BODY bsp_idle_thread
    6969
    7070#ifdef __cplusplus
  • c/src/lib/libbsp/arm/gp32/startup/bspstart.c

    r66fffc7 rb8051837  
    33 * board, and monitor specific initialization and configuration. The generic CPU
    44 * dependent initialization has been performed before this routine is invoked.
     5 */
     6
     7/*
     8 *  Copyright (c) 2000 Canon Research Centre France SA.
     9 *  Emmanuel Raguet, mailto:raguet@crf.canon.fr
    510 *
    6  *
    7  * Copyright (c) 2000 Canon Research Centre France SA.
    8  * Emmanuel Raguet, mailto:raguet@crf.canon.fr
    9  *
    10  *   The license and distribution terms for this file may be
    11  *   found in the file LICENSE in this distribution or at
    12  *   http://www.rtems.com/license/LICENSE.
     11 *  The license and distribution terms for this file may be
     12 *  found in the file LICENSE in this distribution or at
     13 *  http://www.rtems.com/license/LICENSE.
    1314 */
    1415
     
    2223 */
    2324extern void rtems_exception_init_mngt(void);
    24 
    25 /*
    26  *  BSP specific Idle task
    27  */
    28 Thread bsp_idle_task(uint32_t ignored)
    29 {
    30   while(1) {
    31     __asm__ volatile ("MCR p15,0,r0,c7,c0,4     \n");
    32   }
    33 }
    3425
    3526/*
Note: See TracChangeset for help on using the changeset viewer.