Changeset a456074d in rtems


Ignore:
Timestamp:
Apr 3, 1998, 6:44:44 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b82c957
Parents:
bda1a73
Message:

Made these have real constants.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/base/aio.h

    rbda1a73 ra456074d  
    2626
    2727#define AIO_CANCELED    0 /* all requested operations have been canceled */
    28 #define AIO_NOTCANCELED 0 /* some of the operations could not be canceled */
     28#define AIO_NOTCANCELED 1 /* some of the operations could not be canceled */
    2929                          /*   since they are in progress */
    30 #define AIO_ALLDONE     0 /* none of the requested operations could be */
     30#define AIO_ALLDONE     2 /* none of the requested operations could be */
    3131                          /*   canceled since they are already complete */
    3232
     
    3535#define LIO_WAIT        0 /* calling process is to suspend until the */
    3636                          /*   operation is complete */
    37 #define LIO_NOWAIT      0 /* calling process is to continue execution while */
     37#define LIO_NOWAIT      1 /* calling process is to continue execution while */
    3838                          /*   the operation is performed and no notification */
    3939                          /*   shall be given when the operation is completed */
    40 #define LIO_READ        0 /* request a read() */
    41 #define LIO_WRITE       0 /* request a write() */
    42 #define LIO_NOP         0 /* no transfer is requested */
     40#define LIO_READ        2 /* request a read() */
     41#define LIO_WRITE       3 /* request a write() */
     42#define LIO_NOP         4 /* no transfer is requested */
    4343
    4444/*
  • c/src/exec/posix/base/unistd.h

    rbda1a73 ra456074d  
    5656 */
    5757
    58 #define _SC_GETGR_R_SIZE_MAX       35
    59 #define _SC_GETPW_R_SIZE_MAX
    60 #define _SC_LOGIN_NAME_MAX
    61 #define _SC_THREAD_DESTRUCTOR_ITERATIONS
    62 #define _SC_THREAD_KEYS_MAX
    63 #define _SC_THREAD_STACK_MIN
    64 #define _SC_THREAD_THREADS_MAX
    65 #define _SC_TTY_NAME_MAX
     58#define _SC_GETGR_R_SIZE_MAX             35
     59#define _SC_GETPW_R_SIZE_MAX             36
     60#define _SC_LOGIN_NAME_MAX               37
     61#define _SC_THREAD_DESTRUCTOR_ITERATIONS 38
     62#define _SC_THREAD_KEYS_MAX              39
     63#define _SC_THREAD_STACK_MIN             40
     64#define _SC_THREAD_THREADS_MAX           41
     65#define _SC_TTY_NAME_MAX                 42
    6666
    67 #define _SC_THREADS
    68 #define _SC_THREAD_ATTR_STACKADDR
    69 #define _SC_THREAD_ATTR_STACKSIZE
    70 #define _SC_THREAD_PRIORITY_SCHEDULING
    71 #define _SC_THREAD_PRIO_INHERIT
    72 #define _SC_THREAD_PRIO_CEILING
    73 #define _SC_THREAD_PROCESS_SHARED
    74 #define _SC_THREAD_SAGE_FUNCTIONS
     67#define _SC_THREADS                      43
     68#define _SC_THREAD_ATTR_STACKADDR        44
     69#define _SC_THREAD_ATTR_STACKSIZE        45
     70#define _SC_THREAD_PRIORITY_SCHEDULING   46
     71#define _SC_THREAD_PRIO_INHERIT          47
     72#define _SC_THREAD_PRIO_CEILING          48
     73#define _SC_THREAD_PROCESS_SHARED        49
     74#define _SC_THREAD_SAFE_FUNCTIONS        50
     75
     76/* JRS: 04/02/98: _SC_THREAD_PRIO_CEILING seems to have changed names
     77 *                in the final standard to _SC_THREAD_PRIO_PROTECT.
     78 */
    7579
    7680/*
  • c/src/exec/posix/include/aio.h

    rbda1a73 ra456074d  
    2626
    2727#define AIO_CANCELED    0 /* all requested operations have been canceled */
    28 #define AIO_NOTCANCELED 0 /* some of the operations could not be canceled */
     28#define AIO_NOTCANCELED 1 /* some of the operations could not be canceled */
    2929                          /*   since they are in progress */
    30 #define AIO_ALLDONE     0 /* none of the requested operations could be */
     30#define AIO_ALLDONE     2 /* none of the requested operations could be */
    3131                          /*   canceled since they are already complete */
    3232
     
    3535#define LIO_WAIT        0 /* calling process is to suspend until the */
    3636                          /*   operation is complete */
    37 #define LIO_NOWAIT      0 /* calling process is to continue execution while */
     37#define LIO_NOWAIT      1 /* calling process is to continue execution while */
    3838                          /*   the operation is performed and no notification */
    3939                          /*   shall be given when the operation is completed */
    40 #define LIO_READ        0 /* request a read() */
    41 #define LIO_WRITE       0 /* request a write() */
    42 #define LIO_NOP         0 /* no transfer is requested */
     40#define LIO_READ        2 /* request a read() */
     41#define LIO_WRITE       3 /* request a write() */
     42#define LIO_NOP         4 /* no transfer is requested */
    4343
    4444/*
  • c/src/exec/posix/include/unistd.h

    rbda1a73 ra456074d  
    5656 */
    5757
    58 #define _SC_GETGR_R_SIZE_MAX       35
    59 #define _SC_GETPW_R_SIZE_MAX
    60 #define _SC_LOGIN_NAME_MAX
    61 #define _SC_THREAD_DESTRUCTOR_ITERATIONS
    62 #define _SC_THREAD_KEYS_MAX
    63 #define _SC_THREAD_STACK_MIN
    64 #define _SC_THREAD_THREADS_MAX
    65 #define _SC_TTY_NAME_MAX
     58#define _SC_GETGR_R_SIZE_MAX             35
     59#define _SC_GETPW_R_SIZE_MAX             36
     60#define _SC_LOGIN_NAME_MAX               37
     61#define _SC_THREAD_DESTRUCTOR_ITERATIONS 38
     62#define _SC_THREAD_KEYS_MAX              39
     63#define _SC_THREAD_STACK_MIN             40
     64#define _SC_THREAD_THREADS_MAX           41
     65#define _SC_TTY_NAME_MAX                 42
    6666
    67 #define _SC_THREADS
    68 #define _SC_THREAD_ATTR_STACKADDR
    69 #define _SC_THREAD_ATTR_STACKSIZE
    70 #define _SC_THREAD_PRIORITY_SCHEDULING
    71 #define _SC_THREAD_PRIO_INHERIT
    72 #define _SC_THREAD_PRIO_CEILING
    73 #define _SC_THREAD_PROCESS_SHARED
    74 #define _SC_THREAD_SAGE_FUNCTIONS
     67#define _SC_THREADS                      43
     68#define _SC_THREAD_ATTR_STACKADDR        44
     69#define _SC_THREAD_ATTR_STACKSIZE        45
     70#define _SC_THREAD_PRIORITY_SCHEDULING   46
     71#define _SC_THREAD_PRIO_INHERIT          47
     72#define _SC_THREAD_PRIO_CEILING          48
     73#define _SC_THREAD_PROCESS_SHARED        49
     74#define _SC_THREAD_SAFE_FUNCTIONS        50
     75
     76/* JRS: 04/02/98: _SC_THREAD_PRIO_CEILING seems to have changed names
     77 *                in the final standard to _SC_THREAD_PRIO_PROTECT.
     78 */
    7579
    7680/*
  • cpukit/posix/include/aio.h

    rbda1a73 ra456074d  
    2626
    2727#define AIO_CANCELED    0 /* all requested operations have been canceled */
    28 #define AIO_NOTCANCELED 0 /* some of the operations could not be canceled */
     28#define AIO_NOTCANCELED 1 /* some of the operations could not be canceled */
    2929                          /*   since they are in progress */
    30 #define AIO_ALLDONE     0 /* none of the requested operations could be */
     30#define AIO_ALLDONE     2 /* none of the requested operations could be */
    3131                          /*   canceled since they are already complete */
    3232
     
    3535#define LIO_WAIT        0 /* calling process is to suspend until the */
    3636                          /*   operation is complete */
    37 #define LIO_NOWAIT      0 /* calling process is to continue execution while */
     37#define LIO_NOWAIT      1 /* calling process is to continue execution while */
    3838                          /*   the operation is performed and no notification */
    3939                          /*   shall be given when the operation is completed */
    40 #define LIO_READ        0 /* request a read() */
    41 #define LIO_WRITE       0 /* request a write() */
    42 #define LIO_NOP         0 /* no transfer is requested */
     40#define LIO_READ        2 /* request a read() */
     41#define LIO_WRITE       3 /* request a write() */
     42#define LIO_NOP         4 /* no transfer is requested */
    4343
    4444/*
Note: See TracChangeset for help on using the changeset viewer.