NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/41401 CVS commit: src/sys/arch
The following reply was made to PR port-xen/41401; it has been noted by GNATS.
From: Manuel Bouyer <bouyer%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/41401 CVS commit: src/sys/arch
Date: Sun, 17 May 2009 18:24:24 +0000
Module Name: src
Committed By: bouyer
Date: Sun May 17 18:24:24 UTC 2009
Modified Files:
src/sys/arch/i386/i386: gdt.c
src/sys/arch/i386/include: segments.h
src/sys/arch/x86/x86: sys_machdep.c
Log Message:
on Xen the GDT has to be updated though HYPERVISOR_update_descriptor().
Export i386/i386/gdt.c:update_descriptor() and use it in x86_set_sdbase(),
as a direct write to the GDT will cause a kernel trap.
Fix PR port-xen/41401.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/i386/i386/gdt.c
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/i386/include/segments.h
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x86/x86/sys_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index