mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 17:48:53 +00:00
7582396e9c
* enables world-switch using ARM virtualization extensions * split TrustZone and virtualization extensions hardly from platforms, where it is not used * extend 'Vm_session' interface to enable configuration of guest-physical memory * introduce VM destruction syscall * add virtual machine monitor for hw_arndale that emulates a simplified version of ARM's Versatile Express Cortex A15 board for a Linux guest OS Fixes #1405
37 lines
738 B
C++
37 lines
738 B
C++
/*
|
|
* \brief CPU context of a virtual machine for TrustZone
|
|
* \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.
|
|
*/
|
|
|
|
#ifndef _INCLUDE__PLATFORM__IMX53__VM_STATE_H_
|
|
#define _INCLUDE__PLATFORM__IMX53__VM_STATE_H_
|
|
|
|
/* Genode includes */
|
|
#include <cpu/cpu_state.h>
|
|
|
|
namespace Genode
|
|
{
|
|
/**
|
|
* CPU context of a virtual machine
|
|
*/
|
|
struct Vm_state;
|
|
}
|
|
|
|
struct Genode::Vm_state : Genode::Cpu_state_modes
|
|
{
|
|
Genode::addr_t dfar;
|
|
Genode::addr_t ttbr[2];
|
|
Genode::addr_t ttbrc;
|
|
};
|
|
|
|
#endif /* _INCLUDE__PLATFORM__IMX53__VM_STATE_H_ */
|