freebsd-nq/usr.sbin/cpucontrol
Conrad Meyer dee401e833 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
2018-11-14 00:21:49 +00:00
..
amd10h.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
amd.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
amd.h
cpucontrol.8
cpucontrol.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
cpucontrol.h cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
intel.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
intel.h
Makefile
Makefile.depend
via.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
via.h