ARM: Add support for running multiple systems

This commit is contained in:
Ali Saidi
2012-01-09 18:08:20 -06:00
parent 8d757038b5
commit bcb71963eb
3 changed files with 12 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ Pl111::Pl111(const Params *p)
{
pioSize = 0xFFFF;
pic = simout.create("framebuffer.bmp", true);
pic = simout.create(csprintf("%s.framebuffer.bmp", sys->name()), true);
dmaBuffer = new uint8_t[LcdMaxWidth * LcdMaxHeight * sizeof(uint32_t)];