mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
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:
parent
7ca56e3fc4
commit
7b5237f9ff
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -103,6 +103,9 @@ namespace Genode
|
||||
IIM_BASE = 0x63f98000,
|
||||
IIM_SIZE = 0x00004000,
|
||||
|
||||
CSU_BASE = 0x63f9c000,
|
||||
CSU_SIZE = 0x00001000,
|
||||
|
||||
M4IF_BASE = 0x63fd8000,
|
||||
M4IF_SIZE = 0x00001000,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user