diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-DB3A6401-D25E-57E7-A8BF-3B9E0DE3B1D6.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-DB3A6401-D25E-57E7-A8BF-3B9E0DE3B1D6.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,70 @@ + + + + + +Flexible +Memory Model TutorialDescribes how to enable Flexible Memory Model in the baseport. +

Before you start, +you must:

    +
  • Have the knowledge of Flexible Memory Model.

  • +
  • Know how to build romROM-Guide

  • +
+

The Flexible Memory +Model is enabled in a baseport by modifying the variant.mmh, bld.inf, header.iby and base_<platform>.iby files. The following procedure describes the keywords to be used in different +files to enable the Flexible Memory Model in the baseport.

+ +In variant.mmh file +of the baseport, replace the keyword MM_MULTIPLE with MM_FLEXIBLE. + +The key word MM_FLEXIBLE instructs the kernel to use +the flexible memory model. + +... +#define MM_FLEXIBLE + + +In bld.inf file of the baseport, replace the option +for bootstrap extension section. +Change the option MEMMODEL multiple to MEMMODEL + flexible. +This option configures the bootstrap to initialise the system for kernel +to use the Flexible memory model. + +... +#define FLEXIBLE + + + +In both header.iby and base_<platform>.iby files +change the line of memmodel to memmodel flexible +0x100000 0x1000 -0x4000. +... +memmodel flexible 0x100000 0x1000 -0x4000 + + +Add dlldatatop 0x7f000000 in both + header.iby and base_<platform>.iby files. +If the line dlldatatop exists, replace it with dlldatatop +0x7f000000 in both files. +.. +dlldatatop 0x7f000000 +If the dlldatatop entry does not exist, enter dlldatatop +0x7f000000. + + +Build the ROM + + +

The Flexible Memory +Model is enabled in the built ROM.

+
+Flexible +Memory Model Guide +
\ No newline at end of file