- Timestamp:
- 2018-01-31T12:02:00Z (8 years ago)
- 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. - Location:
- boot
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/include/arch/arch.h
ra0a9cc2 r2b3dd78 55 55 56 56 #ifdef MACHINE_beagleboardxm 57 57 #define PA_OFFSET 0 58 58 #elif defined MACHINE_beaglebone 59 59 #define PA_OFFSET 0 60 60 #else 61 61 #define PA_OFFSET 0x80000000 62 62 #endif 63 63 64 64 #ifndef __ASM__ 65 65 #define PA2KA(addr) (((uintptr_t) (addr)) + PA_OFFSET) 66 66 #else 67 67 #define PA2KA(addr) ((addr) + PA_OFFSET) 68 68 #endif 69 69 -
boot/arch/mips32/include/arch/arch.h
ra0a9cc2 r2b3dd78 56 56 57 57 #ifndef __ASM__ 58 59 60 61 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) 62 62 #else 63 64 63 #define PA2KA(addr) ((addr) + 0x80000000) 64 #define KSEG2PA(addr) ((addr) - 0xa0000000) 65 65 #endif 66 66 -
boot/arch/ppc32/include/arch/arch.h
ra0a9cc2 r2b3dd78 38 38 39 39 #ifndef __ASM__ 40 40 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 41 41 #else 42 42 #define PA2KA(addr) ((addr) + 0x80000000) 43 43 #endif 44 44 -
boot/arch/riscv64/include/arch/mm.h
ra0a9cc2 r2b3dd78 34 34 35 35 #ifndef __ASM__ 36 37 36 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000)) 37 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff800000000000)) 38 38 #else 39 40 39 #define KA2PA(x) ((x) - 0xffff800000000000) 40 #define PA2KA(x) ((x) + 0xffff800000000000) 41 41 #endif 42 42 -
boot/generic/include/printf.h
ra0a9cc2 r2b3dd78 41 41 extern int puts(const char *); 42 42 extern int printf(const char *, ...) 43 PRINTF_ATTRIBUTE(1, 2);43 _HELENOS_PRINTF_ATTRIBUTE(1, 2); 44 44 extern int vprintf(const char *, va_list); 45 45 -
boot/generic/include/printf_verify.h
ra0a9cc2 r2b3dd78 33 33 #define BOOT_PRINTF_VERIFY_H_ 34 34 35 #ifndef NVERIFY_PRINTF35 #ifndef _HELENOS_NVERIFY_PRINTF 36 36 37 #define PRINTF_ATTRIBUTE(start, end) \37 #define _HELENOS_PRINTF_ATTRIBUTE(start, end) \ 38 38 __attribute__((format(gnu_printf, start, end))) 39 39 40 #else /* NVERIFY_PRINTF */40 #else /* _HELENOS_NVERIFY_PRINTF */ 41 41 42 #define PRINTF_ATTRIBUTE(start, end)42 #define _HELENOS_PRINTF_ATTRIBUTE(start, end) 43 43 44 #endif /* NVERIFY_PRINTF */44 #endif /* _HELENOS_NVERIFY_PRINTF */ 45 45 46 46 #endif
Note:
See TracChangeset
for help on using the changeset viewer.