summaryrefslogtreecommitdiff
path: root/doc/www.kernel.org_doc_html_latest_x86_zero-page.txt
blob: da384f15beb3992ade933eb7711740a02c6ed2c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
   #[1]Index [2]Search [3]11. The TLB [4]9. ORC unwinder

[5]The Linux Kernel

   6.3.0-rc6

Quick search

   ____________________ Go

Contents

   [X]
     * [6]A guide to the Kernel Development Process
     * [7]Submitting patches: the essential guide to getting your code
       into the kernel
     * [8]Code of conduct
     * [9]Kernel Maintainer Handbook
     * [10]All development-process docs

     * [11]Core API Documentation
     * [12]Driver implementer's API guide
     * [13]Kernel subsystem documentation
     * [14]Locking in the kernel

     * [15]Linux kernel licensing rules
     * [16]How to write kernel documentation
     * [17]Development tools for the kernel
     * [18]Kernel Testing Guide
     * [19]Kernel Hacking Guides
     * [20]Linux Tracing Technologies
     * [21]fault-injection
     * [22]Kernel Livepatching
     * [23]Rust

     * [24]The Linux kernel user's and administrator's guide
     * [25]The kernel build system
     * [26]Reporting issues
     * [27]User-space tools
     * [28]The Linux kernel user-space API guide

     * [29]The Linux kernel firmware guide
     * [30]Open Firmware and Devicetree

     * [31]CPU Architectures
          + [32]ARC architecture
          + [33]ARM Architecture
          + [34]ARM64 Architecture
          + [35]IA-64 Architecture
          + [36]LoongArch Architecture
          + [37]m68k Architecture
          + [38]MIPS-specific Documentation
          + [39]Nios II Specific Documentation
          + [40]OpenRISC Architecture
          + [41]PA-RISC Architecture
          + [42]powerpc
          + [43]RISC-V architecture
          + [44]s390 Architecture
          + [45]SuperH Interfaces Guide
          + [46]Sparc Architecture
          + [47]x86-specific Documentation
               o [48]1. The Linux/x86 Boot Protocol
               o [49]2. DeviceTree Booting
               o [50]3. x86 Feature Flags
               o [51]4. x86 Topology
               o [52]5. Kernel level exception handling
               o [53]6. Kernel Stacks
               o [54]7. Kernel Entries
               o [55]8. Early Printk
               o [56]9. ORC unwinder
               o [57]10. Zero Page
               o [58]11. The TLB
               o [59]12. MTRR (Memory Type Range Register) control
               o [60]13. PAT (Page Attribute Table)
               o [61]14. Hardware-Feedback Interface for scheduling on
                 Intel Hardware
               o [62]15. x86 IOMMU Support
               o [63]16. Intel(R) TXT Overview
               o [64]17. AMD Memory Encryption
               o [65]18. AMD HSMP interface
               o [66]19. Intel Trust Domain Extensions (TDX)
               o [67]20. Page Table Isolation (PTI)
               o [68]21. Microarchitectural Data Sampling (MDS) mitigation
               o [69]22. The Linux Microcode Loader
               o [70]23. User Interface for Resource Control feature
               o [71]24. TSX Async Abort (TAA) mitigation
               o [72]25. Bus lock detection and handling
               o [73]26. USB Legacy support
               o [74]27. i386 Support
               o [75]28. x86_64 Support
               o [76]29. In-Field Scan
               o [77]30. Shared Virtual Addressing (SVA) with ENQCMD
               o [78]31. Software Guard eXtensions (SGX)
               o [79]32. Feature status on x86 architecture
               o [80]33. x86-specific ELF Auxiliary Vectors
               o [81]34. Using XSTATE features in user space applications
          + [82]Xtensa Architecture

     * [83]Unsorted Documentation

     * [84]Translations

This Page

     * [85]Show Source

10. Zero Page[86]¶

   The additional fields in struct boot_params as a part of 32-bit boot
   protocol of kernel. These should be filled by bootloader or 16-bit
   real-mode setup code of the kernel. References/settings to it mainly
   are in:
