| 4ee1b4ca | 17-Sep-2021 |
Masami Hiramatsu <mhiramat@kernel.org> |
bootconfig: Cleanup dummy headers in tools/bootconfig
Cleanup dummy headers in tools/bootconfig/include except for tools/bootconfig/include/linux/bootconfig.h. For this change, I use __KERNEL__ macr
bootconfig: Cleanup dummy headers in tools/bootconfig
Cleanup dummy headers in tools/bootconfig/include except for tools/bootconfig/include/linux/bootconfig.h. For this change, I use __KERNEL__ macro to split kernel header #include and introduce xbc_alloc_mem() and xbc_free_mem().
Link: https://lkml.kernel.org/r/163187299574.2366983.18371329724128746091.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
show more ...
|
| 4f292c48 | 17-Sep-2021 |
Masami Hiramatsu <mhiramat@kernel.org> |
bootconfig: Replace u16 and u32 with uint16_t and uint32_t
Replace u16 and u32 with uint16_t and uint32_t so that the tools/bootconfig only needs <stdint.h>.
Link: https://lkml.kernel.org/r/1631872
bootconfig: Replace u16 and u32 with uint16_t and uint32_t
Replace u16 and u32 with uint16_t and uint32_t so that the tools/bootconfig only needs <stdint.h>.
Link: https://lkml.kernel.org/r/163187298835.2366983.9838262576854319669.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
show more ...
|
| 15e95037 | 20-Feb-2020 |
Masami Hiramatsu <mhiramat@kernel.org> |
tools/bootconfig: Remove unneeded error message silencer
Remove error message silent knob, we don't need it anymore because we can check if there is a bootconfig by checking the magic word. If there
tools/bootconfig: Remove unneeded error message silencer
Remove error message silent knob, we don't need it anymore because we can check if there is a bootconfig by checking the magic word. If there is a magic word, but failed to load a bootconfig from initrd, there is a real problem.
Link: http://lkml.kernel.org/r/158220113256.26565.14264598654427773104.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
show more ...
|
| a91e4f12 | 07-Feb-2020 |
Masami Hiramatsu <mhiramat@kernel.org> |
bootconfig: Allocate xbc_nodes array dynamically
To reduce the large static array from kernel data, allocate xbc_nodes array dynamically only if the kernel loads a bootconfig.
Note that this also a
bootconfig: Allocate xbc_nodes array dynamically
To reduce the large static array from kernel data, allocate xbc_nodes array dynamically only if the kernel loads a bootconfig.
Note that this also add dummy memblock.h for user-spacae bootconfig tool.
Link: http://lkml.kernel.org/r/158108569699.3187.6512834527603883707.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
show more ...
|