Changeset 53ad43c in mainline for kernel/arch/riscv64
- 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:
- kernel/arch/riscv64/include/arch
- Files:
-
- 4 edited
-
boot/boot.h (modified) (1 diff)
-
cpu.h (modified) (2 diffs)
-
mm/frame.h (modified) (2 diffs)
-
mm/page.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/riscv64/include/arch/boot/boot.h
re0a4686 r53ad43c 45 45 #define TEMP_STACK_SIZE 0x1000 46 46 47 #ifndef __AS M__47 #ifndef __ASSEMBLER__ 48 48 49 49 #include <stddef.h> -
kernel/arch/riscv64/include/arch/cpu.h
re0a4686 r53ad43c 45 45 #define SATP_MODE_SV48 UINT64_C(0x9000000000000000) 46 46 47 #ifndef __AS M__47 #ifndef __ASSEMBLER__ 48 48 49 49 typedef struct { … … 52 52 extern void cpu_setup_fpu(void); 53 53 54 #endif /* __AS M__ */54 #endif /* __ASSEMBLER__ */ 55 55 56 56 #endif -
kernel/arch/riscv64/include/arch/mm/frame.h
re0a4686 r53ad43c 41 41 #define FRAME_LOWPRIO 0 42 42 43 #ifndef __AS M__43 #ifndef __ASSEMBLER__ 44 44 45 45 #include <arch/boot/boot.h> … … 54 54 extern void physmem_print(void); 55 55 56 #endif /* __AS M__ */56 #endif /* __ASSEMBLER__ */ 57 57 58 58 #endif -
kernel/arch/riscv64/include/arch/mm/page.h
re0a4686 r53ad43c 41 41 #define PAGE_SIZE FRAME_SIZE 42 42 43 #ifndef __AS M__43 #ifndef __ASSEMBLER__ 44 44 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000)) 45 45 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff800000000000)) … … 159 159 #define PTE_EXECUTABLE_ARCH(pte) ((pte)->executable != 0) 160 160 161 #ifndef __AS M__161 #ifndef __ASSEMBLER__ 162 162 163 163 #include <mm/mm.h> … … 216 216 extern void write_satp(uintptr_t); 217 217 218 #endif /* __AS M__ */218 #endif /* __ASSEMBLER__ */ 219 219 220 220 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
