Changeset bae43dc in mainline


Ignore:
Timestamp:
2018-10-18T14:55:39Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4fff3c7
Parents:
1d18bbc0
Message:

Clean up some unnecessary linker script symbols

Location:
kernel/arch
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/_link.ld.in

    r1d18bbc0 rbae43dc  
    1616
    1717        .unmapped BOOT_OFFSET: AT (0) {
    18                 unmapped_ktext_start = .;
     18                unmapped_start = .;
    1919                *(K_TEXT_START);
    20                 unmapped_ktext_end = .;
    21 
    22                 unmapped_kdata_start = .;
    2320                *(K_DATA_START);
    2421                *(K_INI_PTLS);
    25                 unmapped_kdata_end = .;
     22                unmapped_end = .;
    2623        }
    2724
  • kernel/arch/amd64/include/arch/boot/boot.h

    r1d18bbc0 rbae43dc  
    4242#ifndef __ASSEMBLER__
    4343
    44 extern uint8_t unmapped_kdata_end[];
     44extern uint8_t unmapped_end[];
    4545
    4646#endif /* __ASSEMBLER__ */
  • kernel/arch/amd64/src/amd64.c

    r1d18bbc0 rbae43dc  
    9494
    9595#ifdef CONFIG_SMP
    96         size_t unmapped_size = (uintptr_t) unmapped_kdata_end - BOOT_OFFSET;
     96        size_t unmapped_size = (uintptr_t) unmapped_end - BOOT_OFFSET;
    9797        /* Copy AP bootstrap routines below 1 MB. */
    9898        memcpy((void *) AP_BOOT_OFFSET, (void *) BOOT_OFFSET, unmapped_size);
  • kernel/arch/amd64/src/boot/multiboot.S

    r1d18bbc0 rbae43dc  
    7070        .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS)  /* checksum */
    7171        .long multiboot_header
    72         .long unmapped_ktext_start
     72        .long unmapped_start
    7373        .long 0
    7474        .long 0
  • kernel/arch/amd64/src/boot/multiboot2.S

    r1d18bbc0 rbae43dc  
    6969                .long tag_address_end - tag_address_start
    7070                .long multiboot2_header_start
    71                 .long unmapped_ktext_start
     71                .long unmapped_start
    7272                .long 0
    7373                .long 0
  • kernel/arch/ia32/_link.ld.in

    r1d18bbc0 rbae43dc  
    1616
    1717        .unmapped BOOT_OFFSET: AT (0) {
    18                 unmapped_ktext_start = .;
     18                unmapped_start = .;
    1919                *(K_TEXT_START);
    20                 unmapped_ktext_end = .;
    21 
    22                 unmapped_kdata_start = .;
    2320                *(K_DATA_START);
    24                 unmapped_kdata_end = .;
     21                unmapped_end = .;
    2522        }
    2623
  • kernel/arch/ia32/include/arch/boot/boot.h

    r1d18bbc0 rbae43dc  
    4444#ifdef CONFIG_SMP
    4545
    46 extern uint8_t unmapped_kdata_end[];
     46extern uint8_t unmapped_end[];
    4747
    4848#endif /* CONFIG_SMP */
  • kernel/arch/ia32/src/boot/multiboot.S

    r1d18bbc0 rbae43dc  
    6969        .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS)  /* checksum */
    7070        .long multiboot_header
    71         .long unmapped_ktext_start
     71        .long unmapped_start
    7272        .long 0
    7373        .long 0
  • kernel/arch/ia32/src/boot/multiboot2.S

    r1d18bbc0 rbae43dc  
    6767                .long tag_address_end - tag_address_start
    6868                .long multiboot2_header_start
    69                 .long unmapped_ktext_start
     69                .long unmapped_start
    7070                .long 0
    7171                .long 0
  • kernel/arch/ia32/src/ia32.c

    r1d18bbc0 rbae43dc  
    9494
    9595#ifdef CONFIG_SMP
    96         size_t unmapped_size = (uintptr_t) unmapped_kdata_end - BOOT_OFFSET;
     96        size_t unmapped_size = (uintptr_t) unmapped_end - BOOT_OFFSET;
    9797        /* Copy AP bootstrap routines below 1 MB. */
    9898        memcpy((void *) AP_BOOT_OFFSET, (void *) BOOT_OFFSET, unmapped_size);
  • kernel/arch/ia32/src/mm/frame.c

    r1d18bbc0 rbae43dc  
    153153#ifdef CONFIG_SMP
    154154                size_t unmapped_size =
    155                     (uintptr_t) unmapped_kdata_end - BOOT_OFFSET;
     155                    (uintptr_t) unmapped_end - BOOT_OFFSET;
    156156
    157157                minconf = max(minconf,
  • kernel/arch/ppc32/_link.ld.in

    r1d18bbc0 rbae43dc  
    2121
    2222        .unmapped 0: AT (0) {
    23                 unmapped_ktext_start = .;
    2423                *(K_UNMAPPED_TEXT_START);
    25                 unmapped_ktext_end = .;
    26 
    27                 unmapped_kdata_start = .;
    28                 *(K_UNMAPPED_DATA_START);
    29                 unmapped_kdata_start = .;
    3024        }
    3125
Note: See TracChangeset for help on using the changeset viewer.