CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2018/04/11 09:44:08
Modified files: sys/arch/i386/conf: ld.script sys/arch/i386/i386: apicvec.s bios.c cpu.c gdt.c genassym.cf kvm86.c kvm86call.S lapic.c locore.s machdep.c pmap.c pmapae.c vector.s sys/arch/i386/include: asm.h cpu.h cpufunc.h frame.h gdt.h pcb.h pmap.h sys/arch/i386/isa: icu.s npx.c Added files: sys/arch/i386/include: cpu_full.h Log message: More steps for i386 Meltdown fix: - provide struct cpu_info_full - prepare K-U sections - reorganize interrupt, trap, syscall entry to use K-U trampoline - prepare pmap for entering special mappings, the mappings are not setup yet This code will already trigger performance issues. We do more tlb flushes, but we do not unmap the kernel yet. The latter will be needed to prevent Meltdown. from hshoexer@; input guenther@; OK mlarkin@ deraadt@