comparison TaskManager/kernel/schedule/Scheduler.cc @ 1737:6bd9a57eb44d draft

minor fix
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Sat, 02 Nov 2013 17:34:40 +0900
parents 91b690b27066
children 94a824cde2e4
comparison
equal deleted inserted replaced
1736:ade645630b86 1737:6bd9a57eb44d
182 // 既に overlay 領域があるので、それを追加する必要がある... 182 // 既に overlay 領域があるので、それを追加する必要がある...
183 code_segment_pool = createMemList(size, count); 183 code_segment_pool = createMemList(size, count);
184 if (table) { 184 if (table) {
185 MemorySegment* here = (MemorySegment*)( 185 MemorySegment* here = (MemorySegment*)(
186 manager->allocate(sizeof(MemorySegment))); 186 manager->allocate(sizeof(MemorySegment)));
187 here->data = (void*)(table->vma); 187 here->data = &(table->vma);
188 here->size = size; 188 here->size = size;
189 here->address = (memaddr)here; 189 here->address = (memaddr)here;
190 code_segment_pool->addLast(here); 190 code_segment_pool->addLast(here);
191 } 191 }
192 } 192 }