diff options
author | kib <kib@FreeBSD.org> | 2016-11-18 09:03:31 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-11-18 09:03:31 +0000 |
commit | 1109e24137a7c364db3a0f48cfa7ed09c082be18 (patch) | |
tree | 6861b56a6b27695daf72b8651b81cc53c5a0bd2c | |
parent | b351baaa015f7600f00c62a699c890b8eb4da433 (diff) | |
download | FreeBSD-src-1109e24137a7c364db3a0f48cfa7ed09c082be18.zip FreeBSD-src-1109e24137a7c364db3a0f48cfa7ed09c082be18.tar.gz |
MFC r308538:
Increase the max allowed size of the microcode update blob for x86.
-rw-r--r-- | sys/dev/cpuctl/cpuctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cpuctl/cpuctl.c b/sys/dev/cpuctl/cpuctl.c index 3a5d789..b3aedfb 100644 --- a/sys/dev/cpuctl/cpuctl.c +++ b/sys/dev/cpuctl/cpuctl.c @@ -63,7 +63,7 @@ static d_ioctl_t cpuctl_ioctl; # define DPRINTF(...) #endif -#define UCODE_SIZE_MAX (32 * 1024) +#define UCODE_SIZE_MAX (4 * 1024 * 1024) static int cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd, struct thread *td); |