WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Fix ioemu compile: serial.c was including

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix ioemu compile: serial.c was including a Linux-specific header.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Dec 2007 08:20:12 -0800
Delivery-date: Fri, 07 Dec 2007 08:20:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1196988114 0
# Node ID ec61ca6cd55b03c21e2b90c7a4f6611f26b41d2b
# Parent  b240698146a250d7f7cd5309325d743e9ec6f4d8
Fix ioemu compile: serial.c was including a Linux-specific header.
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/ioemu/hw/serial.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletion(-)

diff -r b240698146a2 -r ec61ca6cd55b tools/ioemu/hw/serial.c
--- a/tools/ioemu/hw/serial.c   Thu Dec 06 17:47:53 2007 +0000
+++ b/tools/ioemu/hw/serial.c   Fri Dec 07 00:41:54 2007 +0000
@@ -26,9 +26,15 @@
 #include <sys/time.h>
 #include <time.h>
 #include <assert.h>
-#include <asm/termios.h>
 
 //#define DEBUG_SERIAL
+
+#define TIOCM_DTR      0x002
+#define TIOCM_RTS      0x004
+#define TIOCM_CTS      0x020
+#define TIOCM_CAR      0x040
+#define TIOCM_RI       0x080
+#define TIOCM_DSR      0x100
 
 #define UART_LCR_DLAB  0x80    /* Divisor latch access bit */
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix ioemu compile: serial.c was including a Linux-specific header., Xen patchbot-unstable <=