Changeset c4b3e3e in mainline for arch/amd64/_link.ld


Ignore:
Timestamp:
2005-09-03T19:33:52Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c835e7c
Parents:
78665c0
Message:

Moved AMD64 kernel above 1MB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/_link.ld

    r78665c0 rc4b3e3e  
    1818                *(K_TEXT_START_2);
    1919                unmapped_ktext_end = .;
     20
    2021                unmapped_kdata_start = .;
    2122                *(K_DATA_START);
     
    2324        }
    2425
    25         .mapped (0xffffffff80000000+SIZEOF(.unmapped)+0x8000) : AT (0x8000+SIZEOF(.unmapped)) {
     26        .mapped (0xffffffff80100000+0x8000+SIZEOF(.unmapped)) : AT (0x8000+SIZEOF(.unmapped)) {
    2627                ktext_start = .;
    2728                *(BOOT_DATA);
     
    3839                hardcoded_kdata_size = .;
    3940                QUAD(kdata_end - kdata_start + (unmapped_kdata_end - unmapped_kdata_start));
     41                hardcoded_unmapped_ktext_size = .;
     42                LONG(unmapped_ktext_end - unmapped_ktext_start);
     43                hardcoded_unmapped_kdata_size = .;
     44                LONG(unmapped_kdata_end - unmapped_kdata_start);
    4045                *(COMMON);              /* global variables */
    4146
     
    5156                kdata_end = .;
    5257        }
    53         _map_address = 0xffffffff80000000;
     58        _map_address = 0xffffffff80100000;
     59        _hardcoded_kernel_size = (ktext_end - ktext_start) + (unmapped_ktext_end - unmapped_ktext_start) + (kdata_end - kdata_start) + (unmapped_kdata_end - unmapped_kdata_start);
     60
    5461        e820table_boot = e820table - _map_address;
    5562        e820counter_boot = e820counter - _map_address;
Note: See TracChangeset for help on using the changeset viewer.