Changeset 3a4ae6c in rtems for cpukit/libcsupport
- Timestamp:
- 09/11/95 19:35:39 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ced11f99
- Parents:
- 5072b07
- Location:
- cpukit/libcsupport
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libcsupport/include/console.h
r5072b07 r3a4ae6c 23 23 24 24 #define CONSOLE_DRIVER_TABLE_ENTRY \ 25 { console_initialize, NULL, NULL, NULL, NULL, NULL } 25 { console_initialize, console_open, console_close, \ 26 console_read, console_write, console_control } 26 27 27 28 rtems_device_driver console_initialize( 28 29 rtems_device_major_number, 29 30 rtems_device_minor_number, 30 void *, 31 rtems_id, 32 rtems_unsigned32 * 31 void * 32 ); 33 34 rtems_device_driver console_open( 35 rtems_device_major_number, 36 rtems_device_minor_number, 37 void * 38 ); 39 40 rtems_device_driver console_close( 41 rtems_device_major_number, 42 rtems_device_minor_number, 43 void * 44 ); 45 46 rtems_device_driver console_read( 47 rtems_device_major_number, 48 rtems_device_minor_number, 49 void * 50 ); 51 52 rtems_device_driver console_write( 53 rtems_device_major_number, 54 rtems_device_minor_number, 55 void * 56 ); 57 58 rtems_device_driver console_control( 59 rtems_device_major_number, 60 rtems_device_minor_number, 61 void * 33 62 ); 34 63 -
cpukit/libcsupport/src/error.c
r5072b07 r3a4ae6c 92 92 { "directive not implemented", RTEMS_NOT_IMPLEMENTED, }, 93 93 { "RTEMS inconsistency detected", RTEMS_INTERNAL_ERROR, }, 94 { "internal multiprocessing only", RTEMS_PROXY_BLOCKING, },95 94 { "could not get enough memory", RTEMS_NO_MEMORY, }, 95 { "internal multiprocessing only", THREAD_STATUS_PROXY_BLOCKING, }, 96 96 { 0, 0, 0 }, 97 97 }; … … 135 135 local_errno = errno; 136 136 137 if (_ Configuration_Is_multiprocessing())137 if (_System_state_Is_multiprocessing) 138 138 fprintf(stderr, "[%d] ", _Configuration_MP_table->node); 139 139 -
cpukit/libcsupport/src/libio.c
r5072b07 r3a4ae6c 15 15 16 16 #include <fcntl.h> /* O_RDONLY, et.al. */ 17 #include <sys/fcntl.h> /* O_RDONLY, et.al. */ 17 18 #if defined(solaris2) 18 19 #define O_NDELAY O_NONBLOCK 20 #elif defined(RTEMS_NEWLIB) 21 #define O_NDELAY _FNBIO 19 22 #endif 20 23 #include <errno.h> -
cpukit/libcsupport/src/newlibc.c
r5072b07 r3a4ae6c 81 81 82 82 83 rtems_ extension83 rtems_boolean 84 84 libc_create_hook(rtems_tcb *current_task, 85 85 rtems_tcb *creating_task) 86 86 { 87 87 MY_task_set_note(creating_task, LIBC_NOTEPAD, 0); 88 return TRUE; 88 89 } 89 90 … … 232 233 memset(&libc_extension, 0, sizeof(libc_extension)); 233 234 234 libc_extension. rtems_task_create = libc_create_hook;235 libc_extension. rtems_task_start = libc_start_hook;236 libc_extension.t ask_switch = libc_switch_hook;237 libc_extension. rtems_task_delete = libc_delete_hook;235 libc_extension.thread_create = libc_create_hook; 236 libc_extension.thread_start = libc_start_hook; 237 libc_extension.thread_switch = libc_switch_hook; 238 libc_extension.thread_delete = libc_delete_hook; 238 239 239 240 rc = rtems_extension_create(rtems_build_name('L', 'I', 'B', 'C'),
Note: See TracChangeset
for help on using the changeset viewer.