]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4sys/include/ARCH-amd64/vm.h
4d4df5bbb135b4203f257d1b7758f787056d7a5b
[l4.git] / l4 / pkg / l4sys / include / ARCH-amd64 / 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  *     economic rights: Technische Universität Dresden (Germany)
9  *
10  * This file is part of TUD:OS and distributed under the terms of the
11  * GNU General Public License 2.
12  * Please see the COPYING-GPL-2 file for details.
13  *
14  * As a special exception, you may use this file as part of a free software
15  * library without restriction.  Specifically, if other files instantiate
16  * templates or use macros or inline functions from this file, or you compile
17  * this file and link it with other files to produce an executable, this
18  * file does not by itself cause the resulting executable to be covered by
19  * the GNU General Public License.  This exception does not however
20  * invalidate any other reasons why the executable file might be covered by
21  * the GNU General Public License.
22  */
23 #ifndef __INCLUDE__ARCH_X86__VM_H__
24 #define __INCLUDE__ARCH_X86__VM_H__
25
26 #include <l4/sys/types.h>
27
28 /**
29  * \brief General purpose regisers for SVM, x86-64
30  * \ingroup l4_vm_svm_api
31  */
32 struct l4_vm_svm_gpregs
33 {
34   l4_umword_t rsi;
35   l4_umword_t rdx;
36   l4_umword_t rcx;
37   l4_umword_t rdi;
38   l4_umword_t r8;
39   l4_umword_t r9;
40   l4_umword_t rbx;
41   l4_umword_t rbp;
42   l4_umword_t r10;
43   l4_umword_t r11;
44   l4_umword_t r12;
45   l4_umword_t r13;
46   l4_umword_t r14;
47   l4_umword_t r15;
48   l4_umword_t dr0;
49   l4_umword_t dr1;
50   l4_umword_t dr2;
51   l4_umword_t dr3;
52 };
53
54 #include <l4/sys/__vm-svm.h>
55
56 #endif /* ! __INCLUDE__ARCH_X86__VM_H__ */