Changeset 90e6025 in mainline


Ignore:
Timestamp:
2007-09-28T16:48:16Z (17 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e0476ad
Parents:
12a56fa
Message:

Fixed naming convention in IPC.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/ipc.h

    r12a56fa r90e6025  
    178178#define IPC_M_PING              512
    179179/* User methods */
    180 #define FIRST_USER_METHOD       1024
     180#define IPC_FIRST_USER_METHOD   1024
    181181
    182182#ifdef KERNEL
  • uspace/lib/libc/include/ipc/fb.h

    r12a56fa r90e6025  
    3636#define LIBC_FB_H_
    3737
    38 #define FB_PUTCHAR           1025
    39 #define FB_CLEAR             1026
    40 #define FB_GET_CSIZE         1027
    41 #define FB_CURSOR_VISIBILITY 1028
    42 #define FB_CURSOR_GOTO       1029
    43 #define FB_SCROLL            1030
    44 #define FB_VIEWPORT_SWITCH   1031
    45 #define FB_VIEWPORT_CREATE   1032
    46 #define FB_VIEWPORT_DELETE   1033
    47 #define FB_SET_STYLE         1034
    48 #define FB_GET_RESOLUTION    1035
    49 #define FB_DRAW_TEXT_DATA    1036
    50 #define FB_FLUSH             1037
    51 #define FB_VIEWPORT_DB       1038
     38#include <ipc/ipc.h>
    5239
    53 #define FB_DRAW_PPM          1100
    54 #define FB_PREPARE_SHM       1101
    55 #define FB_DROP_SHM          1102
    56 #define FB_SHM2PIXMAP        1103
     40typedef enum {
     41        FB_PUTCHAR = IPC_FIRST_USER_METHOD,
     42        FB_CLEAR,
     43        FB_GET_CSIZE,
     44        FB_CURSOR_VISIBILITY,
     45        FB_CURSOR_GOTO,
     46        FB_SCROLL,
     47        FB_VIEWPORT_SWITCH,
     48        FB_VIEWPORT_CREATE,
     49        FB_VIEWPORT_DELETE,
     50        FB_SET_STYLE,
     51        FB_GET_RESOLUTION,
     52        FB_DRAW_TEXT_DATA,
     53        FB_FLUSH,
     54        FB_VIEWPORT_DB,
     55        FB_DRAW_PPM,
     56        FB_PREPARE_SHM,
     57        FB_DROP_SHM,
     58        FB_SHM2PIXMAP,
     59        FB_VP_DRAW_PIXMAP,
     60        FB_VP2PIXMAP,
     61        FB_DROP_PIXMAP,
     62        FB_TRANS_PUTCHAR,
     63        FB_ANIM_CREATE,
     64        FB_ANIM_DROP,
     65        FB_ANIM_ADDPIXMAP,
     66        FB_ANIM_CHGVP,
     67        FB_ANIM_START,
     68        FB_ANIM_STOP,
     69        FB_POINTER_MOVE
     70} fb_request_t;
    5771
    58 #define FB_VP_DRAW_PIXMAP    1104
    59 #define FB_VP2PIXMAP         1105
    60 #define FB_DROP_PIXMAP       1106
    61 #define FB_TRANS_PUTCHAR     1107
    62 
    63 #define FB_ANIM_CREATE       1200
    64 #define FB_ANIM_DROP         1201
    65 #define FB_ANIM_ADDPIXMAP    1202
    66 #define FB_ANIM_CHGVP        1203
    67 #define FB_ANIM_START        1204
    68 #define FB_ANIM_STOP         1205
    69 
    70 #define FB_POINTER_MOVE      1300
    7172
    7273#endif
  • uspace/srv/devmap/devmap.c

    r12a56fa r90e6025  
    3636 */
    3737
    38 #include <ipc/ipc.h>
    3938#include <ipc/services.h>
    4039#include <ipc/ns.h>
  • uspace/srv/devmap/devmap.h

    r12a56fa r90e6025  
    3434#define DEVMAP_DEVMAP_H_
    3535
     36#include <ipc/ipc.h>
     37
    3638typedef enum {
    37         DEVMAP_REGISTER = FIRST_USER_METHOD,
     39        DEVMAP_REGISTER = IPC_FIRST_USER_METHOD,
    3840        DEVMAP_UNREGISTER,
    3941        DEVMAP_CONNECT_TO_DEVICE
  • uspace/srv/vfs/vfs.h

    r12a56fa r90e6025  
    3838#include <atomic.h>
    3939#include <sys/types.h>
     40#include <bool.h>
    4041
    4142#define dprintf(...)    printf(__VA_ARGS__)
    4243
    43 #define VFS_FIRST       FIRST_USER_METHOD
     44#define VFS_FIRST       IPC_FIRST_USER_METHOD
    4445
    4546#define IPC_METHOD_TO_VFS_OP(m) ((m) - VFS_FIRST)       
Note: See TracChangeset for help on using the changeset viewer.