Abt Mem mgmt model selection
Posted: Thu Jan 27, 2005 12:00 am
hi,
i m a bit confused about which memory model should i use in my OS.
My OS is just in design stage, Two options which i have are
1)Protected Mode Flat Memory model
2)Multisegment model.
According to what i have read in Intel manuals Multiseg model is more safer and robust, as i gives hardware protection(though a bit complicated).
On other hand Flat model is a bit easier but (i think) is not as robust as the previous one?
But it seems by using 'paging' even flat model can become safer and robust?
But i reallly want to experiment with Multiseg model, but the thing is that gcc
doesn't support Multiseg model it just support flat model!!!!
Is it so?????????
What do u think which mem model is the best for security ?????
And which C compiler should i use for the same?
i m a bit confused about which memory model should i use in my OS.
My OS is just in design stage, Two options which i have are
1)Protected Mode Flat Memory model
2)Multisegment model.
According to what i have read in Intel manuals Multiseg model is more safer and robust, as i gives hardware protection(though a bit complicated).
On other hand Flat model is a bit easier but (i think) is not as robust as the previous one?
But it seems by using 'paging' even flat model can become safer and robust?
But i reallly want to experiment with Multiseg model, but the thing is that gcc
doesn't support Multiseg model it just support flat model!!!!
Is it so?????????
What do u think which mem model is the best for security ?????
And which C compiler should i use for the same?