Changeset 4cc2ddd in mainline for kernel/arch/amd64/src/mm/page.c


Ignore:
Timestamp:
2008-01-15T13:19:35Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
62da45a
Parents:
22e8166d
Message:

amd64: shorten kernel address space by 2 GB to support proper mapping of more than 2 GB of physical memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/mm/page.c

    r22e8166d r4cc2ddd  
    8888        if (config.cpu_active == 1) {
    8989                page_mapping_operations = &pt_mapping_operations;
    90                
     90
    9191                /*
    9292                 * PA2KA(identity) mapping for all frames.
     
    9696                        page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, identity_flags);
    9797                }
     98               
    9899                /* Upper kernel mapping
    99100                 * - from zero to top of kernel (include bottom addresses
    100                  *   because some are needed for init )
     101                 *   because some are needed for init)
    101102                 */
    102103                for (cur = PA2KA_CODE(0); cur < config.base + config.kernel_size; cur += FRAME_SIZE)
Note: See TracChangeset for help on using the changeset viewer.