Ignore:
File:
1 edited

Legend:

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

    r4099129 r84176f3  
    191191
    192192        /* Statically check PAGE_SIZE and BOOT_OFFSET. */
    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 
     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
    197199        /*
    198200         * Dynamically check the memory base. The condition should be always
Note: See TracChangeset for help on using the changeset viewer.