]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4sys/include/ARCH-x86/vm.h
update
[l4.git] / l4 / pkg / l4sys / include / ARCH-x86 / vm.h
1 /**
2  * \internal
3  * \file
4  * \brief X86 virtualization interface.
5  */
6 /*
7  * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
8  *               Henning Schild <hschild@os.inf.tu-dresden.de>
9  *     economic rights: Technische Universität Dresden (Germany)
10  *
11  * This file is part of TUD:OS and distributed under the terms of the
12  * GNU General Public License 2.
13  * Please see the COPYING-GPL-2 file for details.
14  *
15  * As a special exception, you may use this file as part of a free software
16  * library without restriction.  Specifically, if other files instantiate
17  * templates or use macros or inline functions from this file, or you compile
18  * this file and link it with other files to produce an executable, this
19  * file does not by itself cause the resulting executable to be covered by
20  * the GNU General Public License.  This exception does not however
21  * invalidate any other reasons why the executable file might be covered by
22  * the GNU General Public License.
23  */
24 #ifndef __INCLUDE__ARCH_X86__VM_H__
25 #define __INCLUDE__ARCH_X86__VM_H__
26
27 #include <l4/sys/types.h>
28
29 /**
30  * \brief General purpose regisers, x86-32
31  * \ingroup l4_vm_api
32  */
33
34 typedef struct l4_vm_gpregs_t
35 {
36   l4_umword_t eax; // Ignored with SVM
37   l4_umword_t edx;
38   l4_umword_t ecx;
39   l4_umword_t ebx;
40   l4_umword_t ebp;
41   l4_umword_t esi;
42   l4_umword_t edi;
43   l4_umword_t dr0;
44   l4_umword_t dr1;
45   l4_umword_t dr2;
46   l4_umword_t dr3;
47 } l4_vm_gpregs_t;
48
49 #include <l4/sys/__vm.h>
50
51 #endif /* ! __INCLUDE__ARCH_X86__VM_H__ */