home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / PCMCIA / SOCKET / SS_SEGM.INC < prev    next >
Text File  |  1995-04-14  |  2KB  |  60 lines

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT (C) Award Software International Inc., 1994
  4. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  5. ;
  6. ;    The following IBM OS/2 WARP source code is provided to you solely for
  7. ;    the purpose of assisting you in your development of OS/2 WARP device
  8. ;    drivers. You may use this code in accordance with the IBM License
  9. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  10. ;    Copyright statement may not be removed.;
  11. ;*****************************************************************************/
  12. ;******************************************************************************
  13. ;*
  14. ;*                              File SS_SEGM.INC
  15. ;*
  16. ;*                   Socket Services Segment Definitions
  17. ;*
  18. ;*
  19. ;*
  20. ;******************************************************************************
  21.  
  22. ifndef   __SS_SEGM_INC_
  23. __SS_SEGM_INC_    equ     1
  24.  
  25.  
  26.                 OPTION  CASEMAP:none        ; Keep characters case
  27.                 OPTION  SEGMENT:USE16       ; Use 16-bit segments
  28. ?SMALL=1                                    ; Small Memory model
  29. ?WIN=0                                      ; No         support
  30. ?PLM=0                                      ; C Calling convention
  31. ?DF=1                                       ; Do not define segments
  32.                 include cmacros.inc         ; Standard definitions
  33.                 .386p
  34.                 .xlist
  35.                  include devhlp.inc
  36.                  include devsym.inc
  37.                 .list
  38.                 .8086
  39.  
  40. createSeg _DATA,     ResData,  WORD, PUBLIC, DATA    , DGROUP
  41. createSeg CONST,     CONST,    WORD, PUBLIC, CONST   , DGROUP
  42. createSeg _BSS,      BSS,      WORD, PUBLIC, BSS     , DGROUP
  43. createSeg _TEXT,     ResCode,  WORD, PUBLIC, CODE
  44. createSeg INIT_DATA, InitData, WORD, PUBLIC, INITDATA
  45. createSeg INIT_CODE, InitCode, WORD, PUBLIC, INITCODE
  46.  
  47. ifndef ResCodeBASE
  48. ResCodeBASE    equ   _TEXT
  49. InitCodeBASE   equ   INIT_CODE
  50. InitDataBASE   equ   INIT_DATA
  51. InitDataOFFSET equ   offset INIT_DATA:
  52. ResCodeOFFSET  equ   offset _TEXT:
  53. InitCodeOFFSET equ   offset INIT_CODE:
  54. endif
  55.  
  56. @data           equ     ResDataBASE
  57.                 .386p
  58.  
  59. endif                                       ; ifndef   __SS_SEGM_INC_
  60.