Am 10.04.2010 01:02, schrieb Tomas Klacko:
> Hi,
>
> in physical_memory.c, I am not quite able to figure out
> the meaning of PHYSICAL_FPM_DIVISOR value.
> Also the lines like "map = Frame>> PHYSICAL_FPM_DIVISOR;" in free_frame().
>
> Tomas Klacko
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Modularkernel-developer mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/modularkernel-developer
>
Hi,
yes, the name of the variable is not really good chosen. In the end, all
those lines lead into something like that:
map = frame / frames_per_map
So the PHYSICAL_FPM_DIVISOR is the value to do the above operation with
a bit shift.
2^PHYSICAL_FPM_DIVISOR = frames_per_map
|