Skip to content

Boot #191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 232 commits into from
May 7, 2025
Merged

Boot #191

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
5a6f575
add grub2 and xorriso
MRNIU Dec 4, 2024
e4e534b
add grub2 submodule
MRNIU Dec 4, 2024
2c9925f
doc: add grub2
MRNIU Dec 4, 2024
15af3e7
tool: fix package typo
MRNIU Dec 4, 2024
fdd6c80
tool: fix style
MRNIU Dec 4, 2024
da305db
tool: fix style
MRNIU Dec 4, 2024
fbd98d7
tool: add Super-linter
MRNIU Dec 4, 2024
1c3a10c
cmake: fix error
MRNIU Dec 4, 2024
a070171
tool: update deccontainer
MRNIU Dec 4, 2024
5a7e340
3rd: auto install pre-commit
MRNIU Dec 5, 2024
c363535
tools: update pre-commit rule
MRNIU Dec 5, 2024
d69ad45
tools: add cpplint
MRNIU Dec 5, 2024
0e61874
fix cpplint
MRNIU Dec 5, 2024
b4848eb
remove AnalyzeTemporaryDtors
MRNIU Dec 5, 2024
bca84bf
remove AnalyzeTemporaryDtors
MRNIU Dec 5, 2024
ebeb738
remove clang-tidy in 3rd
MRNIU Dec 5, 2024
dbbe710
remove clang-tidy in 3rd
MRNIU Dec 5, 2024
722e001
test pre-commit
MRNIU Dec 6, 2024
4e2e942
test pre-commit
MRNIU Dec 6, 2024
bfcbcdd
test pre-commit
MRNIU Dec 6, 2024
1e2c8ab
test pre-commit
MRNIU Dec 6, 2024
9d11251
test pre-commit
MRNIU Dec 6, 2024
1c3247a
test pre-commit
MRNIU Dec 6, 2024
c00bb98
test pre-commit
MRNIU Dec 6, 2024
65c0d4c
test pre-commit
MRNIU Dec 6, 2024
e40971a
test pre-commit
MRNIU Dec 6, 2024
3d8b9db
test pre-commit
MRNIU Dec 9, 2024
4890078
test pre-commit
MRNIU Dec 9, 2024
6a9afa6
test pre-commit
MRNIU Dec 9, 2024
112288a
test pre-commit
MRNIU Dec 9, 2024
d7feea6
test pre-commit
MRNIU Dec 9, 2024
e4335ad
test pre-commit
MRNIU Dec 9, 2024
01d8f93
perf: replace with template
MRNIU Dec 9, 2024
474b1fc
perf: replace with template
MRNIU Dec 9, 2024
24978ff
perf: replace with template
MRNIU Dec 9, 2024
5c15edc
style: fix clang-tidy
MRNIU Dec 9, 2024
20b6afe
style: fix clang-tidy
MRNIU Dec 9, 2024
2adf445
style: fix clang-tidy
MRNIU Dec 9, 2024
4293f7d
style: fix clang-tidy
MRNIU Dec 9, 2024
de6ad39
style: fix clang-tidy
MRNIU Dec 9, 2024
b9d0e03
style: fix clang-tidy
MRNIU Dec 9, 2024
fe9f625
style: fix clang-tidy
MRNIU Dec 9, 2024
27a0aa0
style: fix clang-tidy
MRNIU Dec 9, 2024
848e6b4
style: fix clang-tidy
MRNIU Dec 9, 2024
617f981
style: fix clang-tidy
MRNIU Dec 9, 2024
380ec94
style: fix clang-tidy
MRNIU Dec 10, 2024
53aceef
style: fix clang-tidy
MRNIU Dec 10, 2024
9bd8717
style: fix clang-tidy
MRNIU Dec 10, 2024
4248ec3
feat: aarch64 bootup
MRNIU Dec 30, 2024
ebac8cf
feat: aarch64 bootup
MRNIU Jan 2, 2025
be5ad9f
test: add cxx_init_test
MRNIU Jan 2, 2025
0237338
test: add cxx_init_test
MRNIU Jan 2, 2025
1e84818
add cpu_io
MRNIU Jan 2, 2025
9127ce8
3rd: update cpu_io
MRNIU Jan 2, 2025
e36b53c
3rd: update cpu_io
MRNIU Jan 2, 2025
4cad11f
3rd: update cpu_io
MRNIU Jan 2, 2025
89b13d9
3rd: update cpu_io
MRNIU Jan 2, 2025
03579dc
3rd: update cpu_io
MRNIU Jan 2, 2025
c3574e9
3rd: update cpu_io
MRNIU Jan 2, 2025
4118e2b
3rd: update cpu_io
MRNIU Jan 2, 2025
0ba1159
3rd: update cpu_io
MRNIU Jan 2, 2025
a511eb0
3rd: update cpu_io
MRNIU Jan 2, 2025
c69aa21
3rd: update cpu_io
MRNIU Jan 2, 2025
78840e0
3rd: update cpu_io
MRNIU Jan 2, 2025
0d55c77
3rd: update cpu_io
MRNIU Jan 2, 2025
2111a0e
3rd: update cpu_io
MRNIU Jan 2, 2025
fe85d34
3rd: update cpu_io
MRNIU Jan 2, 2025
da27887
3rd: update cpu_io
MRNIU Jan 2, 2025
8236924
3rd: update cpu_io
MRNIU Jan 2, 2025
c37c140
style: remove redundant codes
MRNIU Jan 3, 2025
fd36316
3rd: update cpu_io
MRNIU Jan 3, 2025
db9ddb2
3rd: update cpu_io
MRNIU Jan 3, 2025
e78873e
3rd: update cpu_io
MRNIU Jan 3, 2025
72c6032
3rd: update cpu_io
MRNIU Jan 3, 2025
26afde3
refactor: update aarch64
MRNIU Jan 3, 2025
07f4f92
3rd: update cpu_io
MRNIU Jan 3, 2025
f8ccd35
3rd: update cpu_io
MRNIU Jan 3, 2025
cc12c02
doc: update readme
MRNIU Jan 3, 2025
1fed6ae
style: fix
MRNIU Jan 3, 2025
5d6541b
style: update gitignore
MRNIU Jan 3, 2025
3b07ef9
style: update gitignore
MRNIU Jan 3, 2025
d1a7de5
style: update gitignore
MRNIU Jan 3, 2025
0f31dd6
style: update gitignore
MRNIU Jan 3, 2025
ffa68e6
feat: vscode run and debug
MRNIU Jan 3, 2025
e271669
doc: update readme
MRNIU Jan 3, 2025
7e5e5fb
feat: working on grub2
MRNIU Jan 4, 2025
7a886ef
feat: smp for riscv
MRNIU Jan 4, 2025
7d4dc45
feat: smp for riscv
MRNIU Jan 4, 2025
c1dee1b
feat: smp for riscv
MRNIU Jan 4, 2025
81734ce
feat: smp for riscv
MRNIU Jan 5, 2025
0430d05
feat: smp for riscv
MRNIU Jan 5, 2025
614694e
feat: add per_cpu
MRNIU Jan 5, 2025
fce8deb
feat: add per_cpu
MRNIU Jan 5, 2025
84cb85f
feat: add per_cpu
MRNIU Jan 5, 2025
852fbbe
feat: add per_cpu
MRNIU Jan 5, 2025
706ce1c
feat: working on spinlock
MRNIU Jan 5, 2025
64db1b0
feat: working on spinlock
MRNIU Jan 5, 2025
a04ef6e
3rd: update cpu_io
MRNIU Jan 7, 2025
178926c
fix: clang-tidy
MRNIU Jan 7, 2025
2ca9718
3rd: update cmake
MRNIU Jan 7, 2025
15f3d11
fix: update aarch64 cxx flags
MRNIU Jan 7, 2025
a1bdd3f
feat: enable smp for x86_64 and aarch64
MRNIU Jan 7, 2025
958bbda
feat: enable smp for x86_64 and aarch64
MRNIU Jan 7, 2025
f73f3b4
feat: enable smp for riscv64
MRNIU Jan 7, 2025
acffbe1
fix: spinlock
MRNIU Jan 7, 2025
4ce4aa7
style: update
MRNIU Jan 7, 2025
76f5dfd
style: update
MRNIU Jan 7, 2025
952ac66
style: update
MRNIU Jan 7, 2025
bc4dc90
style: update
MRNIU Jan 7, 2025
21aa9c4
feat: dec to 4
MRNIU Jan 7, 2025
0e06a78
feat: enable smp for riscv64
MRNIU Jan 7, 2025
864d13c
feat: move link vars to basic_info
MRNIU Jan 7, 2025
820f114
feat: move link vars to basic_info
MRNIU Jan 7, 2025
07e74d1
feat: move link vars to basic_info
MRNIU Jan 7, 2025
42c1eaa
feat: move link vars to basic_info
MRNIU Jan 7, 2025
27a5314
fix: spinlock
MRNIU Jan 7, 2025
2c22398
fix: spinlock
MRNIU Jan 7, 2025
010bd72
feat: multiboot2 header
MRNIU Jan 8, 2025
2b6a911
feat: multiboot2 header
MRNIU Jan 8, 2025
8b9dcda
feat: multiboot2 header
MRNIU Jan 8, 2025
cd2e315
feat: add dtc
MRNIU Jan 8, 2025
49f77b5
feat: update dts
MRNIU Jan 8, 2025
b2b4382
feat: add pl011 driver
MRNIU Jan 8, 2025
fb59dd9
feat: update dts
MRNIU Jan 8, 2025
969895c
feat: add pl011 driver
MRNIU Jan 8, 2025
f2a30b1
feat: direct mem io
MRNIU Jan 8, 2025
d556202
feat: direct mem io
MRNIU Jan 8, 2025
0344d03
feat: add pl011 driver
MRNIU Jan 8, 2025
7e87e94
feat: add pl011 driver
MRNIU Jan 8, 2025
be0ca63
feat: add pl011 driver
MRNIU Jan 8, 2025
4aa5f92
feat: aarch64 _putchar
MRNIU Jan 8, 2025
aece0e9
3rd: update cpu_io
MRNIU Jan 10, 2025
68f625f
3rd: update cpu_io
MRNIU Jan 19, 2025
f1e9e2e
feat: add fdt header
MRNIU Jan 19, 2025
827899e
feat: placement new
MRNIU Jan 19, 2025
214fbf9
feat: add fdt header
MRNIU Jan 19, 2025
5118b7c
3rd: add atf
MRNIU Feb 11, 2025
079bdfa
3rd: add atf
MRNIU Feb 11, 2025
5626f6a
3rd: add atf
MRNIU Feb 11, 2025
aca94c8
3rd: add optee
MRNIU Feb 11, 2025
b96c2c0
feat: working on aarch64 TEE
MRNIU Feb 11, 2025
39ca177
feat: working on TEE
MRNIU Feb 11, 2025
bf8c7a5
3rd: update optee and atf version
MRNIU Feb 12, 2025
0bcea43
feat: working on aarch64 TEE
MRNIU Feb 12, 2025
efa28f0
feat: working on aarch64 TEE
MRNIU Feb 12, 2025
3267ea0
feat: working on aarch64 TEE
MRNIU Feb 12, 2025
6e09360
feat: aarch64 on vsc
MRNIU Feb 13, 2025
1043b03
style: format json
MRNIU Feb 13, 2025
76fd423
feat: working on aarch64 TEE
MRNIU Feb 13, 2025
fb6ad72
feat: working on aarch64 TEE
MRNIU Feb 13, 2025
579caff
feat: working on aarch64 TEE
MRNIU Feb 13, 2025
ce00ae4
3rd: add u-boot
MRNIU Feb 18, 2025
d5933e7
3rd: build u-boot
MRNIU Feb 18, 2025
9dd04f1
3rd: add buildroot
MRNIU Feb 18, 2025
5cefa7f
feat: buildroot support
MRNIU Feb 18, 2025
ab55c7f
fix: update dockerfile
MRNIU Feb 19, 2025
c09fffa
fix: update dockerfile
MRNIU Feb 19, 2025
a856ac3
feat: add its
MRNIU Feb 20, 2025
86466d5
feat: update qemu flags
MRNIU Feb 27, 2025
caaee05
feat: riscv u-boot support
MRNIU Feb 28, 2025
0559d81
feat: riscv u-boot support
MRNIU Feb 28, 2025
b22ab2e
feat: update dockerfile
MRNIU Mar 2, 2025
8475270
feat: update qemu flags
MRNIU Mar 3, 2025
1a81b81
feat: update qemu flags
MRNIU Mar 3, 2025
66ba394
feat: load kernel via tftp at /srv/tftp/bin/kernel.elf
MRNIU Mar 3, 2025
9087e20
feat: riscv64 load done
MRNIU Mar 4, 2025
10b09d8
feat: riscv64 load done
MRNIU Mar 4, 2025
83c6391
feat: riscv64 load done
MRNIU Mar 5, 2025
fc7ec51
feat: riscv64 load done
MRNIU Mar 5, 2025
776be70
feat: aarch64 load
MRNIU Mar 6, 2025
57eb94f
feat: aarch64 load
MRNIU Mar 6, 2025
bb93b26
feat: boot done
MRNIU Mar 6, 2025
c29d60e
working on uboot bug
MRNIU Mar 14, 2025
a14e44a
fix: running riscv64 on uboot-spl
MRNIU Mar 21, 2025
e43bc29
feat: change main param
MRNIU Mar 21, 2025
58a285f
feat: support elf file
MRNIU Mar 21, 2025
6df5153
feat: support elf file
MRNIU Mar 21, 2025
6408fb5
feat: working on riscv64 backtrace
MRNIU Mar 21, 2025
e7ac1d1
fix: riscv64 backtrace
MRNIU Mar 25, 2025
6be34e3
feat: riscv64 elf
MRNIU Mar 25, 2025
6f58c3c
feat: riscv64 elf
MRNIU Mar 25, 2025
9f1f59c
feat: riscv64 elf on smp
MRNIU Mar 28, 2025
a19845a
feat: riscv64 elf on smp
MRNIU Mar 28, 2025
7673a13
feat: working on aarch64 elf uboot
MRNIU Mar 31, 2025
16477d7
perf: upload log
MRNIU Apr 3, 2025
2236438
feat: aarch64 uboot&elf
MRNIU Apr 3, 2025
9b370b2
feat: aarch64 uboot&elf
MRNIU Apr 3, 2025
5dfec3c
working on aarch64 smp
MRNIU Apr 3, 2025
48f20cf
feat: aarch64 smc psci support
MRNIU Apr 7, 2025
05444ae
feat: aarch64 smc psci support
MRNIU Apr 7, 2025
b978ee1
feat: replace printf_bare_mental with printf
MRNIU Apr 9, 2025
b02b4aa
feat: replace printf_bare_mental with printf
MRNIU Apr 9, 2025
92b751c
feat: replace printf_bare_mental with printf
MRNIU Apr 10, 2025
8aa9e3b
feat: replace printf_bare_mental with printf
MRNIU Apr 10, 2025
962662c
3rd: update u-boot to master
MRNIU Apr 22, 2025
7d1996f
feat: aarch64 smc psci support
MRNIU Apr 22, 2025
e8774f3
doc: update readme
MRNIU Apr 22, 2025
8c91694
doc: update readme
MRNIU Apr 22, 2025
7533076
feat: x86_64 with u-boot, needs u-boot patch 2076229, ready to remove…
MRNIU Apr 24, 2025
e472efd
feat: x86_64 with u-boot, needs u-boot patch 2076229, ready to remove…
MRNIU Apr 24, 2025
080183f
feat: Remove UEFI-related code.
MRNIU Apr 24, 2025
ede91e7
feat: add some acpi define
MRNIU Apr 28, 2025
0d333ea
feat: simplify CMake code
MRNIU Apr 28, 2025
cccaacb
feat: simplify CMake code
MRNIU Apr 29, 2025
7ab3ead
feat: simplify CMake code
MRNIU Apr 29, 2025
e6007c3
feat: simplify CMake code
MRNIU Apr 29, 2025
038a6bd
feat: Remove UEFI-related code.
MRNIU Apr 29, 2025
61b59b5
feat: Remove UEFI-related code.
MRNIU Apr 29, 2025
55ba5d2
feat: Remove UEFI-related code.
MRNIU Apr 29, 2025
abc34f6
feat: Remove UEFI-related code.
MRNIU Apr 29, 2025
363a26b
feat: Remove UEFI-related code.
MRNIU Apr 29, 2025
1adcab4
feat: Remove UEFI-related code.
MRNIU Apr 29, 2025
bd69847
feat: Remove UEFI-related code.
MRNIU Apr 29, 2025
5c8f9d1
feat: Remove UEFI-related code.
MRNIU Apr 29, 2025
4f50a3e
feat: simplify CMake code
MRNIU Apr 30, 2025
a70240b
feat: add replace_kv.cmake
MRNIU Apr 30, 2025
a667e23
feat: working on replace_kv.cmake
MRNIU Apr 30, 2025
f2f433a
feat: update project_config
MRNIU May 1, 2025
f9662f0
doc: update README
MRNIU May 6, 2025
1280984
doc: update README
MRNIU May 6, 2025
7eb2c4a
doc: update README
MRNIU May 6, 2025
fd32c5a
Update README.md
MRNIU May 6, 2025
c08b252
ci: update
MRNIU May 7, 2025
a5627b1
ci: update
MRNIU May 7, 2025
073d688
ci: update
MRNIU May 7, 2025
d6d3b29
ci: update
MRNIU May 7, 2025
cc5add4
ci: update
MRNIU May 7, 2025
6ea103d
ci: update
MRNIU May 7, 2025
dab036e
ci: update
MRNIU May 7, 2025
131bc9d
test: update cmake
MRNIU May 7, 2025
1842a5e
test: remove ut codes
MRNIU May 7, 2025
0fe9285
test: remove ut codes
MRNIU May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,24 @@
# .clang-tidy for Simple-XX/SimpleKernel.

