Changeset d22be89 in mainline


Ignore:
Timestamp:
2019-06-29T12:43:53Z (5 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:
aca97582
Parents:
aeba767
Message:

Fix riscv64 kernel load address

The bootloader checks that it matches the address it's actually loading at.

File:
1 edited

Legend:

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

    raeba767 rd22be89  
    1616        kernel_load_address = PA2KA(BOOT_OFFSET);
    1717
    18         .image (PA2KA(BOOT_OFFSET) + SIZEOF_HEADERS) : AT (SIZEOF_HEADERS) {
     18        .image (PA2KA(BOOT_OFFSET) + SIZEOF_HEADERS) : AT (BOOT_OFFSET + SIZEOF_HEADERS) {
    1919                ktext_start = .;
    2020                *(K_TEXT_START);
Note: See TracChangeset for help on using the changeset viewer.