|
Thank you very much Nate. In order to increase the memory size, I forcely describes the memory size in alhpa backdoor. void AlphaBackdoor::startup() { system->setAlphaAccess(pioAddr); alphaAccess->numCPUs = system->numContexts(); alphaAccess->kernStart = system->getKernelStart(); alphaAccess->kernEnd = system->getKernelEnd(); alphaAccess->entryPoint = system->getKernelEntry(); //alphaAccess->mem_size = system->physmem->size(); alphaAccess->mem_size = 160*1024*1024; I sucess to install total 160MB memory in Linux(32MB physmem and 128MB physmem2). In my opinion, it has no problem to use physmem and physmem2 at the same time. Both physmem and physmem2 have their own address ranges. By the physical address, M5 decide to access phymem or phymem2. Is it right? I think I can modify AlphaBackdoor to insert the parameter of memory size. Youngwoo Park nathan binkert 쓴 글: hmmm. This is a problem with the way the alpha console works. There's an object called AlphaBackdoor that allows the console code to get parameters about the system. The AlphaBackdoor uses the system pointer to get to physmem and query it about how much memory it has. Unfortunately, this all happens on the C++ side (an artifact of the way things used to work long ago.) Really, the AlphaBackdoor should have at least some of its parameters exposed in python and the python mecahanism should be used to set the defaults. Check out src/dev/alphaNate 2009/11/9 Youngwoo Park <[email protected]>: -- Youngwoo Park Ph.D Student CORE(COmputer engineering REsearch) Lab Dept. EECS, KAIST, Daejeon 305-701, Korea Phone: +82-42-869-5425 Fax: +82-42-8695425 e-mail: [email protected] -- |
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
