- Timestamp:
- 2018-03-08T18:54:30Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ef16903
- Parents:
- e0a4686
- Location:
- boot/arch
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/include/arch/arch.h
re0a4686 r53ad43c 62 62 #endif 63 63 64 #ifndef __AS M__64 #ifndef __ASSEMBLER__ 65 65 #define PA2KA(addr) (((uintptr_t) (addr)) + PA_OFFSET) 66 66 #else -
boot/arch/mips32/include/arch/arch.h
re0a4686 r53ad43c 55 55 #endif 56 56 57 #ifndef __AS M__57 #ifndef __ASSEMBLER__ 58 58 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 59 59 #define PA2KSEG(addr) (((uintptr_t) (addr)) + 0xa0000000) -
boot/arch/mips32/src/Makefile.build
re0a4686 r53ad43c 65 65 66 66 %.o: %.S $(DEPEND) 67 $(CC) $(DEFS) $(CFLAGS) - D__ASM__ -c $< -o $@67 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 68 68 ifeq ($(PRECHECK),y) 69 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__69 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) 70 70 endif 71 71 -
boot/arch/ppc32/include/arch/arch.h
re0a4686 r53ad43c 37 37 #define LOADER_ADDRESS 0x08000000 38 38 39 #ifndef __AS M__39 #ifndef __ASSEMBLER__ 40 40 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 41 41 #else -
boot/arch/riscv64/include/arch/mm.h
re0a4686 r53ad43c 33 33 #define BOOT_riscv64_MM_H_ 34 34 35 #ifndef __AS M__35 #ifndef __ASSEMBLER__ 36 36 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000)) 37 37 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))
Note:
See TracChangeset
for help on using the changeset viewer.