Changeset adae165b in rtems


Ignore:
Timestamp:
Aug 29, 2011, 9:30:32 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
e95737c
Parents:
2996b9b
Message:

2011-08-29 Joel Sherrill <joel.sherrilL@…>

  • include/rtems/userenv.h, score/src/threadhandler.c: Formatting.
  • sapi/src/exshutdown.c: Add comments.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r2996b9b radae165b  
     12011-08-29      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * include/rtems/userenv.h, score/src/threadhandler.c: Formatting.
     4        * sapi/src/exshutdown.c: Add comments.
     5
    162011-08-22      Jennifer Averett <Jennifer.Averett@OARcorp.com>
    27
  • cpukit/include/rtems/userenv.h

    r2996b9b radae165b  
    4747
    4848typedef struct {
    49  rtems_id                         task_id;
    50  rtems_filesystem_location_info_t current_directory;
    51  rtems_filesystem_location_info_t root_directory;
    52  /* Default mode for all files. */
    53  mode_t                           umask;
    54  nlink_t                          link_counts;
    55  /* _POSIX_types */
    56  uid_t                            uid;
    57  gid_t                            gid;
    58  uid_t                            euid;
    59  gid_t                            egid;
    60  char      login_buffer[LOGIN_NAME_MAX];
    61 
    62  pid_t                            pgrp; /* process group id */
     49  rtems_id                         task_id;
     50  rtems_filesystem_location_info_t current_directory;
     51  rtems_filesystem_location_info_t root_directory;
     52  /* Default mode for all files. */
     53  mode_t                           umask;
     54  nlink_t                          link_counts;
     55  /* _POSIX_types */
     56  uid_t                            uid;
     57  gid_t                            gid;
     58  uid_t                            euid;
     59  gid_t                            egid;
     60  char      login_buffer[LOGIN_NAME_MAX];
     61  pid_t                            pgrp; /* process group id */
    6362} rtems_user_env_t;
    6463
  • cpukit/sapi/src/exshutdown.c

    r2996b9b radae165b  
    5050    _System_state_Set( SYSTEM_STATE_SHUTDOWN );
    5151    _Thread_Stop_multitasking();
     52
     53    /*******************************************************************
     54     *******************************************************************
     55     *******************************************************************
     56     ******     RETURN TO RTEMS_INITIALIZE_START_MULTITASKING()   ******
     57     ******                 AND THEN TO BOOT_CARD()               ******
     58     *******************************************************************
     59     *******************************************************************
     60     *******************************************************************/
    5261  }
    5362  _Internal_error_Occurred(
     
    5665    INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP
    5766  );
    58 
    5967}
  • cpukit/score/src/threadhandler.c

    r2996b9b radae165b  
    3030#include <rtems/score/userext.h>
    3131#include <rtems/score/wkspace.h>
    32 
     32#if defined(RTEMS_SMP)
     33  #include <rtems/score/smp.h>
     34#endif
     35
     36
     37/*
     38 *  Conditional magic to determine what style of C++ constructor
     39 *  initialization this target and compiler version uses.
     40 */
    3341#if defined(__AVR__)
    3442  #undef __USE_INIT_FINI__
     
    5462#endif
    5563
    56 #if defined(RTEMS_SMP)
    57   #include <rtems/score/smp.h>
    58 #endif
    59 
    60 
    6164/*
    6265 *  _Thread_Handler
     
    8285 *  Output parameters:  NONE
    8386 */
    84 
    8587void _Thread_Handler( void )
    8688{
     
    105107   * inline asm here
    106108   */
    107 
    108109  level = executing->Start.isr_level;
    109110  _ISR_Set_level(level);
     
    151152        _Thread_Enable_dispatch();
    152153      #endif
    153 
    154154    }
    155155 #endif
Note: See TracChangeset for help on using the changeset viewer.