arch/x86/include/uapi/asm/bootparam.h

   Offset/Size

   Proto

   Name

   Meaning

   000/040

   ALL

   screen_info

   Text mode or frame buffer information (struct screen_info)

   040/014

   ALL

   apm_bios_info

   APM BIOS information (struct apm_bios_info)

   058/008

   ALL

   tboot_addr

   Physical address of tboot shared page

   060/010

   ALL

   ist_info

   Intel SpeedStep (IST) BIOS support information (struct ist_info)

   070/008

   ALL

   acpi_rsdp_addr

   Physical address of ACPI RSDP table

   080/010

   ALL

   hd0_info

   hd0 disk parameter, OBSOLETE!!

   090/010

   ALL

   hd1_info

   hd1 disk parameter, OBSOLETE!!

   0A0/010

   ALL

   sys_desc_table

   System description table (struct sys_desc_table), OBSOLETE!!

   0B0/010

   ALL

   olpc_ofw_header

   OLPC's OpenFirmware CIF and friends

   0C0/004

   ALL

   ext_ramdisk_image

   ramdisk_image high 32bits

   0C4/004

   ALL

   ext_ramdisk_size

   ramdisk_size high 32bits

   0C8/004

   ALL

   ext_cmd_line_ptr

   cmd_line_ptr high 32bits

   13C/004

   ALL

   cc_blob_address

   Physical address of Confidential Computing blob

   140/080

   ALL

   edid_info

   Video mode setup (struct edid_info)

   1C0/020

   ALL

   efi_info

   EFI 32 information (struct efi_info)

   1E0/004

   ALL

   alt_mem_k

   Alternative mem check, in KB

   1E4/004

   ALL

   scratch

   Scratch field for the kernel setup code

   1E8/001

   ALL

   e820_entries

   Number of entries in e820_table (below)

   1E9/001

   ALL

   eddbuf_entries

   Number of entries in eddbuf (below)

   1EA/001

   ALL

   edd_mbr_sig_buf_entries

   Number of entries in edd_mbr_sig_buffer (below)

   1EB/001

   ALL

   kbd_status

   Numlock is enabled

   1EC/001

   ALL

   secure_boot

   Secure boot is enabled in the firmware

   1EF/001

   ALL

   sentinel

   Used to detect broken bootloaders

   290/040

   ALL

   edd_mbr_sig_buffer

   EDD MBR signatures

   2D0/A00

   ALL

   e820_table

   E820 memory map table (array of struct e820_entry)

   D00/1EC

   ALL

   eddbuf

   EDD data (array of struct edd_info)

   ©The kernel development community. | Powered by [87]Sphinx 5.0.1 &
   [88]Alabaster 0.7.12 | [89]Page source

