Increase allowed size of the microcode blob to 32KB. Some Intel CPU's

updates weight 28KB.

PR:	179523
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2014-12-20 16:40:49 +00:00
parent 83c25ce791
commit 77b14d8df1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275960

View File

@ -63,7 +63,7 @@ static d_ioctl_t cpuctl_ioctl;
# define DPRINTF(...)
#endif
#define UCODE_SIZE_MAX (16 * 1024)
#define UCODE_SIZE_MAX (32 * 1024)
static int cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd,
struct thread *td);