CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/06/28 15:54:05
Modified files:
sys/arch/amd64/amd64: ucode.c
sys/arch/amd64/include: cpufunc.h
sys/arch/i386/i386: ucode.c
sys/arch/i386/include: cpufunc.h
Log message:
Write back and invalidate caches before updating CPU microcode,
like Intel does in their patches on githup. Also add a compiler
level memory barrier to the wbinvd instruction like Linux does.
OK mlarkin@ guenther@ kettenis@
