Changeset adae165b in rtems
- Timestamp:
- 08/29/11 21:30:32 (11 years ago)
- Branches:
- 4.11, 5, master
- Children:
- e95737c
- Parents:
- 2996b9b
- Location:
- cpukit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r2996b9b radae165b 1 2011-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 1 6 2011-08-22 Jennifer Averett <Jennifer.Averett@OARcorp.com> 2 7 -
cpukit/include/rtems/userenv.h
r2996b9b radae165b 47 47 48 48 typedef 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 */ 63 62 } rtems_user_env_t; 64 63 -
cpukit/sapi/src/exshutdown.c
r2996b9b radae165b 50 50 _System_state_Set( SYSTEM_STATE_SHUTDOWN ); 51 51 _Thread_Stop_multitasking(); 52 53 /******************************************************************* 54 ******************************************************************* 55 ******************************************************************* 56 ****** RETURN TO RTEMS_INITIALIZE_START_MULTITASKING() ****** 57 ****** AND THEN TO BOOT_CARD() ****** 58 ******************************************************************* 59 ******************************************************************* 60 *******************************************************************/ 52 61 } 53 62 _Internal_error_Occurred( … … 56 65 INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP 57 66 ); 58 59 67 } -
cpukit/score/src/threadhandler.c
r2996b9b radae165b 30 30 #include <rtems/score/userext.h> 31 31 #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 */ 33 41 #if defined(__AVR__) 34 42 #undef __USE_INIT_FINI__ … … 54 62 #endif 55 63 56 #if defined(RTEMS_SMP)57 #include <rtems/score/smp.h>58 #endif59 60 61 64 /* 62 65 * _Thread_Handler … … 82 85 * Output parameters: NONE 83 86 */ 84 85 87 void _Thread_Handler( void ) 86 88 { … … 105 107 * inline asm here 106 108 */ 107 108 109 level = executing->Start.isr_level; 109 110 _ISR_Set_level(level); … … 151 152 _Thread_Enable_dispatch(); 152 153 #endif 153 154 154 } 155 155 #endif
Note: See TracChangeset
for help on using the changeset viewer.