summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/include/bits/errfile.h
diff options
context:
space:
mode:
authorMichael Brown2024-03-15 18:43:49 +0100
committerMichael Brown2024-03-15 18:43:49 +0100
commit17882e76afc0e69a0d4ed142aa33b94017ae4e58 (patch)
tree43b4c027ad128fc52dffa463599274a6ea660a16 /src/arch/x86/include/bits/errfile.h
parent[bios] Provide a multiprocessor API for BIOS (diff)
downloadipxe-17882e76afc0e69a0d4ed142aa33b94017ae4e58.tar.gz
ipxe-17882e76afc0e69a0d4ed142aa33b94017ae4e58.tar.xz
ipxe-17882e76afc0e69a0d4ed142aa33b94017ae4e58.zip
[ucode] Add support for updating x86 microcode
Intel and AMD distribute microcode updates, which are typically applied by the BIOS and/or the booted operating system. BIOS updates can be difficult to obtain and cumbersome to apply, and are often neglected. Operating system updates may be subject to strict change control processes, particularly for production workloads. There is therefore value in being able to update the microcode at boot time using a freshly downloaded microcode update file, particularly in scenarios where the physical hardware and the installed operating system are controlled by different parties (such as in a public cloud infrastructure). Add support for parsing Intel and AMD microcode update images, and for applying the updates to all CPUs in the system. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/include/bits/errfile.h')
-rw-r--r--src/arch/x86/include/bits/errfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/include/bits/errfile.h b/src/arch/x86/include/bits/errfile.h
index b5316a58..78b3dea1 100644
--- a/src/arch/x86/include/bits/errfile.h
+++ b/src/arch/x86/include/bits/errfile.h
@@ -44,6 +44,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define ERRFILE_sdi ( ERRFILE_ARCH | ERRFILE_IMAGE | 0x000b0000 )
#define ERRFILE_initrd ( ERRFILE_ARCH | ERRFILE_IMAGE | 0x000c0000 )
#define ERRFILE_pxe_call ( ERRFILE_ARCH | ERRFILE_IMAGE | 0x000d0000 )
+#define ERRFILE_ucode ( ERRFILE_ARCH | ERRFILE_IMAGE | 0x000e0000 )
#define ERRFILE_undi ( ERRFILE_ARCH | ERRFILE_NET | 0x00000000 )
#define ERRFILE_undiload ( ERRFILE_ARCH | ERRFILE_NET | 0x00010000 )