News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

paging and protected memory

Started by ninjarider, July 30, 2007, 11:53:18 PM

Previous topic - Next topic

ninjarider

currently reading on protected memory and stuff. from what i've been reading so far, you can only have 1 page size.

my question:
what is the average size code, data, and stack sections in programs that will run on a computer.
think i've read somewere were you can mix 4mb and 4kb pages is this true.

[edit]
answered the mixing 4mb and 4kb. my question about it is how is it done.

Tedd

There's a 'page-size' bit in the page-directory entries - when it's clear the page size is 4kB, and 4MB when set.

(Intel System Programming Guide, Protected-Mode Memory Management chapter has all the details :wink)
No snowflake in an avalanche feels responsible.

MichaelW

eschew obfuscation