References

   1. https://www.kernel.org/doc/html/latest/genindex.html
   2. https://www.kernel.org/doc/html/latest/search.html
   3. https://www.kernel.org/doc/html/latest/x86/tlb.html
   4. https://www.kernel.org/doc/html/latest/x86/orc-unwinder.html
   5. https://www.kernel.org/doc/html/latest/index.html
   6. https://www.kernel.org/doc/html/latest/process/development-process.html
   7. https://www.kernel.org/doc/html/latest/process/submitting-patches.html
   8. https://www.kernel.org/doc/html/latest/process/code-of-conduct.html
   9. https://www.kernel.org/doc/html/latest/maintainer/index.html
  10. https://www.kernel.org/doc/html/latest/process/index.html
  11. https://www.kernel.org/doc/html/latest/core-api/index.html
  12. https://www.kernel.org/doc/html/latest/driver-api/index.html
  13. https://www.kernel.org/doc/html/latest/subsystem-apis.html
  14. https://www.kernel.org/doc/html/latest/locking/index.html
  15. https://www.kernel.org/doc/html/latest/process/license-rules.html
  16. https://www.kernel.org/doc/html/latest/doc-guide/index.html
  17. https://www.kernel.org/doc/html/latest/dev-tools/index.html
  18. https://www.kernel.org/doc/html/latest/dev-tools/testing-overview.html
  19. https://www.kernel.org/doc/html/latest/kernel-hacking/index.html
  20. https://www.kernel.org/doc/html/latest/trace/index.html
  21. https://www.kernel.org/doc/html/latest/fault-injection/index.html
  22. https://www.kernel.org/doc/html/latest/livepatch/index.html
  23. https://www.kernel.org/doc/html/latest/rust/index.html
  24. https://www.kernel.org/doc/html/latest/admin-guide/index.html
  25. https://www.kernel.org/doc/html/latest/kbuild/index.html
  26. https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
  27. https://www.kernel.org/doc/html/latest/tools/index.html
  28. https://www.kernel.org/doc/html/latest/userspace-api/index.html
  29. https://www.kernel.org/doc/html/latest/firmware-guide/index.html
  30. https://www.kernel.org/doc/html/latest/devicetree/index.html
  31. https://www.kernel.org/doc/html/latest/arch.html
  32. https://www.kernel.org/doc/html/latest/arc/index.html
  33. https://www.kernel.org/doc/html/latest/arm/index.html
  34. https://www.kernel.org/doc/html/latest/arm64/index.html
  35. https://www.kernel.org/doc/html/latest/ia64/index.html
  36. https://www.kernel.org/doc/html/latest/loongarch/index.html
  37. https://www.kernel.org/doc/html/latest/m68k/index.html
  38. https://www.kernel.org/doc/html/latest/mips/index.html
  39. https://www.kernel.org/doc/html/latest/nios2/index.html
  40. https://www.kernel.org/doc/html/latest/openrisc/index.html
  41. https://www.kernel.org/doc/html/latest/parisc/index.html
  42. https://www.kernel.org/doc/html/latest/powerpc/index.html
  43. https://www.kernel.org/doc/html/latest/riscv/index.html
  44. https://www.kernel.org/doc/html/latest/s390/index.html
  45. https://www.kernel.org/doc/html/latest/sh/index.html
  46. https://www.kernel.org/doc/html/latest/sparc/index.html
  47. https://www.kernel.org/doc/html/latest/x86/index.html
  48. https://www.kernel.org/doc/html/latest/x86/boot.html
  49. https://www.kernel.org/doc/html/latest/x86/booting-dt.html
  50. https://www.kernel.org/doc/html/latest/x86/cpuinfo.html
  51. https://www.kernel.org/doc/html/latest/x86/topology.html
  52. https://www.kernel.org/doc/html/latest/x86/exception-tables.html
  53. https://www.kernel.org/doc/html/latest/x86/kernel-stacks.html
  54. https://www.kernel.org/doc/html/latest/x86/entry_64.html
  55. https://www.kernel.org/doc/html/latest/x86/earlyprintk.html
  56. https://www.kernel.org/doc/html/latest/x86/orc-unwinder.html
  57. https://www.kernel.org/doc/html/latest/x86/zero-page.html
  58. https://www.kernel.org/doc/html/latest/x86/tlb.html
  59. https://www.kernel.org/doc/html/latest/x86/mtrr.html
  60. https://www.kernel.org/doc/html/latest/x86/pat.html
  61. https://www.kernel.org/doc/html/latest/x86/intel-hfi.html
  62. https://www.kernel.org/doc/html/latest/x86/iommu.html
  63. https://www.kernel.org/doc/html/latest/x86/intel_txt.html
  64. https://www.kernel.org/doc/html/latest/x86/amd-memory-encryption.html
  65. https://www.kernel.org/doc/html/latest/x86/amd_hsmp.html
  66. https://www.kernel.org/doc/html/latest/x86/tdx.html
  67. https://www.kernel.org/doc/html/latest/x86/pti.html
  68. https://www.kernel.org/doc/html/latest/x86/mds.html
  69. https://www.kernel.org/doc/html/latest/x86/microcode.html
  70. https://www.kernel.org/doc/html/latest/x86/resctrl.html
  71. https://www.kernel.org/doc/html/latest/x86/tsx_async_abort.html
  72. https://www.kernel.org/doc/html/latest/x86/buslock.html
  73. https://www.kernel.org/doc/html/latest/x86/usb-legacy-support.html
  74. https://www.kernel.org/doc/html/latest/x86/i386/index.html
  75. https://www.kernel.org/doc/html/latest/x86/x86_64/index.html
  76. https://www.kernel.org/doc/html/latest/x86/ifs.html
  77. https://www.kernel.org/doc/html/latest/x86/sva.html
  78. https://www.kernel.org/doc/html/latest/x86/sgx.html
  79. https://www.kernel.org/doc/html/latest/x86/features.html
  80. https://www.kernel.org/doc/html/latest/x86/elf_auxvec.html
  81. https://www.kernel.org/doc/html/latest/x86/xstate.html
  82. https://www.kernel.org/doc/html/latest/xtensa/index.html
  83. https://www.kernel.org/doc/html/latest/staging/index.html
  84. https://www.kernel.org/doc/html/latest/translations/index.html
  85. https://www.kernel.org/doc/html/latest/_sources/x86/zero-page.rst.txt
  86. https://www.kernel.org/doc/html/latest/x86/zero-page.html#zero-page
  87. http://sphinx-doc.org/
  88. https://github.com/bitprophet/alabaster
  89. https://www.kernel.org/doc/html/latest/_sources/x86/zero-page.rst.txt