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.


fixes for module build system
[palacios.git] / symmods / capsule / binary.S
1 #;  -*- fundamental -*-
2
3 /* 
4  * This file is part of the Palacios Virtual Machine Monitor developed
5  * by the V3VEE Project with funding from the United States National 
6  * Science Foundation and the Department of Energy.  
7  *
8  * The V3VEE Project is a joint project between Northwestern University
9  * and the University of New Mexico.  You can find out more at 
10  * http://www.v3vee.org
11  *
12  * Copyright (c) 2010, Jack Lange <jarusl@cs.northwestern.edu>
13  * Copyright (c) 2010, The V3VEE Project <http://www.v3vee.org> 
14  * All rights reserved.
15  *
16  * Author: Jack Lange <jarusl@cs.northwestern.edu>
17  *
18  * This is free software.  You are permitted to use,
19  * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
20  */
21
22 .data
23
24 #define IDENT(str) str
25 #define TOSTR(str) #str 
26 #define XSTR(str) TOSTR(str)
27 #define MOD_PATH(dir, name)  TOSTR(dir/name)
28 #define MOD_NM(name) TOSTR(name)
29
30
31
32
33 .globl mod_start
34 mod_start:
35 .incbin MOD_PATH(MOD_DIR,MOD_OBJ)
36 mod_stop:
37
38 mod_name:
39 .ascii MOD_NM(MOD_NAME)
40
41
42 .section "_v3_modules"
43 IDENT(#ifdef __X86_64__)
44 .quad mod_name 
45 .quad mod_start
46 .quad mod_stop 
47 .long MOD_TYPE
48 IDENT(#else)
49 .long mod_name
50 .space 4
51 .long mod_start
52 .space 4
53 .long mod_stop
54 .space 4
55 .long MOD_TYPE 
56 IDENT(#endif)