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.


Merge branch 'ramdisk' into devel
Jack Lange [Thu, 2 Oct 2008 22:05:59 +0000 (17:05 -0500)]
Conflicts:
palacios/include/devices/generic.h
palacios/include/geekos/timer.h
palacios/include/palacios/vmcs.h
palacios/include/palacios/vmcs_gen.h
palacios/src/devices/generic.c
palacios/src/palacios/vmm_config.c

1  2 
palacios/include/devices/generic.h
palacios/include/geekos/timer.h
palacios/include/palacios/vmcs.h
palacios/include/palacios/vmcs_gen.h
palacios/include/palacios/vmm.h
palacios/include/palacios/vmm_types.h
palacios/src/devices/generic.c

@@@ -1,9 -1,10 +1,11 @@@
  /* (c) 2008, Peter Dinda <pdinda@northwestern.edu> */
+ /* (c) 2008, Jack Lange <jarusl@northwestern.edu> */
  /* (c) 2008, The V3VEE Project <http://www.v3vee.org> */
  
- #ifndef __GENERIC_H
- #define __GENERIC_H
+ #ifndef __GENERIC_H__
+ #define __GENERIC_H__
 +
  #include <palacios/vm_dev.h>
  
  //
@@@ -36,6 -36,6 +36,7 @@@ int Start_Timer_Secs(int seconds, timer
  int Start_Timer_MSecs(int msecs, timerCallback cb, void * arg);
  int Start_Timer(int ticks, timerCallback, void * arg);
  
++
  double Get_Remaining_Timer_Secs(int id);
  int Get_Remaining_Timer_MSecs(int id);
  int Get_Remaining_Timer_Ticks(int id);
@@@ -2,11 -2,9 +2,13 @@@
  /* (c) 2008, Jack Lange <jarusl@cs.northwestern.edu> */
  /* (c) 2008, The V3VEE Project <http://www.v3vee.org> */
  
 -#ifndef __VMCS_H
 -#define __VMCS_H
++
 +#ifndef __VMCS_H__
 +#define __VMCS_H__
 +
 +#ifdef __V3VEE__
 +
  #include <palacios/vmm_types.h>
  
  
@@@ -1,11 -1,8 +1,10 @@@
  /* (c) 2008, The V3VEE Project <http://www.v3vee.org> */
 +#ifndef __VMCS_GEN__
 +#define __VMCS_GEN__
 +
 +#ifdef __V3VEE__
  
 -#ifndef vmcs_gen
 -#define vmcs_gen
  #include <palacios/vmcs.h>
  #include <palacios/vmm.h>
  
Simple merge
@@@ -46,6 -46,6 +46,8 @@@ typedef char sint8_t
  
  typedef ulong_t addr_t;
  
 +#endif // ! __V3VEE__
 +
  #endif
+ #endif
@@@ -1,6 -1,7 +1,9 @@@
  /* (c) 2008, Peter Dinda <pdinda@northwestern.edu> */
  /* (c) 2008, The V3VEE Project <http://www.v3vee.org> */
  
++
++
  #include <devices/generic.h>
  #include <palacios/vmm.h>
  #include <palacios/vmm_types.h>
@@@ -84,18 -99,7 +101,10 @@@ int generic_write_port_passthrough(usho
  
    switch (length) {
    case 1:
++<<<<<<< HEAD:palacios/src/devices/generic.c
++=======
++>>>>>>> ramdisk:palacios/src/devices/generic.c
      v3_outb(port,((uchar_t*)src)[0]);
      break;
    case 2:
      break;
    case 4:
      v3_outdw(port,((uint_t*)src)[0]);
++<<<<<<< HEAD:palacios/src/devices/generic.c
++=======
++>>>>>>> ramdisk:palacios/src/devices/generic.c
      break;
    default:
      for (i = 0; i < length; i++) {