Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Dos Protected Mode Interface - <b>page locking services</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        PAGE LOCKING SERVICES


            These services  are only  useful under  DPMI implementations
            that support virtual memory.  They will be ignored by 16-bit
            DPMI implementations  (although they will always return with
            carry clear to indicate success).

            Some  implementations   of  DPMI  may  ignore  these  calls.
            However, if the calls are ignored then the DPMI host will be
            able to  handle page  faults at  arbitrary points during the
            application's execution  including interrupt  and  exception
            handler code.

            Although memory  ranges are  specified in  bytes, the actual
            unit of  memory that  will be  locked will  be one  or  more
            pages.   Page locks  are maintained  as a  count.   When the
            count is  decremented to  zero, the page is unlocked and can
            be swapped  to disk.   This means that if a region of memory
            is locked  three times  then it must be unlocked three times
            before the pages will be unlocked.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson