Commit 9e30b11b authored by Alon Levy's avatar Alon Levy

xspice: add spiceqxl_io_port, empty implementation

parent d7c3e279
......@@ -61,6 +61,7 @@ spiceqxl_drv_la_LIBADD = uxa/libuxa.la
spiceqxl_drv_la_SOURCES = \
qxl.h \
spiceqxl_io_port.c \
qxl_driver.c \
qxl_image.c \
qxl_surface.c \
......
......@@ -351,9 +351,14 @@ void * qxl_allocnf (qxl_screen_t *qxl,
unsigned long size);
int qxl_garbage_collect (qxl_screen_t *qxl);
#ifdef XSPICE
/* device to spice-server, now xspice to spice-server */
void ioport_write(qxl_screen_t *qxl, uint32_t io_port, uint32_t val);
#else
static inline void ioport_write(qxl_screen_t *qxl, int port, int val)
{
outb(qxl->io_base + port, val);
}
#endif
#endif // QXL_H
#include <pthread.h>
#include <spice.h>
#include "qxl.h"
#include "spiceqxl_io_port.h"
/* called from Xorg thread - not worker thread! */
void ioport_write(qxl_screen_t *qxl, uint32_t io_port, uint32_t val)
{
}
#ifndef SPICEQXL_IO_PORT_H
#define SPICEQXL_IO_PORT_H
#include "qxl.h"
#endif // SPICEQXL_IO_PORT_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment