Created gencore() and minor aestetical changes.

modified:   executer/kernel/mcctrl.h
	modified:   executer/kernel/syscall.c
	modified:   kernel/include/syscall.h
	modified:   kernel/mem.c
This commit is contained in:
Naoki Hamada
2014-07-02 16:23:32 +09:00
parent fd6f0c4075
commit ed9da789e6
4 changed files with 36 additions and 31 deletions

View File

@@ -1198,7 +1198,7 @@ static int writecore(ihk_os_t os, unsigned long rcoretable, int chunks) {
coretable = ihk_device_map_virtual(dev, tablephys, tablesize, NULL, 0);
for (i = 0; i < chunks; i++) {
/* map and write the chunk out */
rphys = (unsigned long) coretable[i].addr;
rphys = coretable[i].addr;
size = coretable[i].len;
phys = ihk_device_map_memory(dev, rphys, size);
pt = ihk_device_map_virtual(dev, phys, size, NULL, 0);