kernel: load cpu microcode update if loaded by the bootloader
add optional fields for microcode in kernel_args. Change-Id: Ic5fb54cf6c9f489a2d1cdda00f63980c11dcdaeb Reviewed-on: https://review.haiku-os.org/c/haiku/+/2264 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -105,6 +105,15 @@ typedef struct kernel_args {
|
||||
// bootsplash data
|
||||
FixedWidthPointer<uint8> boot_splash;
|
||||
|
||||
// optional microcode
|
||||
FixedWidthPointer<void> ucode_data;
|
||||
uint32 ucode_data_size;
|
||||
|
||||
} _PACKED kernel_args;
|
||||
|
||||
|
||||
const size_t kernel_args_size_v1 = sizeof(kernel_args)
|
||||
- sizeof(FixedWidthPointer<void>) - sizeof(uint32);
|
||||
|
||||
|
||||
#endif /* KERNEL_BOOT_KERNEL_ARGS_H */
|
||||
|
||||
Reference in New Issue
Block a user