[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] vmxassist: Include terminating 0xff byte in TSS I/O bitmap.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |