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
index badc8f1..40bb8ea 100644 (file)
@@ -8,12 +8,35 @@
 %include "symbol.asm"
 
 
+
+EXPORT launch_svm
+
+
 [BITS 32]
 
+%macro vmrun 0
+       db      00fh, 001h, 0d8h
+%endmacro
 
 
+;VMRUN  equ db 0Fh, 01h, D8h
+;VMLOAD equ db 0x0F,0x01,0xDA
+;VMSAVE equ db 0x0F,0x01,0xDB
+;STGI   equ db 0x0F,0x01,0xDC
+;CLGI   equ db 0x0F,0x01,0xDD
 
 
 
+launch_svm:
+       push    ebp
+       mov     ebp, esp
+       pusha
+       
+       mov     eax, [ebp + 8]
+;      vmrun
+       db      00fh, 001h, 0d8h
+       popa
+       pop     ebp
+       ret
 
 %endif