;       SCCSID = @(#)demumb.inc	6.1 91/07/12
;       SCCSID = @(#)demumb.inc	6.2 91/03/04
;BN001;
; LINE TAGS BEGINNING WITH 'B' ARE FOR THE CRUISER RELEASE:  OS/2 VERSION 2.0
;BN001;
page    ,132                            ;
;TITLE   Demumb.inc - DOS Emulation include file for UMB support
;**********************************************************************;BN001;
; REVISION HISTORY                                                     ;BN001;
;                                                                      ;BN001;
;  B001  DCR 1329 - 2/16/91 TMB -  File Created.                       ;BN001;
;                                                                      ;BN001;
;                   Add support for loading DOS device                 ;BN001;
;                   drivers and TSRs into UMBs.                        ;BN001;
;                                                                      ;BN001;
;                   Module dependencies:                               ;BN001;
;                   drv6\src\dos\v86code\v86init.asm                   ;BN001;
;                   drv6\src\dos\v86code\demarena.asm                  ;BN001;
;                   drv6\src\dos\v86code\demcnst.asm                   ;BN001;
;                   drv6\src\dos\v86code\demproc.asm                   ;BN001;
;                   drv6\src\dos\v86code\demexec.asm                   ;BN001;
;                   drv6\src\dos\v86code\demumb.inc                    ;BN001;
;                   drv6\src\vdev\vbios.c                              ;BN001;
;                   drv6\src\vdev\propname.h                           ;BN001;
;                   drv6\inc\vdmprop.inc                               ;BN001;
;                   drv6\h\vdmprop.h                                   ;BN001;
;                   drv6\src\dos\mvdm\dem.c                            ;BN001;
;**********************************************************************;BN001;
;                                                                        ;BN001;
;       UMB_FLAG  bit definitions                                        ;BN001;
;                                                                        ;BN001;
LINKSTATE       EQU      0000000000000001b ;indicates link state of UMBs ;BN001;
                                        ; (UMBs chain linked to DOS      ;BN001;
                                        ; arena chain)                   ;BN001;
                                        ; 1 = linked   0 = not linked    ;BN001;
NOLINKUMBS      EQU      1000000000000000b ; indicates whether the UMBs  ;BN001;
                                        ; are linkable.                  ;BN001;
                                        ; 0 = can link 1 = can't link    ;BN001;
UMBAVAIL        EQU      0100000000000000b ; indicates whether UMBs are  ;BN001;
                                        ;  supported                     ;BN001;
                                        ; (ie. DOS=UMB, XMS providing    ;BN001;
                                        ;  UMBs, and UMB_HEAD is valid)  ;BN001;
                                        ; 1 = supported, 0= not supported;BN001;
NOUMBS          EQU      0010000000000000b ; DOS=UMBs will RESET this flg;BN001;
                                        ; When DOS=UMBS (NOUMBS=0), the  ;BN001;
                                        ; DOS apps will not be able to   ;BN001;
                                        ; use XMS to get UMBs.  They will;BN001;
                                        ; have to specify DOS=NOUMBS     ;BN001;
                                        ; (NOUMBS=1) to access UMBs via  ;BN001;
                                        ;  XMS.                          ;BN001;
                                        ; 0 = DOSOWNS UMBs               ;BN001;
                                        ; 1 = DOS does NOT own UMBs      ;BN001;
DOSALLOC        EQU     0001000000000000b ; 1 = this is a kernel request ;BN001;
                                        ; 0 = this is not a kernel       ;BN001;
                                        ; request                        ;BN001;
                                        ; If set, when UMBs are not      ;BN001;
                                        ; in linked $alloc will search   ;BN001;
                                        ; UMBs anyway                    ;BN001;
;                                                                        ;BN001;
;                                                                        ;BN001;
;       XMS - UMB  request equates                                       ;BN001;
;                                                                        ;BN001;
XMM_REQUEST_UMB          EQU  10h       ; function to request UMB        ;BN001;
