Module Name: src Committed By: cherry Date: Sat Nov 4 08:50:48 UTC 2017
Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: segments.h src/sys/arch/i386/i386: machdep.c src/sys/arch/i386/include: segments.h src/sys/arch/x86/x86: idt.c src/sys/arch/xen/conf: files.xen Log Message: In XEN PV, the idt vector table is not required to be altered at runtime, since only entries for exceptions/traps are registered with the hypervisor and interrupts are managed via a completely different mechanism. This change uses the idt_vec_reserve() mechanism nevertheless, modifying it slightly to only do namespace management in XEN, while on native it will continue to do idt entry init as before. Rationale: Consistent API usage and potential future merging of XEN/non-XEN code. There are no functional changes in this commit. To generate a diff of this commit: cvs rdiff -u -r1.274 -r1.275 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.32 -r1.33 src/sys/arch/amd64/include/segments.h cvs rdiff -u -r1.797 -r1.798 src/sys/arch/i386/i386/machdep.c cvs rdiff -u -r1.62 -r1.63 src/sys/arch/i386/include/segments.h cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/x86/idt.c cvs rdiff -u -r1.157 -r1.158 src/sys/arch/xen/conf/files.xen Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.