---
Checks: '-*,\
bugprone-*,\
clang-analyzer-*,\
cppcoreguidelines-*,\
hicpp-*,\
llvm-*,\
misc-*
modernize-*,\
performance-*,\
portability-*,\
readability-*,\
-cppcoreguidelines-pro-type-reinterpret-cast'
HeaderFilterRegex: '^${sourceDir}/src'
AnalyzeTemporaryDtors: true
Checks: >
-*,
bugprone-*,
google-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-google-readability-namespace-comments,
-google-runtime-int,
-google-runtime-references,
-misc-non-private-member-variables-in-classes,
-readability-named-parameter,
-readability-braces-around-statements,
-readability-magic-numbers,
-performance-no-int-to-ptr,
-modernize-use-std-print,
-bugprone-reserved-identifier
FormatStyle: google
...
311 changes: 311 additions & 0 deletions .cmake-format.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,311 @@
{
"_help_parse": "Options affecting listfile parsing",
"parse": {
"_help_additional_commands": [
"Specify structure for custom cmake functions"
],
"additional_commands": {
"foo": {
"flags": [
"BAR",
"BAZ"
],
"kwargs": {
"HEADERS": "*",
"SOURCES": "*",
"DEPENDS": "*"
}
}
},
"_help_override_spec": [
"Override configurations per-command where available"
],
"override_spec": {},
"_help_vartags": [
"Specify variable tags."
],
"vartags": [],
"_help_proptags": [
"Specify property tags."
],
"proptags": []
},
"_help_format": "Options affecting formatting.",
"format": {
"_help_disable": [
"Disable formatting entirely, making cmake-format a no-op"
],
"disable": false,
"_help_line_width": [
"How wide to allow formatted cmake files"
],
"line_width": 80,
"_help_tab_size": [
"How many spaces to tab for indent"
],
"tab_size": 4,
"_help_use_tabchars": [
"If true, lines are indented using tab characters (utf-8",
"0x09) instead of <tab_size> space characters (utf-8 0x20).",
"In cases where the layout would require a fractional tab",
"character, the behavior of the fractional indentation is",
"governed by <fractional_tab_policy>"
],
"use_tabchars": false,
"_help_fractional_tab_policy": [
"If <use_tabchars> is True, then the value of this variable",
"indicates how fractional indentions are handled during",
"whitespace replacement. If set to 'use-space', fractional",
"indentation is left as spaces (utf-8 0x20). If set to",
"`round-up` fractional indentation is replaced with a single",
"tab character (utf-8 0x09) effectively shifting the column",
"to the next tabstop"
],
"fractional_tab_policy": "use-space",
"_help_max_subgroups_hwrap": [
"If an argument group contains more than this many sub-groups",
"(parg or kwarg groups) then force it to a vertical layout."
],
"max_subgroups_hwrap": 2,
"_help_max_pargs_hwrap": [
"If a positional argument group contains more than this many",
"arguments, then force it to a vertical layout."
],
"max_pargs_hwrap": 6,
"_help_max_rows_cmdline": [
"If a cmdline positional group consumes more than this many",
"lines without nesting, then invalidate the layout (and nest)"
],
"max_rows_cmdline": 2,
"_help_separate_ctrl_name_with_space": [
"If true, separate flow control names from their parentheses",
"with a space"
],
"separate_ctrl_name_with_space": false,
"_help_separate_fn_name_with_space": [
"If true, separate function names from parentheses with a",
"space"
],
"separate_fn_name_with_space": true,
"_help_dangle_parens": [
"If a statement is wrapped to more than one line, than dangle",
"the closing parenthesis on its own line."
],
"dangle_parens": false,
"_help_dangle_align": [
"If the trailing parenthesis must be 'dangled' on its on",
"line, then align it to this reference: `prefix`: the start",
"of the statement, `prefix-indent`: the start of the",
"statement, plus one indentation level, `child`: align to",
"the column of the arguments"
],
"dangle_align": "prefix",
"_help_min_prefix_chars": [
"If the statement spelling length (including space and",
"parenthesis) is smaller than this amount, then force reject",
"nested layouts."
],
"min_prefix_chars": 4,
"_help_max_prefix_chars": [
"If the statement spelling length (including space and",
"parenthesis) is larger than the tab width by more than this",
"amount, then force reject un-nested layouts."
],
"max_prefix_chars": 10,
"_help_max_lines_hwrap": [
"If a candidate layout is wrapped horizontally but it exceeds",
"this many lines, then reject the layout."
],
"max_lines_hwrap": 2,
"_help_line_ending": [
"What style line endings to use in the output."
],
"line_ending": "unix",
"_help_command_case": [
"Format command names consistently as 'lower' or 'upper' case"
],
"command_case": "upper",
"_help_keyword_case": [
"Format keywords consistently as 'lower' or 'upper' case"
],
"keyword_case": "upper",
"_help_always_wrap": [
"A list of command names which should always be wrapped"
],
"always_wrap": [],
"_help_enable_sort": [
"If true, the argument lists which are known to be sortable",
"will be sorted lexicographicall"
],
"enable_sort": true,
"_help_autosort": [
"If true, the parsers may infer whether or not an argument",
"list is sortable (without annotation)."
],
"autosort": false,
"_help_require_valid_layout": [
"By default, if cmake-format cannot successfully fit",
"everything into the desired linewidth it will apply the",
"last, most aggressive attempt that it made. If this flag is",
"True, however, cmake-format will print error, exit with non-",
"zero status code, and write-out nothing"
],
"require_valid_layout": false,
"_help_layout_passes": [
"A dictionary mapping layout nodes to a list of wrap",
"decisions. See the documentation for more information."
],
"layout_passes": {}
},
"_help_markup": "Options affecting comment reflow and formatting.",
"markup": {
"_help_bullet_char": [
"What character to use for bulleted lists"
],
"bullet_char": "*",
"_help_enum_char": [
"What character to use as punctuation after numerals in an",
"enumerated list"
],
"enum_char": ".",
"_help_first_comment_is_literal": [
"If comment markup is enabled, don't reflow the first comment",
"block in each listfile. Use this to preserve formatting of",
"your copyright/license statements."
],
"first_comment_is_literal": false,
"_help_literal_comment_pattern": [
"If comment markup is enabled, don't reflow any comment block",
"which matches this (regex) pattern. Default is `None`",
"(disabled)."
],
"literal_comment_pattern": null,
"_help_fence_pattern": [
"Regular expression to match preformat fences in comments",
"default= ``r'^\\s*([`~]{3}[`~]*)(.*)$'``"
],
"fence_pattern": "^\\s*([`~]{3}[`~]*)(.*)$",
"_help_ruler_pattern": [
"Regular expression to match rulers in comments default=",
"``r'^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$'``"
],
"ruler_pattern": "^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$",
"_help_explicit_trailing_pattern": [
"If a comment line matches starts with this pattern then it",
"is explicitly a trailing comment for the preceding argument.",
"Default is '#<'"
],
"explicit_trailing_pattern": "#<",
"_help_hashruler_min_length": [
"If a comment line starts with at least this many consecutive",
"hash characters, then don't lstrip() them off. This allows",
"for lazy hash rulers where the first hash char is not",
"separated by space"
],
"hashruler_min_length": 10,
"_help_canonicalize_hashrulers": [
"If true, then insert a space between the first hash char and",
"remaining hash chars in a hash ruler, and normalize its",
"length to fill the column"
],
"canonicalize_hashrulers": true,
"_help_enable_markup": [
"enable comment markup parsing and reflow"
],
"enable_markup": false
},
"_help_lint": "Options affecting the linter",
"lint": {
"_help_disabled_codes": [
"a list of lint codes to disable"
],
"disabled_codes": [],
"_help_function_pattern": [
"regular expression pattern describing valid function names"
],
"function_pattern": "[0-9a-z_]+",
"_help_macro_pattern": [
"regular expression pattern describing valid macro names"
],
"macro_pattern": "[0-9A-Z_]+",
"_help_global_var_pattern": [
"regular expression pattern describing valid names for",
"variables with global (cache) scope"
],
"global_var_pattern": "[A-Z][0-9A-Z_]+",
"_help_internal_var_pattern": [
"regular expression pattern describing valid names for",
"variables with global scope (but internal semantic)"
],
"internal_var_pattern": "_[A-Z][0-9A-Z_]+",
"_help_local_var_pattern": [
"regular expression pattern describing valid names for",
"variables with local scope"
],
"local_var_pattern": "[a-z][a-z0-9_]+",
"_help_private_var_pattern": [
"regular expression pattern describing valid names for",
"privatedirectory variables"
],
"private_var_pattern": "_[0-9a-z_]+",
"_help_public_var_pattern": [
"regular expression pattern describing valid names for public",
"directory variables"
],
"public_var_pattern": "[A-Z][0-9A-Z_]+",
"_help_argument_var_pattern": [
"regular expression pattern describing valid names for",
"function/macro arguments and loop variables."
],
"argument_var_pattern": "[a-z][a-z0-9_]+",
"_help_keyword_pattern": [
"regular expression pattern describing valid names for",
"keywords used in functions or macros"
],
"keyword_pattern": "[A-Z][0-9A-Z_]+",
"_help_max_conditionals_custom_parser": [
"In the heuristic for C0201, how many conditionals to match",
"within a loop in before considering the loop a parser."
],
"max_conditionals_custom_parser": 2,
"_help_min_statement_spacing": [
"Require at least this many newlines between statements"
],
"min_statement_spacing": 1,
"_help_max_statement_spacing": [
"Require no more than this many newlines between statements"
],
"max_statement_spacing": 2,
"max_returns": 6,
"max_branches": 12,
"max_arguments": 5,
"max_localvars": 15,
"max_statements": 50
},
"_help_encode": "Options affecting file encoding",
"encode": {
"_help_emit_byteorder_mark": [
"If true, emit the unicode byte-order mark (BOM) at the start",
"of the file"
],
"emit_byteorder_mark": false,
"_help_input_encoding": [
"Specify the encoding of the input file. Defaults to utf-8"
],
"input_encoding": "utf-8",
"_help_output_encoding": [
"Specify the encoding of the output file. Defaults to utf-8.",
"Note that cmake only claims to support utf-8 so be careful",
"when using anything else"
],
"output_encoding": "utf-8"
},
"_help_misc": "Miscellaneous configurations options.",
"misc": {
"_help_per_command": [
"A dictionary containing any per-command configuration",
"overrides. Currently only `command_case` is supported."
],
"per_command": {}
}
}
15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "SimpleKernel DevContainer",
"dockerFile": "../tools/Dockerfile",
"postCreateCommand": "bash -i -c 'pre-commit install'",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"twxs.cmake",
"ms-vscode.cmake-tools"
]
}
}
}
Loading