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.


symbiotic module changes
[palacios.git] / symmods / capsule / binary.S
index e37a312..d7190b5 100644 (file)
@@ -28,9 +28,6 @@
 #define MOD_NM(name) TOSTR(name)
 
 
-
-
-.globl mod_start
 mod_start:
 .incbin MOD_PATH(MOD_DIR,MOD_OBJ)
 mod_stop:
@@ -39,12 +36,14 @@ mod_name:
 .ascii MOD_NM(MOD_NAME)
 
 
-.section _v3_modules, "a"
+.section _v3_capsules, "a"
 IDENT(#ifdef __x86_64__)
 .quad mod_name 
 .quad mod_start
 .quad mod_stop 
-.long MOD_TYPE
+.byte MOD_TYPE
+.byte MOD_ARCH
+.space 2
 IDENT(#else)
 .long mod_name
 .space 4
@@ -52,5 +51,7 @@ IDENT(#else)
 .space 4
 .long mod_stop
 .space 4
-.long MOD_TYPE 
+.byte MOD_TYPE 
+.byte MOD_ARCH
+.space 2
 IDENT(#endif)