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.


Cleanup based on cppcheck pass (GEARS)
Peter Dinda [Wed, 1 Jul 2015 22:35:24 +0000 (17:35 -0500)]
gears/services/devfile/devfile_hc.c
gears/services/devfile/devfile_preload.c

index f4542ad..59c09a1 100644 (file)
@@ -27,7 +27,7 @@ int dev_file_syscall_hcall(long long sys_code,
     long long bit_vec = sys_pointer_arr[sys_code];
     // Here, IOCTL needs to be handled specially because what 
     // arguments are pointes, etc, depends on the device
-    DEBUG_PRINT("Initiate syscall hypercall, code: %llu\n",sys_code);
+    DEBUG_PRINT("Initiate syscall hypercall, code: %llx\n",sys_code);
     HCALL(rc,cmd,sys_code,a1,a2,a3,a4,a5,a6,bit_vec);
     *sys_errno = cmd;
     DEBUG_PRINT("Syscall Hypercall done: rc = %llx errno = %llx\n",rc, *sys_errno);
index fea7a6e..c7d80ef 100644 (file)
@@ -29,6 +29,7 @@ int touch_ptr(volatile char* ptr, int size)
 {
     int i;
     for(i=0;i<size;i+=4096){
+       // both read and write it
         ptr[i] = ptr[i];
     }
     return 0;