- 7.2.8 -
PMODE/W MSDOS Extender
PMODE/W Supported DPMI INT 31h functionsFunction 0009 - Set Descriptor Access Rights
PMODE/W API
This function Modifies the access rights field in the descriptor for the
specified segment.
In:
AX = 0009h
BX = selector
CX = access rights/type word
Out:
if successful:
carry flag clear
if failed:
carry flag set
Notes:
The access rights/type word passed to the function in CX has the following
format:
G - 0=byte granular, 1=page granular
B/D - 0=default 16bit, 1=default 32bit
DPL - must be equal to caller's CPL
C/D - 0=data, 1=code
E/C - data: 0=expand-up, 1=expand-down
code: must be 0 (non-conforming)
W/R - data: 0=read, 1=read/write
code: must be 1 (readable)
A - 0=not accessed, 1=accessed
0 - must be 0
1 - must be 1
? - ignored
Client programs should use the LAR instruction to examine the access rights
of a descriptor.
Under DPMI 1.0/VCPI/XMS/raw, any segment register which contains the selector
specified in register BX will be reloaded. DPMI 0.9 may do this, but it is not
guaranteed.
We hope you have enough sense not to try to modify your current CS or SS
descriptor.
|
|
|
Function 0008 - Set Segment Limit |
Table of Content |
Function 000A - Create Alias Descriptor |
- 7.2.8 -