mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
0112b52b61
This includes new code for parsing microcode files as well as the kernel-side change to apply the update on all processors at the same time. Developed with help from Borislav Petkov, formerly bp@amd64.org. Tested using Athlon II X2 processor on a system where BIOS does not have the latest microcode version: /boot/firmware/microcode_amd.bin: updating cpu /dev/cpuctl0 to revision 0x10000c7... done. The microcode file is taken from here: https://web.archive.org/web/20160528230514/http://www.amd64.org/microcode.html (note that the original site seems to be down at the moment) It can also be found here: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/amd-ucode Reviewed by: kib, stas MFC after: 2 weeks Relnotes: maybe Differential Revision: https://reviews.freebsd.org/D8384
10 lines
137 B
Makefile
10 lines
137 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= cpucontrol
|
|
MAN= cpucontrol.8
|
|
SRCS= cpucontrol.c intel.c amd.c amd10h.c via.c
|
|
|
|
NO_WCAST_ALIGN=
|
|
|
|
.include <bsd.prog.mk>
|