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.


virtual console works with stream-serial implementation
[palacios.git] / palacios / include / devices / serial.h
index f71159c..78ff076 100644 (file)
    to different kinds of frontend devices that can act as a stream */
 
 struct v3_stream_ops  {
+    /* called by serial device to the backend stream device */
     int (*read)(char *buf, uint_t len, void *private_data);
     int (*write)(char *buf, uint_t len, void *private_data);
+
+    /* called by backend device to frontend serial device */
+    int (*input)(char *buf, uint_t len, void *front_data);
+    void *front_data;
 };