diff 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
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/Scheduler.cc	Fri Nov 01 20:23:21 2013 +0900
+++ b/TaskManager/kernel/schedule/Scheduler.cc	Sat Nov 02 17:34:40 2013 +0900
@@ -184,7 +184,7 @@
     if (table) {
         MemorySegment* here = (MemorySegment*)(
                                                manager->allocate(sizeof(MemorySegment)));
-        here->data = (void*)(table->vma);
+        here->data = &(table->vma);
         here->size = size;
         here->address = (memaddr)here;
         code_segment_pool->addLast(here);