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] vmxassist: Include terminating 0xff byte

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] vmxassist: Include terminating 0xff byte in TSS I/O bitmap.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Jun 2007 03:14:34 -0700
Delivery-date: Mon, 04 Jun 2007 03:13:22 -0700
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@xxxxxxxxxxxxx>
# Date 1179684310 -3600
# Node ID b9da101ed9450c37dabc270b8e319d79be23524d
# Parent  0fd2bf14f38ae8c9c325e289f906abcdb63fbca8
vmxassist: Include terminating 0xff byte in TSS I/O bitmap.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/firmware/vmxassist/machine.h |    2 +-
 tools/firmware/vmxassist/setup.c   |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff -r 0fd2bf14f38a -r b9da101ed945 tools/firmware/vmxassist/machine.h
--- a/tools/firmware/vmxassist/machine.h        Sat May 19 10:54:01 2007 -0700
+++ b/tools/firmware/vmxassist/machine.h        Sun May 20 19:05:10 2007 +0100
@@ -115,7 +115,7 @@ struct tss {
 #ifdef ENABLE_VME
        unsigned long   int_redir[8];
 #endif
-       unsigned char   iomap[8192];
+       unsigned char   iomap[8193];
 };
 
 static inline void
diff -r 0fd2bf14f38a -r b9da101ed945 tools/firmware/vmxassist/setup.c
--- a/tools/firmware/vmxassist/setup.c  Sat May 19 10:54:01 2007 -0700
+++ b/tools/firmware/vmxassist/setup.c  Sun May 20 19:05:10 2007 +0100
@@ -127,6 +127,7 @@ setup_gdt(void)
        tss.ss0 = DATA_SELECTOR;
        tss.esp0 = (unsigned) stack_top;
        tss.iomap_base = offsetof(struct tss, iomap);
+       tss.iomap[sizeof(tss.iomap)-1] = 0xff;
 
        /* initialize gdt's tss selector */
        gdt[TSS_SELECTOR / sizeof(gdt[0])] |=

_______________________________________________
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] vmxassist: Include terminating 0xff byte in TSS I/O bitmap., Xen patchbot-unstable <=