Changeset 5773e82 in mainline for boot/arch/arm64/src


Ignore:
Timestamp:
2019-05-04T12:33:41Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ebbc03c7
Parents:
db8568a (diff), 6de65f3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Petr Pavlu <31453820+setupji@…> (2019-05-04 12:33:41)
git-committer:
GitHub <noreply@…> (2019-05-04 12:33:41)
Message:

Merge pull request #166 from setupji/aarch64-cleanup

AArch64 post-merge clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm64/src/main.c

    rdb8568a r5773e82  
    191191
    192192        /* Statically check PAGE_SIZE and BOOT_OFFSET. */
    193 #if PAGE_SIZE != 4096
    194 #error Unsupported PAGE_SIZE
    195 #endif
    196 #if !IS_ALIGNED(BOOT_OFFSET, PAGE_SIZE)
    197 #error Unsupported BOOT_OFFSET
    198 #endif
     193        _Static_assert(PAGE_SIZE == 4096, "PAGE_SIZE must be equal to 4096");
     194        _Static_assert(IS_ALIGNED(BOOT_OFFSET, PAGE_SIZE),
     195            "BOOT_OFFSET must be a multiple of PAGE_SIZE");
     196
    199197        /*
    200198         * Dynamically check the memory base. The condition should be always
Note: See TracChangeset for help on using the changeset viewer.