This DPMI 0.9 Specification is hosted by Tenberry Software, Inc.

8. Descriptor Management Services


[Next Section] * [Previous Section] * [DPMI Index]
[Tenberry Home] * [Software Quality] * [DOS/4G] * [DOS/4GW] * [DOS/16M]

The descriptor management services provide interfaces for allocating, freeing, creating, locking and unlocking protected mode descriptors in the descriptor table, which can be either the Global Descriptor table (GDT) or the current task's Local Descriptor Table (LDT).

In general, these functions operate on the LDT when running in a DPMI environment, such as a Windows/xx DOS box, or under Linux's DOSEMU. Normally, when running in real DOS, these functions will operate on the GDT.

Because 32-bit programs don't need descriptors to address all of memory in the way that 16-bit programs do, your 32-bit programs will not generally use these functions. However, if your 32-bit program needs to call real-mode code (which is always 16-bit), or if your program contains both 16-bit and 32-bit code, you will need these functions.


[Next Section] * [Previous Section] * [DPMI Index]
[Tenberry Home] * [Software Quality] * [DOS/4G] * [DOS/4GW] * [DOS/16M]
This HTML edition of the DPMI 0.9 Specification is hosted by Tenberry Software, Inc., makers of the DOS/16M and the DOS/4G family of DOS extenders. Page last modified 2003.1.28, <webmaster@tenberry.com>