Changeset 5dce48b9 in mainline for arch/ia32/_link.ld


Ignore:
Timestamp:
2005-09-01T16:40:30Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
399ccd9
Parents:
2793442
Message:

load the kernel above 1 MB on IA-32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/_link.ld

    r2793442 r5dce48b9  
    2323        }
    2424
    25         .mapped (0x80000000+SIZEOF(.unmapped)+0x8000) : AT (0x8000+SIZEOF(.unmapped)) {
     25        .mapped (0x80100000+SIZEOF(.unmapped)+0x8000) : AT (0x8000+SIZEOF(.unmapped)) {
    2626                ktext_start = .;
    2727                *(.text);
     
    3333                *(COMMON);              /* global variables */
    3434                hardcoded_load_address = .;
    35                 LONG(0x80008000);
     35                LONG(0x80108000);
    3636                hardcoded_ktext_size = .;
    3737                LONG(ktext_end - ktext_start + (unmapped_ktext_end - unmapped_ktext_start));
     
    4242                kdata_end = .;
    4343        }
     44       
     45        _hardcoded_kernel_size = (ktext_end - ktext_start) + (unmapped_ktext_end - unmapped_ktext_start) + (kdata_end - kdata_start) + (unmapped_kdata_end - unmapped_kdata_start);
     46       
    4447}
Note: See TracChangeset for help on using the changeset viewer.