OSDN Git Service

bootconfig: Add Extra Boot Config support
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:03:32 +0000 (01:03 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:38 +0000 (13:19 -0500)
commit76db5a27a827c2c89e5120a3d486472da847863b
treef5d871e93abc0c02f4a68afd84cca55aca9e9300
parent13292494379f92f532de71b31a54018336adc589
bootconfig: Add Extra Boot Config support

Extra Boot Config (XBC) allows admin to pass a tree-structured
boot configuration file when boot up the kernel. This extends
the kernel command line in an efficient way.

Boot config will contain some key-value commands, e.g.

key.word = value1
another.key.word = value2

It can fold same keys with braces, also you can write array
data. For example,

key {
   word1 {
      setting1 = data
      setting2
   }
   word2.array = "val1", "val2"
}

User can access these key-value pair and tree structure via
SKC APIs.

Link: http://lkml.kernel.org/r/157867221257.17873.1775090991929862549.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
MAINTAINERS
include/linux/bootconfig.h [new file with mode: 0644]
init/Kconfig
lib/Kconfig
lib/Makefile
lib/bootconfig.c [new file with mode: 0644]