Changeset ae8d7b0 in mainline for boot/arch/riscv64/include
- Timestamp:
- 2017-08-21T18:23:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c58441d
- Parents:
- fdc29300
- Location:
- boot/arch/riscv64/include
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/riscv64/include/arch.h
rfdc29300 rae8d7b0 35 35 #define BOOT_STACK_SIZE PAGE_SIZE 36 36 37 #define PHYSMEM_START 0x40000000 38 #define PHYSMEM_SIZE 1073741824 39 #define BOOT_OFFSET 0x48000000 40 37 41 #define DEFAULT_MTVEC 0x00000100 38 42 #define TRAP_VECTOR_RESET 0x0100 -
boot/arch/riscv64/include/asm.h
rfdc29300 rae8d7b0 32 32 #include <stddef.h> 33 33 34 extern void jump_to_kernel(void *, uintptr_t) 34 extern char htif_page[]; 35 extern char pt_page[]; 36 37 extern void jump_to_kernel(uintptr_t) 35 38 __attribute__((noreturn)); 36 39 -
boot/arch/riscv64/include/types.h
rfdc29300 rae8d7b0 42 42 43 43 typedef struct { 44 volatile uint64_t *tohost; 45 volatile uint64_t *fromhost; 46 } ucbinfo_t; 47 48 typedef struct { 44 49 void *start; 45 50 size_t size; … … 67 72 68 73 typedef struct { 74 ucbinfo_t ucbinfo; 75 uintptr_t physmem_start; 76 uintptr_t htif_frame; 77 uintptr_t pt_frame; 69 78 memmap_t memmap; 70 79 taskmap_t taskmap; -
boot/arch/riscv64/include/ucb.h
rfdc29300 rae8d7b0 38 38 #include <stddef.h> 39 39 40 #define CSR_MTOHOST 0x780 41 #define CSR_MFROMHOST 0x781 40 extern volatile uint64_t tohost; 41 extern volatile uint64_t fromhost; 42 42 43 43 #define HTIF_DEVICE_CONSOLE 1
Note:
See TracChangeset
for help on using the changeset viewer.
