home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ddkx86v2.zip
/
DDKX86
/
DBCSDD
/
INC32
/
BSEMEMF.INC
< prev
next >
Wrap
Text File
|
1995-04-14
|
2KB
|
49 lines
;*DDK*************************************************************************/
;
; COPYRIGHT Copyright (C) 1995 IBM Corporation
;
; The following IBM OS/2 WARP source code is provided to you solely for
; the purpose of assisting you in your development of OS/2 WARP device
; drivers. You may use this code in accordance with the IBM License
; Agreement provided in the IBM Device Driver Source Kit for OS/2. This
; Copyright statement may not be removed.;
;*****************************************************************************/
ifdef __IBMC__
ifndef __CHKHDR__
endif
endif
ifndef __BSEMEMF__
__BSEMEMF__ EQU 1
PAG_READ EQU 00000001H
PAG_WRITE EQU 00000002H
PAG_EXECUTE EQU 00000004H
PAG_GUARD EQU 00000008H
PAG_DEFAULT EQU 00000400H
PAG_COMMIT EQU 00000010H
PAG_DECOMMIT EQU 00000020H
OBJ_TILE EQU 00000040H
OBJ_PROTECTED EQU 00000080H
OBJ_GETTABLE EQU 00000100H
OBJ_GIVEABLE EQU 00000200H
fPERM EQU (PAG_EXECUTE OR PAG_READ OR PAG_WRITE)
fSHARE EQU (OBJ_GETTABLE OR OBJ_GIVEABLE)
fALLOC EQU (OBJ_TILE OR PAG_COMMIT OR fPERM)
fALLOCSHR EQU (OBJ_TILE OR PAG_COMMIT OR fSHARE OR fPERM)
fGETNMSHR EQU (fPERM)
fGETSHR EQU (fPERM)
fGIVESHR EQU (fPERM)
fSET EQU (PAG_COMMIT + PAG_DECOMMIT + PAG_DEFAULT + fPERM)
DOSSUB_INIT EQU 01H
DOSSUB_GROW EQU 02H
DOSSUB_SPARSE_OBJ EQU 04H
DOSSUB_SERIALIZE EQU 08H
PAG_SHARED EQU 00002000H
PAG_FREE EQU 00004000H
PAG_BASE EQU 00010000H
endif
ifdef __IBMC__
ifndef __CHKHDR__
endif
endif