diff options
author | kib <kib@FreeBSD.org> | 2016-11-18 09:01:44 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-11-18 09:01:44 +0000 |
commit | 01d99faedd3455353cd536056c4aeb3f97086cc0 (patch) | |
tree | 39c07742a1ffc39ca77692b67d45cfab1735a3ba | |
parent | 295dea39fa111d8113d6b5bdb27633f38d3c6031 (diff) | |
download | FreeBSD-src-01d99faedd3455353cd536056c4aeb3f97086cc0.zip FreeBSD-src-01d99faedd3455353cd536056c4aeb3f97086cc0.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 d801f17..e0c0bf7 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); |