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.


Handling of pause exits (currently just noop, but power management would go here)
[palacios-OLD.git] / palacios / src / geekos / testvm.s
1 # -*- fundamental -*-
2
3 .global MyBuzzVM
4 MyBuzzVM:
5         pushl   %ebp
6         movl    %esp, %ebp
7         pushl   %esi
8         pushl   %ebx
9         inb $97, %al            
10         movl    $97, %ecx
11         movb    %al, %bl
12         orl     $2, %ebx
13         movl    %eax, %esi
14 .L24:
15         movb    %bl, %al
16         movl    %ecx, %edx
17         outb    %al, %dx
18         movl    $0, %edx
19 .L30:
20         incl    %edx
21         cmpl    $999999, %edx
22         jle     .L30
23         movl    %esi, %eax
24         movl    %ecx, %edx
25         outb %al, %dx
26         movl    $0, %edx
27 .L35:
28         incl    %edx
29         cmpl    $999999, %edx
30         jle     .L35
31         jmp     .L24
32         
33         
34         
35         
36         
37         
38         
39         
40         
41         
42         
43