Changeset c4808ca in rtems
- Timestamp:
- 10/31/95 21:28:16 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- eedbfd9
- Parents:
- 9700578
- Files:
-
- 1 added
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/rtems/src/msg.c
r9700578 rc4808ca 110 110 * Output parameters: 111 111 * id - queue id 112 * RTEMS_SUCCESSFUL - if successful112 * RTEMS_SUCCESSFUL - if successful 113 113 * error code - if unsuccessful 114 114 */ -
c/src/exec/rtems/src/region.c
r9700578 rc4808ca 315 315 void *the_segment; 316 316 317 *segment = NULL; 318 317 319 if ( size == 0 ) 318 320 return RTEMS_INVALID_SIZE; -
c/src/exec/sapi/headers/directives.h
r9700578 rc4808ca 63 63 #define RTEMS_MESSAGE_QUEUE_SEND 39 64 64 #define RTEMS_MESSAGE_QUEUE_URGENT 40 65 #define RTEMS_MESSAGE_QUEUE_BROADCA st4165 #define RTEMS_MESSAGE_QUEUE_BROADCAST 41 66 66 #define RTEMS_MESSAGE_QUEUE_RECEIVE 42 67 67 #define RTEMS_MESSAGE_QUEUE_FLUSH 43 -
c/src/exec/sapi/headers/io.h
r9700578 rc4808ca 116 116 117 117 rtems_status_code rtems_io_register_name( 118 char *device_name,119 rtems_device_major_number major,120 rtems_device_minor_number minor118 char *device_name, 119 rtems_device_major_number major, 120 rtems_device_minor_number minor 121 121 ); 122 122 … … 131 131 132 132 rtems_status_code rtems_io_lookup_name( 133 const char *pathname,134 rtems_driver_name_t ** rnp133 const char *name, 134 rtems_driver_name_t **device_info 135 135 ); 136 136 … … 148 148 rtems_device_major_number major, 149 149 rtems_device_minor_number minor, 150 void *argument150 void *argument 151 151 ); 152 152 … … 163 163 rtems_device_major_number major, 164 164 rtems_device_minor_number minor, 165 void *argument165 void *argument 166 166 ); 167 167 … … 178 178 rtems_device_major_number major, 179 179 rtems_device_minor_number minor, 180 void *argument180 void *argument 181 181 ); 182 182 … … 193 193 rtems_device_major_number major, 194 194 rtems_device_minor_number minor, 195 void *argument195 void *argument 196 196 ); 197 197 … … 208 208 rtems_device_major_number major, 209 209 rtems_device_minor_number minor, 210 void *argument210 void *argument 211 211 ); 212 212 … … 223 223 rtems_device_major_number major, 224 224 rtems_device_minor_number minor, 225 void *argument225 void *argument 226 226 ); 227 227 -
c/src/exec/sapi/include/rtems/directives.h
r9700578 rc4808ca 63 63 #define RTEMS_MESSAGE_QUEUE_SEND 39 64 64 #define RTEMS_MESSAGE_QUEUE_URGENT 40 65 #define RTEMS_MESSAGE_QUEUE_BROADCA st4165 #define RTEMS_MESSAGE_QUEUE_BROADCAST 41 66 66 #define RTEMS_MESSAGE_QUEUE_RECEIVE 42 67 67 #define RTEMS_MESSAGE_QUEUE_FLUSH 43 -
c/src/exec/sapi/include/rtems/io.h
r9700578 rc4808ca 116 116 117 117 rtems_status_code rtems_io_register_name( 118 char *device_name,119 rtems_device_major_number major,120 rtems_device_minor_number minor118 char *device_name, 119 rtems_device_major_number major, 120 rtems_device_minor_number minor 121 121 ); 122 122 … … 131 131 132 132 rtems_status_code rtems_io_lookup_name( 133 const char *pathname,134 rtems_driver_name_t ** rnp133 const char *name, 134 rtems_driver_name_t **device_info 135 135 ); 136 136 … … 148 148 rtems_device_major_number major, 149 149 rtems_device_minor_number minor, 150 void *argument150 void *argument 151 151 ); 152 152 … … 163 163 rtems_device_major_number major, 164 164 rtems_device_minor_number minor, 165 void *argument165 void *argument 166 166 ); 167 167 … … 178 178 rtems_device_major_number major, 179 179 rtems_device_minor_number minor, 180 void *argument180 void *argument 181 181 ); 182 182 … … 193 193 rtems_device_major_number major, 194 194 rtems_device_minor_number minor, 195 void *argument195 void *argument 196 196 ); 197 197 … … 208 208 rtems_device_major_number major, 209 209 rtems_device_minor_number minor, 210 void *argument210 void *argument 211 211 ); 212 212 … … 223 223 rtems_device_major_number major, 224 224 rtems_device_minor_number minor, 225 void *argument225 void *argument 226 226 ); 227 227 -
c/src/exec/sapi/src/io.c
r9700578 rc4808ca 47 47 * 48 48 * Input Paramters: 49 * device_name - pointer to name string to associate with device 50 * major - device major number to receive name 51 * minor - device minor number to receive name 49 52 * 50 53 * Output Parameters: 54 * RTEMS_SUCCESSFUL - if successful 55 * error code - if unsuccessful 51 56 */ 52 57 … … 91 96 * 92 97 * Input Paramters: 98 * name - name to lookup the associated device 93 99 * 94 100 * Output Parameters: 101 * device_info - device associate with name 102 * RTEMS_SUCCESSFUL - if successful 103 * error code - if unsuccessful 95 104 */ 96 105 97 106 rtems_status_code rtems_io_lookup_name( 98 const char * pathname,99 rtems_driver_name_t ** rnp107 const char *name, 108 rtems_driver_name_t **device_info 100 109 ) 101 110 { … … 107 116 index++, np++ ) 108 117 if (np->device_name) 109 if (strncmp(np->device_name, pathname, np->device_name_length) == 0)118 if (strncmp(np->device_name, name, np->device_name_length) == 0) 110 119 { 111 * rnp= np;120 *device_info = np; 112 121 return RTEMS_SUCCESSFUL; 113 122 } 114 123 115 * rnp= 0;124 *device_info = 0; 116 125 return RTEMS_UNSATISFIED; 117 126 } … … 166 175 rtems_device_major_number major, 167 176 rtems_device_minor_number minor, 168 void *argument177 void *argument 169 178 ) 170 179 { … … 196 205 rtems_device_major_number major, 197 206 rtems_device_minor_number minor, 198 void *argument207 void *argument 199 208 ) 200 209 { … … 226 235 rtems_device_major_number major, 227 236 rtems_device_minor_number minor, 228 void *argument237 void *argument 229 238 ) 230 239 { … … 256 265 rtems_device_major_number major, 257 266 rtems_device_minor_number minor, 258 void *argument267 void *argument 259 268 ) 260 269 { … … 286 295 rtems_device_major_number major, 287 296 rtems_device_minor_number minor, 288 void *argument297 void *argument 289 298 ) 290 299 { -
c/src/exec/score/cpu/sparc/README
r9700578 rc4808ca 109 109 from FP Task A to non-FP Task B and then to FP Task C. In this scenario, 110 110 the floating point state must technically be saved by a non-FP task. 111 112 113 114 115 116 117 118 -
c/src/exec/score/cpu/sparc/cpu.c
r9700578 rc4808ca 1 1 /* 2 2 * SPARC Dependent Source 3 * 4 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 5 * On-Line Applications Research Corporation (OAR). 6 * All rights assigned to U.S. Government, 1994. 7 * 8 * This material may be reproduced by or for the U.S. Government pursuant 9 * to the copyright license under the clause at DFARS 252.227-7013. This 10 * notice must appear in all copies of this file and its derivatives. 11 * 12 * Ported to ERC32 implementation of the SPARC by On-Line Applications 13 * Research Corporation (OAR) under contract to the European Space 14 * Agency (ESA). 15 * 16 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 17 * European Space Agency. 3 18 * 4 19 * $Id$ -
c/src/exec/score/cpu/sparc/cpu.h
r9700578 rc4808ca 3 3 * This include file contains information pertaining to the port of 4 4 * the executive to the SPARC processor. 5 * 6 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 7 * On-Line Applications Research Corporation (OAR). 8 * All rights assigned to U.S. Government, 1994. 9 * 10 * This material may be reproduced by or for the U.S. Government pursuant 11 * to the copyright license under the clause at DFARS 252.227-7013. This 12 * notice must appear in all copies of this file and its derivatives. 13 * 14 * Ported to ERC32 implementation of the SPARC by On-Line Applications 15 * Research Corporation (OAR) under contract to the European Space 16 * Agency (ESA). 17 * 18 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 19 * European Space Agency. 5 20 * 6 21 * $Id$ -
c/src/exec/score/cpu/sparc/cpu_asm.s
r9700578 rc4808ca 4 4 * in an specific CPU port of RTEMS. These algorithms must be implemented 5 5 * in assembly language. 6 * 7 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 8 * On-Line Applications Research Corporation (OAR). 9 * All rights assigned to U.S. Government, 1994. 10 * 11 * This material may be reproduced by or for the U.S. Government pursuant 12 * to the copyright license under the clause at DFARS 252.227-7013. This 13 * notice must appear in all copies of this file and its derivatives. 14 * 15 * Ported to ERC32 implementation of the SPARC by On-Line Applications 16 * Research Corporation (OAR) under contract to the European Space 17 * Agency (ESA). 18 * 19 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 20 * European Space Agency. 6 21 * 7 22 * $Id$ -
c/src/exec/score/cpu/sparc/erc32.h
r9700578 rc4808ca 18 18 * + Memory Control Register 19 19 * + Interrupt Control 20 * 21 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 22 * On-Line Applications Research Corporation (OAR). 23 * All rights assigned to U.S. Government, 1994. 24 * 25 * This material may be reproduced by or for the U.S. Government pursuant 26 * to the copyright license under the clause at DFARS 252.227-7013. This 27 * notice must appear in all copies of this file and its derivatives. 28 * 29 * Ported to ERC32 implementation of the SPARC by On-Line Applications 30 * Research Corporation (OAR) under contract to the European Space 31 * Agency (ESA). 32 * 33 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 34 * European Space Agency. 20 35 * 21 36 * $Id$ -
c/src/exec/score/cpu/sparc/rtems.s
r9700578 rc4808ca 3 3 * This file contains the single entry point code for 4 4 * the SPARC port of RTEMS. 5 * 6 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 7 * On-Line Applications Research Corporation (OAR). 8 * All rights assigned to U.S. Government, 1994. 9 * 10 * This material may be reproduced by or for the U.S. Government pursuant 11 * to the copyright license under the clause at DFARS 252.227-7013. This 12 * notice must appear in all copies of this file and its derivatives. 13 * 14 * Ported to ERC32 implementation of the SPARC by On-Line Applications 15 * Research Corporation (OAR) under contract to the European Space 16 * Agency (ESA). 17 * 18 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 19 * European Space Agency. 5 20 * 6 21 * $Id$ -
c/src/exec/score/cpu/sparc/sparc.h
r9700578 rc4808ca 3 3 * This include file contains information pertaining to the SPARC 4 4 * processor family. 5 * 6 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 7 * On-Line Applications Research Corporation (OAR). 8 * All rights assigned to U.S. Government, 1994. 9 * 10 * This material may be reproduced by or for the U.S. Government pursuant 11 * to the copyright license under the clause at DFARS 252.227-7013. This 12 * notice must appear in all copies of this file and its derivatives. 13 * 14 * Ported to ERC32 implementation of the SPARC by On-Line Applications 15 * Research Corporation (OAR) under contract to the European Space 16 * Agency (ESA). 17 * 18 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 19 * European Space Agency. 5 20 * 6 21 * $Id$ -
c/src/exec/score/cpu/sparc/sparctypes.h
r9700578 rc4808ca 3 3 * This include file contains type definitions pertaining to the 4 4 * SPARC processor family. 5 * 6 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 7 * On-Line Applications Research Corporation (OAR). 8 * All rights assigned to U.S. Government, 1994. 9 * 10 * This material may be reproduced by or for the U.S. Government pursuant 11 * to the copyright license under the clause at DFARS 252.227-7013. This 12 * notice must appear in all copies of this file and its derivatives. 13 * 14 * Ported to ERC32 implementation of the SPARC by On-Line Applications 15 * Research Corporation (OAR) under contract to the European Space 16 * Agency (ESA). 17 * 18 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 19 * European Space Agency. 5 20 * 6 21 * $Id$ -
c/src/lib/libcpu/sparc/include/erc32.h
r9700578 rc4808ca 18 18 * + Memory Control Register 19 19 * + Interrupt Control 20 * 21 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 22 * On-Line Applications Research Corporation (OAR). 23 * All rights assigned to U.S. Government, 1994. 24 * 25 * This material may be reproduced by or for the U.S. Government pursuant 26 * to the copyright license under the clause at DFARS 252.227-7013. This 27 * notice must appear in all copies of this file and its derivatives. 28 * 29 * Ported to ERC32 implementation of the SPARC by On-Line Applications 30 * Research Corporation (OAR) under contract to the European Space 31 * Agency (ESA). 32 * 33 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 34 * European Space Agency. 20 35 * 21 36 * $Id$ -
c/src/tests/sptests/spsize/size.c
r9700578 rc4808ca 355 355 uninitialized = 0; 356 356 357 #ifndef unix /* make sure this is not a native compile */ 358 357 359 #ifdef i386 358 360 … … 425 427 426 428 #endif 429 #endif /* !unix */ 427 430 428 431 initialized += … … 438 441 (sizeof _TOD_Days_since_last_leap_year); 439 442 443 #ifndef unix /* make sure this is not native */ 440 444 #ifdef sparc 441 445 … … 443 447 444 448 #endif 449 #endif /* !unix */ 445 450 446 451 puts( "" ); -
cpukit/rtems/src/msg.c
r9700578 rc4808ca 110 110 * Output parameters: 111 111 * id - queue id 112 * RTEMS_SUCCESSFUL - if successful112 * RTEMS_SUCCESSFUL - if successful 113 113 * error code - if unsuccessful 114 114 */ -
cpukit/rtems/src/region.c
r9700578 rc4808ca 315 315 void *the_segment; 316 316 317 *segment = NULL; 318 317 319 if ( size == 0 ) 318 320 return RTEMS_INVALID_SIZE; -
cpukit/sapi/include/rtems/io.h
r9700578 rc4808ca 116 116 117 117 rtems_status_code rtems_io_register_name( 118 char *device_name,119 rtems_device_major_number major,120 rtems_device_minor_number minor118 char *device_name, 119 rtems_device_major_number major, 120 rtems_device_minor_number minor 121 121 ); 122 122 … … 131 131 132 132 rtems_status_code rtems_io_lookup_name( 133 const char *pathname,134 rtems_driver_name_t ** rnp133 const char *name, 134 rtems_driver_name_t **device_info 135 135 ); 136 136 … … 148 148 rtems_device_major_number major, 149 149 rtems_device_minor_number minor, 150 void *argument150 void *argument 151 151 ); 152 152 … … 163 163 rtems_device_major_number major, 164 164 rtems_device_minor_number minor, 165 void *argument165 void *argument 166 166 ); 167 167 … … 178 178 rtems_device_major_number major, 179 179 rtems_device_minor_number minor, 180 void *argument180 void *argument 181 181 ); 182 182 … … 193 193 rtems_device_major_number major, 194 194 rtems_device_minor_number minor, 195 void *argument195 void *argument 196 196 ); 197 197 … … 208 208 rtems_device_major_number major, 209 209 rtems_device_minor_number minor, 210 void *argument210 void *argument 211 211 ); 212 212 … … 223 223 rtems_device_major_number major, 224 224 rtems_device_minor_number minor, 225 void *argument225 void *argument 226 226 ); 227 227 -
cpukit/sapi/src/io.c
r9700578 rc4808ca 47 47 * 48 48 * Input Paramters: 49 * device_name - pointer to name string to associate with device 50 * major - device major number to receive name 51 * minor - device minor number to receive name 49 52 * 50 53 * Output Parameters: 54 * RTEMS_SUCCESSFUL - if successful 55 * error code - if unsuccessful 51 56 */ 52 57 … … 91 96 * 92 97 * Input Paramters: 98 * name - name to lookup the associated device 93 99 * 94 100 * Output Parameters: 101 * device_info - device associate with name 102 * RTEMS_SUCCESSFUL - if successful 103 * error code - if unsuccessful 95 104 */ 96 105 97 106 rtems_status_code rtems_io_lookup_name( 98 const char * pathname,99 rtems_driver_name_t ** rnp107 const char *name, 108 rtems_driver_name_t **device_info 100 109 ) 101 110 { … … 107 116 index++, np++ ) 108 117 if (np->device_name) 109 if (strncmp(np->device_name, pathname, np->device_name_length) == 0)118 if (strncmp(np->device_name, name, np->device_name_length) == 0) 110 119 { 111 * rnp= np;120 *device_info = np; 112 121 return RTEMS_SUCCESSFUL; 113 122 } 114 123 115 * rnp= 0;124 *device_info = 0; 116 125 return RTEMS_UNSATISFIED; 117 126 } … … 166 175 rtems_device_major_number major, 167 176 rtems_device_minor_number minor, 168 void *argument177 void *argument 169 178 ) 170 179 { … … 196 205 rtems_device_major_number major, 197 206 rtems_device_minor_number minor, 198 void *argument207 void *argument 199 208 ) 200 209 { … … 226 235 rtems_device_major_number major, 227 236 rtems_device_minor_number minor, 228 void *argument237 void *argument 229 238 ) 230 239 { … … 256 265 rtems_device_major_number major, 257 266 rtems_device_minor_number minor, 258 void *argument267 void *argument 259 268 ) 260 269 { … … 286 295 rtems_device_major_number major, 287 296 rtems_device_minor_number minor, 288 void *argument297 void *argument 289 298 ) 290 299 { -
cpukit/score/cpu/sparc/README
r9700578 rc4808ca 109 109 from FP Task A to non-FP Task B and then to FP Task C. In this scenario, 110 110 the floating point state must technically be saved by a non-FP task. 111 112 113 114 115 116 117 118 -
cpukit/score/cpu/sparc/cpu.c
r9700578 rc4808ca 1 1 /* 2 2 * SPARC Dependent Source 3 * 4 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 5 * On-Line Applications Research Corporation (OAR). 6 * All rights assigned to U.S. Government, 1994. 7 * 8 * This material may be reproduced by or for the U.S. Government pursuant 9 * to the copyright license under the clause at DFARS 252.227-7013. This 10 * notice must appear in all copies of this file and its derivatives. 11 * 12 * Ported to ERC32 implementation of the SPARC by On-Line Applications 13 * Research Corporation (OAR) under contract to the European Space 14 * Agency (ESA). 15 * 16 * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. 17 * European Space Agency. 3 18 * 4 19 * $Id$ -
testsuites/sptests/spsize/size.c
r9700578 rc4808ca 355 355 uninitialized = 0; 356 356 357 #ifndef unix /* make sure this is not a native compile */ 358 357 359 #ifdef i386 358 360 … … 425 427 426 428 #endif 429 #endif /* !unix */ 427 430 428 431 initialized += … … 438 441 (sizeof _TOD_Days_since_last_leap_year); 439 442 443 #ifndef unix /* make sure this is not native */ 440 444 #ifdef sparc 441 445 … … 443 447 444 448 #endif 449 #endif /* !unix */ 445 450 446 451 puts( "" );
Note: See TracChangeset
for help on using the changeset viewer.