File tree 3 files changed +16
-1
lines changed 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ Protocol 2.14: BURNT BY INCORRECT COMMIT ae7e1238e68f2a472a125673ab506d49158c188
73
73
(x86/boot: Add ACPI RSDP address to setup_header)
74
74
DO NOT USE!!! ASSUME SAME AS 2.13.
75
75
76
- Protocol 2.15: (Kernel 5.5) Added the kernel_info.
76
+ Protocol 2.15: (Kernel 5.5) Added the kernel_info and kernel_info.setup_type_max .
77
77
============= ============================================================
78
78
79
79
.. note ::
@@ -981,6 +981,13 @@ Offset/size: 0x0008/4
981
981
This field contains the size of the kernel_info including kernel_info.header
982
982
and kernel_info.kernel_info_var_len_data.
983
983
984
+ ============ ==============
985
+ Field name: setup_type_max
986
+ Offset/size: 0x000c/4
987
+ ============ ==============
988
+
989
+ This field contains maximal allowed type for setup_data.
990
+
984
991
985
992
The Image Checksum
986
993
==================
Original file line number Diff line number Diff line change 1
1
/* SPDX-License-Identifier: GPL-2.0 */
2
2
3
+ #include <asm/bootparam.h>
4
+
3
5
.section ".rodata.kernel_info" , "a"
4
6
5
7
.global kernel_info
@@ -12,6 +14,9 @@ kernel_info:
12
14
/* Size total. */
13
15
.long kernel_info_end - kernel_info
14
16
17
+ /* Maximal allowed type for setup_data. */
18
+ .long SETUP_TYPE_MAX
19
+
15
20
kernel_info_var_len_data:
16
21
/* Empty for time being... */
17
22
kernel_info_end:
Original file line number Diff line number Diff line change 11
11
#define SETUP_APPLE_PROPERTIES 5
12
12
#define SETUP_JAILHOUSE 6
13
13
14
+ /* max(SETUP_*) */
15
+ #define SETUP_TYPE_MAX SETUP_JAILHOUSE
16
+
14
17
/* ram_size flags */
15
18
#define RAMDISK_IMAGE_START_MASK 0x07FF
16
19
#define RAMDISK_PROMPT_FLAG 0x8000
You can’t perform that action at this time.
0 commit comments