]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4sys/include/ARCH-arm/__vcpu-arch.h
01aaa54c1b6af0f4730c9f5b45025b95d38fe450
[l4.git] / l4 / pkg / l4sys / include / ARCH-arm / __vcpu-arch.h
1 /*
2  * (c) 2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
3  *          Alexander Warg <warg@os.inf.tu-dresden.de>
4  *     economic rights: Technische Universität Dresden (Germany)
5  *
6  * This file is part of TUD:OS and distributed under the terms of the
7  * GNU General Public License 2.
8  * Please see the COPYING-GPL-2 file for details.
9  *
10  * As a special exception, you may use this file as part of a free software
11  * library without restriction.  Specifically, if other files instantiate
12  * templates or use macros or inline functions from this file, or you compile
13  * this file and link it with other files to produce an executable, this
14  * file does not by itself cause the resulting executable to be covered by
15  * the GNU General Public License.  This exception does not however
16  * invalidate any other reasons why the executable file might be covered by
17  * the GNU General Public License.
18  */
19 #pragma once
20
21 #include <l4/sys/types.h>
22
23 /**
24  * \brief vCPU registers.
25  * \ingroup l4_vcpu_api
26  */
27 typedef struct l4_vcpu_regs_t
28 {
29   l4_umword_t pfa;
30   l4_umword_t err;
31
32   l4_umword_t r[13];
33
34   l4_umword_t sp;
35   l4_umword_t lr;
36   l4_umword_t _dummy;
37   l4_umword_t ip;
38   l4_umword_t flags;
39 } l4_vcpu_regs_t;
40
41 /**
42  * \brief vCPU message registers.
43  * \ingroup l4_vcpu_api
44  */
45 typedef struct l4_vcpu_ipc_regs_t
46 {
47   l4_msgtag_t tag;
48   l4_umword_t _d1[3];
49   l4_umword_t label;
50   l4_umword_t _d2[8];
51 } l4_vcpu_ipc_regs_t;