312c339026
Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
29 lines
418 B
Makefile
29 lines
418 B
Makefile
# $NetBSD: Makefile,v 1.17 2012/08/29 17:13:22 drochner Exp $
|
|
|
|
INCSDIR=/usr/include/x86
|
|
|
|
INCS= aout_machdep.h \
|
|
bootinfo.h \
|
|
cacheinfo.h \
|
|
cpu.h \
|
|
cpu_ucode.h \
|
|
cputypes.h \
|
|
cpuvar.h \
|
|
float.h \
|
|
ieee.h ieeefp.h \
|
|
intr.h intrdefs.h \
|
|
lock.h \
|
|
math.h mutex.h mtrr.h \
|
|
pio.h \
|
|
pmap.h \
|
|
pmap_pv.h \
|
|
psl.h \
|
|
pte.h \
|
|
rwlock.h \
|
|
specialreg.h \
|
|
sysarch.h \
|
|
trap.h \
|
|
via_padlock.h
|
|
|
|
.include <bsd.kinc.mk>
|