Changeset 135 for trunk/hal/x86_64/core/hal_init.c
- Timestamp:
- Jul 3, 2017, 5:21:06 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_init.c
r119 r135 80 80 } 81 81 82 /* -------------------------------------------------------------------------- */ 83 84 static void init_bootinfo_icu(boot_device_t *dev) 85 { 86 memset(dev, 0, sizeof(boot_device_t)); 87 88 dev->base = NULL; /* XXX */ 89 dev->type = (DEV_FUNC_ICU << 16) | IMPL_ICU_XCU; 90 dev->channels = 1; 91 dev->param0 = 0; 92 dev->param1 = 0; 93 dev->param2 = 0; 94 dev->param3 = 0; 95 96 #ifdef NOTYET 97 uint32_t irqs; /*! number of input IRQs */ 98 boot_irq_t irq[32]; /*! array of input IRQS (PIC and ICU only) */ 99 #endif 100 } 101 82 102 static size_t init_bootinfo_pages_nr() 83 103 { … … 190 210 info->rsvd_nr = init_bootinfo_rsvd(&info->rsvd); 191 211 192 /* dev_ XXX */ 212 init_bootinfo_icu(&info->dev_icu); 213 /* TODO: dev_mmc */ 214 /* TODO: dev_dma */ 215 193 216 offset = hal_gpt_bootstrap_uniformize(); 194 217 info->pages_offset = offset / PAGE_SIZE;
Note: See TracChangeset
for help on using the changeset viewer.