Changeset 05b3640 in mainline
- Timestamp:
- 2017-08-21T18:40:26Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5f2926a
- Parents:
- fcfe416
- Location:
- kernel/arch/riscv64
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/riscv64/include/arch/boot/boot.h
rfcfe416 r05b3640 36 36 #define KERN_riscv64_BOOT_H_ 37 37 38 #define BOOT_OFFSET 0x 20000038 #define BOOT_OFFSET 0x48000000 39 39 40 40 #define TASKMAP_MAX_RECORDS 32 41 41 #define MEMMAP_MAX_RECORDS 32 42 42 #define BOOTINFO_TASK_NAME_BUFLEN 32 43 44 /* Temporary stack size for boot process */ 45 #define TEMP_STACK_SIZE 0x1000 43 46 44 47 #ifndef __ASM__ … … 47 50 #include <stdint.h> 48 51 #include <config.h> 52 53 typedef struct { 54 volatile uint64_t *tohost; 55 volatile uint64_t *fromhost; 56 } ucbinfo_t; 57 58 typedef struct { 59 void *start; 60 size_t size; 61 } memzone_t; 62 63 typedef struct { 64 uint64_t total; 65 size_t cnt; 66 memzone_t zones[MEMMAP_MAX_RECORDS]; 67 } memmap_t; 49 68 50 69 typedef struct { … … 60 79 61 80 typedef struct { 62 void *start; 63 size_t size; 64 } memzone_t; 65 66 typedef struct { 67 uint64_t total; 68 size_t cnt; 69 memzone_t zones[MEMMAP_MAX_RECORDS]; 70 } memmap_t; 71 72 typedef struct { 81 ucbinfo_t ucbinfo; 82 uintptr_t physmem_start; 83 uintptr_t htif_frame; 84 uintptr_t pt_frame; 73 85 memmap_t memmap; 74 86 taskmap_t taskmap; 75 ballocs_t ballocs;76 87 } bootinfo_t; 77 78 extern memmap_t memmap;79 88 80 89 #endif
Note:
See TracChangeset
for help on using the changeset viewer.