FreeBSD/src dee401e (r340421) — usr.sbin/cpucontrol cpucontrol.c intel.c
cpucontrol(8): De-duplicate common update logic Every µcode-updater must open the cpucontrol devfs node RDWR, open a firmware file, validate the FW file has a positive length, mmap it, etc. De-duplicate that identical logic between every individual platform. Also, constify references to the readonly-mapped firmware files while here. Sponsored by: Dell EMC Isilon
Delta | File | |
---|---|---|
+101 | -44 | usr.sbin/cpucontrol/cpucontrol.c |
+24 | -50 | usr.sbin/cpucontrol/intel.c |
+20 | -51 | usr.sbin/cpucontrol/via.c |
+17 | -45 | usr.sbin/cpucontrol/amd.c |
+11 | -37 | usr.sbin/cpucontrol/amd10h.c |
+10 | -1 | usr.sbin/cpucontrol/cpucontrol.h |
+183 | -228 | 6 files |