Changeset 50 for trunk/tools/arch_info
- Timestamp:
- Jun 26, 2017, 3:15:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/arch_info/boot_info.h
r13 r50 2 2 * boot_info.h - informations passed by the bootloader to the kernel in each cluster. 3 3 * 4 * Author Alain Greiner (june 2016 )4 * Author Alain Greiner (june 2016,2017) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 82 82 83 83 /********************************************************************************************* 84 * This structure defines a reserved zone in the physical address space of a given cluster. 85 * A reserved zone is described as a set of contiguous small pages (4 Kbytes) covering the 86 * reserved zone, that must be considered already allocated. 87 ********************************************************************************************/ 88 89 typedef struct boot_rsvd_s 90 { 91 ppn_t first_page; /*! first physical page index in cluster */ 92 uint32_t npages; /*! number of small pages */ 93 } 94 boot_rsvd_t; 95 96 /********************************************************************************************* 84 97 * This structure defines the interface between the boot-loader and the kernel. 85 98 * In each cluster, the boot core build a local boot_info_t structure containing … … 110 123 uint32_t cores_nr; /*! number of local cores in */ 111 124 boot_core_t core[CONFIG_MAX_LOCAL_CORES]; /*! array of core descriptors */ 125 uint32_t rsvd_nr; /*! number of reserved zones */ 126 boot_rsvd_t rsvd[CONFIG_PPM_MAX_RSVD]; /*! array of reserved zones */ 112 127 boot_device_t dev_icu; /*! embedded ICU peripheral */ 113 128 boot_device_t dev_mmc; /*! embedded MMC peripheral */ 114 129 boot_device_t dev_dma; /*! embedded DMA peripheral */ 115 130 116 uint32_t pages_ nr; /*! number of 4 Kbytes pages*/117 uint32_t pages_ offset; /*! number of pages allocated for kernel*/131 uint32_t pages_offset; /*! first free page index (after kernel) */ 132 uint32_t pages_nr; /*! total number of physical pages in RAM */ 118 133 119 134 // kernel segments 120 135 121 intptr_t kernel_code_start; /*! kernel code base address*/122 intptr_t kernel_code_end; /*! kernel code last address (excluded)*/123 intptr_t kernel_data_start; /*! kernel data base address*/124 intptr_t kernel_data_end; /*! kernel data last address (excluded)*/136 intptr_t kernel_code_start; /*! kernel code base paddr */ 137 intptr_t kernel_code_end; /*! kernel code last paddr (excluded) */ 138 intptr_t kernel_data_start; /*! kernel data base paddr */ 139 intptr_t kernel_data_end; /*! kernel data last paddr (excluded) */ 125 140 } 126 141 boot_info_t;
Note: See TracChangeset
for help on using the changeset viewer.