2018-10-29 11:06:58 +08:00
|
|
|
/*
|
2021-03-08 18:19:04 +08:00
|
|
|
* COPYRIGHT (C) 2011-2021, Real-Thread Information Technology Ltd
|
2018-10-29 11:06:58 +08:00
|
|
|
* All rights reserved
|
2021-03-08 18:19:04 +08:00
|
|
|
*
|
2018-10-29 11:06:58 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2013-11-04 Grissiom add comment
|
|
|
|
*/
|
|
|
|
|
2014-03-29 12:14:24 +08:00
|
|
|
#ifndef __VMM_CONTEXT_H__
|
|
|
|
#define __VMM_CONTEXT_H__
|
|
|
|
|
|
|
|
#include <armv7.h> // for struct rt_hw_stack
|
|
|
|
|
|
|
|
#include "vmm.h"
|
|
|
|
|
|
|
|
void vmm_context_init(void *context_addr);
|
|
|
|
#ifdef RT_VMM_USING_DOMAIN
|
|
|
|
void vmm_context_init_domain(struct vmm_domain *domain);
|
|
|
|
#endif
|
|
|
|
void vmm_virq_pending(int irq);
|
|
|
|
void vmm_verify_guest_status(struct rt_hw_stack *sp);
|
|
|
|
|
|
|
|
void vmm_show_guest(void);
|
|
|
|
#endif
|
|
|
|
|