Code/Data separation with paging
Posted: Fri Nov 15, 2013 2:29 pm
Hi there,
is there any possibility to separate code and data with paging in Protected Mode (32 Bit)?
I cannot find any way to set the "content type" of a page.
And in nearly every documentation I read segmentation is deprecated. But how does Linux or Windows separate code and data (or don't they do that?) to get a protection fault e.g. when you try to execute from data section?
Thanks!
Bastian
is there any possibility to separate code and data with paging in Protected Mode (32 Bit)?
I cannot find any way to set the "content type" of a page.
And in nearly every documentation I read segmentation is deprecated. But how does Linux or Windows separate code and data (or don't they do that?) to get a protection fault e.g. when you try to execute from data section?
Thanks!
Bastian