2015-02-09 08:54:08 +00:00
|
|
|
/*
|
2015-02-19 13:50:27 +00:00
|
|
|
* \brief CPU context of a virtual machine for TrustZone
|
2015-02-09 08:54:08 +00:00
|
|
|
* \author Stefan Kalkowski
|
|
|
|
* \author Martin Stein
|
|
|
|
* \date 2013-10-30
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Genode Labs GmbH
|
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
2015-09-03 12:55:05 +00:00
|
|
|
#ifndef _INCLUDE__SPEC__IMX53__VM_STATE_H_
|
|
|
|
#define _INCLUDE__SPEC__IMX53__VM_STATE_H_
|
2015-02-09 08:54:08 +00:00
|
|
|
|
|
|
|
/* Genode includes */
|
|
|
|
#include <cpu/cpu_state.h>
|
|
|
|
|
2015-02-19 13:50:27 +00:00
|
|
|
namespace Genode
|
2015-02-09 08:54:08 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* CPU context of a virtual machine
|
|
|
|
*/
|
2015-02-19 13:50:27 +00:00
|
|
|
struct Vm_state;
|
2015-02-09 08:54:08 +00:00
|
|
|
}
|
|
|
|
|
2015-02-19 13:50:27 +00:00
|
|
|
struct Genode::Vm_state : Genode::Cpu_state_modes
|
|
|
|
{
|
|
|
|
Genode::addr_t dfar;
|
|
|
|
Genode::addr_t ttbr[2];
|
|
|
|
Genode::addr_t ttbrc;
|
2015-11-02 13:36:01 +00:00
|
|
|
Genode::addr_t irq_injection;
|
2015-02-19 13:50:27 +00:00
|
|
|
};
|
|
|
|
|
2015-09-03 12:55:05 +00:00
|
|
|
#endif /* _INCLUDE__SPEC__IMX53__VM_STATE_H_ */
|