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.


The serial IIR and FCR registers for the serial ports share an I/O port, reads access...
Erik van der Kouwe [Fri, 26 Nov 2010 16:45:49 +0000 (10:45 -0600)]
palacios/src/devices/serial.c

index 0035a7f..7122251 100644 (file)
@@ -700,12 +700,12 @@ static int read_ctrl_port(struct guest_info * core, uint16_t port, void * dst,
            break;
        }
 
-       case COM1_FIFO_CTRL_PORT:
-       case COM2_FIFO_CTRL_PORT:
-       case COM3_FIFO_CTRL_PORT:
-       case COM4_FIFO_CTRL_PORT:
-           PrintDebug("UART:read from FCR");
-           *val = com_port->fcr.val;
+       case COM1_IIR_PORT:
+       case COM2_IIR_PORT:
+       case COM3_IIR_PORT:
+       case COM4_IIR_PORT:
+           PrintDebug("UART:read from IIR");
+           *val = com_port->iir.val;
            break;
 
        case COM1_LINE_CTRL_PORT: