[Spice-devel] [spice-protocol PATCH 12/46] remove qxl_handle_oom and qxl->io_base
Alon Levy
alevy at redhat.com
Tue Apr 10 04:50:08 PDT 2012
---
src/qxl.h | 10 ----------
src/qxl_driver.c | 5 -----
2 files changed, 15 deletions(-)
diff --git a/src/qxl.h b/src/qxl.h
index 0b00474..4ca68a3 100644
--- a/src/qxl.h
+++ b/src/qxl.h
@@ -133,7 +133,6 @@ struct _qxl_screen_t
int num_modes;
struct QXLMode * modes;
- int io_base;
long surface0_size;
int virtual_x;
@@ -380,15 +379,6 @@ void qxl_notify_oom(qxl_screen_t *qxl);
void xspice_ioport_write(qxl_screen_t *qxl, uint32_t io_port, uint32_t val);
#endif
-static inline void ioport_write(qxl_screen_t *qxl, uint32_t port, uint32_t val)
-{
-#ifdef XSPICE
- xspice_ioport_write(qxl, port, val);
-#else
- outb(qxl->io_base + port, val);
-#endif
-}
-
#ifdef XSPICE
#define MEMSLOT_GROUP 0
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 0394016..9755c87 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -133,11 +133,6 @@ qxl_available_options (int chipid, int busid)
return DefaultOptions;
}
-void qxl_notify_oom(qxl_screen_t *qxl)
-{
- ioport_write(qxl, QXL_IO_NOTIFY_OOM, 0);
-}
-
int
qxl_garbage_collect (qxl_screen_t *qxl)
{
--
1.7.9.3
More information about the Spice-devel
mailing list