hw: add CSU I/O memory to core's memory regions

The central security regions has to be mapped when starting the hw-kernel
on the i.MX53 and using the TrustZone mechanisms.

Ref #1182
This commit is contained in:
Stefan Kalkowski 2014-06-23 10:27:54 +02:00 committed by Norman Feske
parent 7ca56e3fc4
commit 7b5237f9ff
3 changed files with 7 additions and 1 deletions

View File

@ -59,6 +59,9 @@ Native_region * Platform::_core_only_mmio_regions(unsigned const i)
/* vm state memory */
{ Trustzone::VM_STATE_BASE, Trustzone::VM_STATE_SIZE },
/* central security unit */
{ Board::CSU_BASE, Board::CSU_SIZE },
};
return i < sizeof(_regions)/sizeof(_regions[0]) ? &_regions[i] : 0;
}

View File

@ -49,5 +49,5 @@ void Kernel::init_trustzone(Pic * pic)
}
/* configure central security unit */
Genode::Csu csu(0x63f9c000);
Genode::Csu csu(Imx53::Board::CSU_BASE);
}

View File

@ -103,6 +103,9 @@ namespace Genode
IIM_BASE = 0x63f98000,
IIM_SIZE = 0x00004000,
CSU_BASE = 0x63f9c000,
CSU_SIZE = 0x00001000,
M4IF_BASE = 0x63fd8000,
M4IF_SIZE = 0x00001000,