Changeset b5143bd in mainline for boot


Ignore:
Timestamp:
2015-06-06T01:50:56Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0453261
Parents:
94e46c9 (diff), 87a2f9b (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.
Message:

mainline changes

Location:
boot
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/src/mm.c

    r94e46c9 rb5143bd  
    193193}
    194194
    195 static void enable_paging()
    196 {
    197         /* c3   - each two bits controls access to the one of domains (16)
     195static void enable_paging(void)
     196{
     197        /*
     198         * c3   - each two bits controls access to the one of domains (16)
    198199         * 0b01 - behave as a client (user) of a domain
    199200         */
     
    232233
    233234/** Start the MMU - initialize page table and enable paging. */
    234 void mmu_start() {
     235void mmu_start(void)
     236{
    235237        disable_paging();
    236238#ifdef PROCESSOR_ARCH_armv7_a
  • boot/arch/ppc32/include/asm.h

    r94e46c9 rb5143bd  
    3535extern void jump_to_kernel(void *, void *, size_t, void *)
    3636    __attribute__((noreturn));
    37 extern void real_mode();
     37extern void real_mode(void);
    3838
    3939#endif
  • boot/arch/sparc32/src/ambapp.c

    r94e46c9 rb5143bd  
    5858static void ambapp_scan_area(uintptr_t, unsigned int);
    5959
    60 void ambapp_scan()
     60void ambapp_scan(void)
    6161{
    6262        amba_fake = false;
     
    104104}
    105105
    106 void ambapp_qemu_fake_scan()
     106void ambapp_qemu_fake_scan(void)
    107107{
    108108        /* UART */
     
    134134}
    135135
    136 bool ambapp_fake()
     136bool ambapp_fake(void)
    137137{
    138138        return amba_fake;
    139139}
    140140
    141 void ambapp_print_devices()
     141void ambapp_print_devices(void)
    142142{
    143143        printf("ABMA devices:\n");
  • boot/arch/sparc32/src/mm.c

    r94e46c9 rb5143bd  
    7676}
    7777
    78 static void mmu_disable()
     78static void mmu_disable(void)
    7979{
    8080        uint32_t cr = asi_u32_read(ASI_MMUREGS, 0x000);
  • boot/generic/include/memstr.h

    r94e46c9 rb5143bd  
    3636
    3737extern void *memcpy(void *, const void *, size_t)
    38     __attribute__ ((optimize("-fno-tree-loop-distribute-patterns")));
     38    __attribute__((nonnull(1, 2)))
     39    __attribute__((optimize("-fno-tree-loop-distribute-patterns")));
    3940extern void *memset(void *, int, size_t)
    40     __attribute__ ((optimize("-fno-tree-loop-distribute-patterns")));
    41 extern void *memmove(void *, const void *, size_t);
     41    __attribute__((nonnull(1)))
     42    __attribute__((optimize("-fno-tree-loop-distribute-patterns")));
     43extern void *memmove(void *, const void *, size_t)
     44    __attribute__((nonnull(1, 2)));
    4245
    4346#endif
Note: See TracChangeset for help on using the changeset viewer.