kesl/khypervisor — pull request #188 by Wonseok (2014-03-21 12:06:11+00:00)
Title: Emulated trapped mcr and mrc instructions for RTSM.

Encoded ISS field for mcr and mrc instructions when the instructions called from guest OS.
TODO(Wonseok): Adds this feature to ARNDALE BOARD.

Encoded result in Hyp mode:
Trapped WFI or WFE instruction: 07e00000
32-bit ARM instruction
WFI trapped.
Trapped SMC instruction: 4e000000
Trapped MCR or MRC access to CP15: 0fe00460
MCR p15, 0, Rt3, c1, c0, 0
Trapped MCR or MRC access to CP15: 0fe20460
MCR p15, 0, Rt3, c1, c0, 1
Trapped MCR or MRC access to CP15: 0fe20461
MRC p15, 0, Rt3, c1, c0, 1