missing set_memory_size
This commit is contained in:
parent
aa7e14d8f2
commit
8072fcbcee
1 changed files with 1 additions and 0 deletions
1
main.cpp
1
main.cpp
|
@ -69,6 +69,7 @@ int run_cpu_validation(const std::string & filename)
|
||||||
// create environment
|
// create environment
|
||||||
event = 0;
|
event = 0;
|
||||||
bus *b = new bus();
|
bus *b = new bus();
|
||||||
|
b->set_memory_size(DEFAULT_N_PAGES * 8192l);
|
||||||
cpu *c = new cpu(b, &event);
|
cpu *c = new cpu(b, &event);
|
||||||
b->add_cpu(c);
|
b->add_cpu(c);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue