svn commit: r234113 - projects/amd64_xen_pv/sys/amd64/xen
Cherry G. Mathew
cherry at FreeBSD.org
Tue Apr 10 22:14:50 UTC 2012
Author: cherry
Date: Tue Apr 10 22:14:49 2012
New Revision: 234113
URL: http://svn.freebsd.org/changeset/base/234113
Log:
Set descriptor limit from limit variable, not base
Modified:
projects/amd64_xen_pv/sys/amd64/xen/machdep.c
Modified: projects/amd64_xen_pv/sys/amd64/xen/machdep.c
==============================================================================
--- projects/amd64_xen_pv/sys/amd64/xen/machdep.c Tue Apr 10 22:12:04 2012 (r234112)
+++ projects/amd64_xen_pv/sys/amd64/xen/machdep.c Tue Apr 10 22:14:49 2012 (r234113)
@@ -184,7 +184,7 @@ setup_gdt(struct user_segment_descriptor
USD_SETBASE(&thisgdt[i], base);
- USD_SETLIMIT(&thisgdt[i], base);
+ USD_SETLIMIT(&thisgdt[i], limit);
thisgdt[i].sd_type = type;
thisgdt[i].sd_dpl = dpl;
thisgdt[i].sd_p = p;
More information about the svn-src-projects
mailing list