Changeset ddcc8a0 in mainline for kernel/generic/src/mm/frame.c


Ignore:
Timestamp:
2011-11-10T23:09:13Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95e882d
Parents:
ec1c8e6
Message:

Split frame_arch_init() into two parts.

  • frame_low_arch_init() is meant to initialize physical memory that will be accessible using the kernel identity mapping
  • frame_high_arch_init() is meant to initialize physical memory beyond the reach of the kernel identity mapping; zones in the high memory should have configuration frames allocated externally from the low memory (which will be allowed)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/frame.c

    rec1c8e6 rddcc8a0  
    12321232       
    12331233        /* Tell the architecture to create some memory */
    1234         frame_arch_init();
     1234        frame_low_arch_init();
    12351235        if (config.cpu_active == 1) {
    12361236                frame_mark_unavailable(ADDR2PFN(KA2PA(config.base)),
     
    12551255                frame_mark_unavailable(0, 1);
    12561256        }
     1257        frame_high_arch_init();
    12571258}
    12581259
Note: See TracChangeset for help on using the changeset viewer.