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.


Release 1.0
[palacios.git] / geekos / src / geekos / testvm.s
1 # -*- fundamental -*-
2 # This file is part of the Palacios Virtual Machine Monitor developed
3 # by the V3VEE Project with funding from the United States National 
4 # Science Foundation and the Department of Energy.  
5 #
6 # The V3VEE Project is a joint project between Northwestern University
7 # and the University of New Mexico.  You can find out more at 
8 # http://www.v3vee.org
9 #
10 # Copyright (c) 2008, Jack Lange <jarusl@cs.northwestern.edu> 
11 # Copyright (c) 2008, The V3VEE Project <http://www.v3vee.org> 
12 # All rights reserved.
13 #
14 # Author: Jack Lange <jarusl@cs.northwestern.edu>
15 #
16 # This is free software.  You are permitted to use,
17 # redistribute, and modify it as specified in the file "V3VEE_LICENSE".
18
19
20 .global MyBuzzVM
21 MyBuzzVM:
22         pushl   %ebp
23         movl    %esp, %ebp
24         pushl   %esi
25         pushl   %ebx
26         inb $97, %al            
27         movl    $97, %ecx
28         movb    %al, %bl
29         orl     $2, %ebx
30         movl    %eax, %esi
31 .L24:
32         movb    %bl, %al
33         movl    %ecx, %edx
34         outb    %al, %dx
35         movl    $0, %edx
36 .L30:
37         incl    %edx
38         cmpl    $999999, %edx
39         jle     .L30
40         movl    %esi, %eax
41         movl    %ecx, %edx
42         outb %al, %dx
43         movl    $0, %edx
44 .L35:
45         incl    %edx
46         cmpl    $999999, %edx
47         jle     .L35
48         jmp     .L24
49         
50         
51         
52         
53         
54         
55         
56         
57         
58         
59         
60