Changeset 2b3dd78 in mainline for boot


Ignore:
Timestamp:
2018-01-31T12:02:00Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5595841
Parents:
a0a9cc2 (diff), 14d789c (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:

Merge remote-tracking branch 'upstream/master' into forwardport

change tmon includes because of new stdlib

Location:
boot
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/include/arch/arch.h

    ra0a9cc2 r2b3dd78  
    5555
    5656#ifdef MACHINE_beagleboardxm
    57         #define PA_OFFSET 0
     57#define PA_OFFSET 0
    5858#elif defined MACHINE_beaglebone
    59         #define PA_OFFSET 0
     59#define PA_OFFSET 0
    6060#else
    61         #define PA_OFFSET 0x80000000
     61#define PA_OFFSET 0x80000000
    6262#endif
    6363
    6464#ifndef __ASM__
    65         #define PA2KA(addr)  (((uintptr_t) (addr)) + PA_OFFSET)
     65#define PA2KA(addr)  (((uintptr_t) (addr)) + PA_OFFSET)
    6666#else
    67         #define PA2KA(addr)  ((addr) + PA_OFFSET)
     67#define PA2KA(addr)  ((addr) + PA_OFFSET)
    6868#endif
    6969
  • boot/arch/mips32/include/arch/arch.h

    ra0a9cc2 r2b3dd78  
    5656
    5757#ifndef __ASM__
    58         #define PA2KA(addr)    (((uintptr_t) (addr)) + 0x80000000)
    59         #define PA2KSEG(addr)  (((uintptr_t) (addr)) + 0xa0000000)
    60         #define KA2PA(addr)    (((uintptr_t) (addr)) - 0x80000000)
    61         #define KSEG2PA(addr)  (((uintptr_t) (addr)) - 0xa0000000)
     58#define PA2KA(addr)    (((uintptr_t) (addr)) + 0x80000000)
     59#define PA2KSEG(addr)  (((uintptr_t) (addr)) + 0xa0000000)
     60#define KA2PA(addr)    (((uintptr_t) (addr)) - 0x80000000)
     61#define KSEG2PA(addr)  (((uintptr_t) (addr)) - 0xa0000000)
    6262#else
    63         #define PA2KA(addr)    ((addr) + 0x80000000)
    64         #define KSEG2PA(addr)  ((addr) - 0xa0000000)
     63#define PA2KA(addr)    ((addr) + 0x80000000)
     64#define KSEG2PA(addr)  ((addr) - 0xa0000000)
    6565#endif
    6666
  • boot/arch/ppc32/include/arch/arch.h

    ra0a9cc2 r2b3dd78  
    3838
    3939#ifndef __ASM__
    40         #define PA2KA(addr)  (((uintptr_t) (addr)) + 0x80000000)
     40#define PA2KA(addr)  (((uintptr_t) (addr)) + 0x80000000)
    4141#else
    42         #define PA2KA(addr)  ((addr) + 0x80000000)
     42#define PA2KA(addr)  ((addr) + 0x80000000)
    4343#endif
    4444
  • boot/arch/riscv64/include/arch/mm.h

    ra0a9cc2 r2b3dd78  
    3434
    3535#ifndef __ASM__
    36         #define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
    37         #define PA2KA(x)  (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))
     36#define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
     37#define PA2KA(x)  (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))
    3838#else
    39         #define KA2PA(x)  ((x) - 0xffff800000000000)
    40         #define PA2KA(x)  ((x) + 0xffff800000000000)
     39#define KA2PA(x)  ((x) - 0xffff800000000000)
     40#define PA2KA(x)  ((x) + 0xffff800000000000)
    4141#endif
    4242
  • boot/generic/include/printf.h

    ra0a9cc2 r2b3dd78  
    4141extern int puts(const char *);
    4242extern int printf(const char *, ...)
    43     PRINTF_ATTRIBUTE(1, 2);
     43    _HELENOS_PRINTF_ATTRIBUTE(1, 2);
    4444extern int vprintf(const char *, va_list);
    4545
  • boot/generic/include/printf_verify.h

    ra0a9cc2 r2b3dd78  
    3333#define BOOT_PRINTF_VERIFY_H_
    3434
    35 #ifndef NVERIFY_PRINTF
     35#ifndef _HELENOS_NVERIFY_PRINTF
    3636
    37 #define PRINTF_ATTRIBUTE(start, end) \
     37#define _HELENOS_PRINTF_ATTRIBUTE(start, end) \
    3838        __attribute__((format(gnu_printf, start, end)))
    3939
    40 #else /* NVERIFY_PRINTF */
     40#else /* _HELENOS_NVERIFY_PRINTF */
    4141
    42 #define PRINTF_ATTRIBUTE(start, end)
     42#define _HELENOS_PRINTF_ATTRIBUTE(start, end)
    4343
    44 #endif /* NVERIFY_PRINTF */
     44#endif /* _HELENOS_NVERIFY_PRINTF */
    4545
    4646#endif
Note: See TracChangeset for help on using the changeset viewer.