Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


initial SVM guest running
[palacios.git] / palacios / src / geekos / svm_lowlevel.asm
1 ;  -*- fundamental -*-
2
3
4 %ifndef SVM_ASM
5 %define SVM_ASM
6
7 %include "defs.asm"
8 %include "symbol.asm"
9
10
11
12 EXPORT launch_svm
13
14
15 [BITS 32]
16
17 %macro vmrun 0
18         db      00fh, 001h, 0d8h
19 %endmacro
20
21
22 ;VMRUN  equ db 0Fh, 01h, D8h
23 ;VMLOAD equ db 0x0F,0x01,0xDA
24 ;VMSAVE equ db 0x0F,0x01,0xDB
25 ;STGI   equ db 0x0F,0x01,0xDC
26 ;CLGI   equ db 0x0F,0x01,0xDD
27
28
29
30 launch_svm:
31         push    ebp
32         mov     ebp, esp
33         pusha
34         
35         mov     eax, [ebp + 8]
36 ;       vmrun
37         db      00fh, 001h, 0d8h
38         popa
39         pop     ebp
40         ret
41
42 %endif