~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-kernel-boot_params

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-kernel-boot_params (Architecture alpha) and /Documentation/ABI/testing/sysfs-kernel-boot_params (Architecture sparc64)


  1 What:           /sys/kernel/boot_params             1 What:           /sys/kernel/boot_params
  2 Date:           December 2013                       2 Date:           December 2013
  3 Contact:        Dave Young <dyoung@redhat.com>       3 Contact:        Dave Young <dyoung@redhat.com>
  4 Description:    The /sys/kernel/boot_params di      4 Description:    The /sys/kernel/boot_params directory contains two
  5                 files: "data" and "version" an      5                 files: "data" and "version" and one subdirectory "setup_data".
  6                 It is used to export the kerne      6                 It is used to export the kernel boot parameters of an x86
  7                 platform to userspace for kexe      7                 platform to userspace for kexec and debugging purpose.
  8                                                     8 
  9                 If there's no setup_data in bo      9                 If there's no setup_data in boot_params the subdirectory will
 10                 not be created.                    10                 not be created.
 11                                                    11 
 12                 "data" file is the binary repr     12                 "data" file is the binary representation of struct boot_params.
 13                                                    13 
 14                 "version" file is the string r     14                 "version" file is the string representation of boot
 15                 protocol version.                  15                 protocol version.
 16                                                    16 
 17                 "setup_data" subdirectory cont     17                 "setup_data" subdirectory contains the setup_data data
 18                 structure in boot_params. setu     18                 structure in boot_params. setup_data is maintained in kernel
 19                 as a link list. In "setup_data     19                 as a link list. In "setup_data" subdirectory there's one
 20                 subdirectory for each link lis     20                 subdirectory for each link list node named with the number
 21                 of the list nodes. The list no     21                 of the list nodes. The list node subdirectory contains two
 22                 files "type" and "data". "type     22                 files "type" and "data". "type" file is the string
 23                 representation of setup_data t     23                 representation of setup_data type. "data" file is the binary
 24                 representation of setup_data p     24                 representation of setup_data payload.
 25                                                    25 
 26                 The whole boot_params director     26                 The whole boot_params directory structure is like below::
 27                                                    27 
 28                   /sys/kernel/boot_params          28                   /sys/kernel/boot_params
 29                   |__ data                         29                   |__ data
 30                   |__ setup_data                   30                   |__ setup_data
 31                   |   |__ 0                        31                   |   |__ 0
 32                   |   |   |__ data                 32                   |   |   |__ data
 33                   |   |   |__ type                 33                   |   |   |__ type
 34                   |   |__ 1                        34                   |   |__ 1
 35                   |       |__ data                 35                   |       |__ data
 36                   |       |__ type                 36                   |       |__ type
 37                   |__ version                      37                   |__ version
 38                                                    38 
 39 Users:          Kexec                              39 Users:          Kexec
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php