Introduce "ondemand" linker sections #146793
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
2m 28s
Annotations
1 error, 1 warning, and 5 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
-#define __ondemand_func Z_GENERIC_DOT_SECTION(ONDEMAND_TEXT_SECTION_NAME)
-#define __ondemand_rodata Z_GENERIC_DOT_SECTION(ONDEMAND_RODATA_SECTION_NAME)
+#define __ondemand_func Z_GENERIC_DOT_SECTION(ONDEMAND_TEXT_SECTION_NAME)
+#define __ondemand_rodata Z_GENERIC_DOT_SECTION(ONDEMAND_RODATA_SECTION_NAME)
File:include/zephyr/linker/section_tags.h
Line:106
You may want to run clang-format on this change:
-#define ONDEMAND_TEXT_SECTION_NAME ondemand_text
-#define ONDEMAND_RODATA_SECTION_NAME ondemand_rodata
+#define ONDEMAND_TEXT_SECTION_NAME ondemand_text
+#define ONDEMAND_RODATA_SECTION_NAME ondemand_rodata
File:include/zephyr/linker/sections.h
Line:107
You may want to run clang-format on this change:
-#define ONDEMAND_TEXT ONDEMAND_TEXT_SECTION_NAME
-#define ONDEMAND_RODATA ONDEMAND_RODATA_SECTION_NAME
+#define ONDEMAND_TEXT ONDEMAND_TEXT_SECTION_NAME
+#define ONDEMAND_RODATA ONDEMAND_RODATA_SECTION_NAME
#else
-#define ONDEMAND_TEXT TEXT
-#define ONDEMAND_RODATA RODATA
+#define ONDEMAND_TEXT TEXT
+#define ONDEMAND_RODATA RODATA
File:include/zephyr/linker/sections.h
Line:154
You may want to run clang-format on this change:
- VIRT_FOREACH(lnkr_ondemand_text_start, size, addr) {
+ VIRT_FOREACH(lnkr_ondemand_text_start, size, addr)
+ {
File:kernel/mmu.c
Line:1033
You may want to run clang-format on this change:
- VIRT_FOREACH(lnkr_ondemand_rodata_start, size, addr) {
+ VIRT_FOREACH(lnkr_ondemand_rodata_start, size, addr)
+ {
File:kernel/mmu.c
Line:1042
|
You may want to run clang-format on this change:
include/zephyr/linker/section_tags.h#L106
include/zephyr/linker/section_tags.h:106
-#define __ondemand_func Z_GENERIC_DOT_SECTION(ONDEMAND_TEXT_SECTION_NAME)
-#define __ondemand_rodata Z_GENERIC_DOT_SECTION(ONDEMAND_RODATA_SECTION_NAME)
+#define __ondemand_func Z_GENERIC_DOT_SECTION(ONDEMAND_TEXT_SECTION_NAME)
+#define __ondemand_rodata Z_GENERIC_DOT_SECTION(ONDEMAND_RODATA_SECTION_NAME)
|
You may want to run clang-format on this change:
include/zephyr/linker/sections.h#L107
include/zephyr/linker/sections.h:107
-#define ONDEMAND_TEXT_SECTION_NAME ondemand_text
-#define ONDEMAND_RODATA_SECTION_NAME ondemand_rodata
+#define ONDEMAND_TEXT_SECTION_NAME ondemand_text
+#define ONDEMAND_RODATA_SECTION_NAME ondemand_rodata
|
You may want to run clang-format on this change:
include/zephyr/linker/sections.h#L154
include/zephyr/linker/sections.h:154
-#define ONDEMAND_TEXT ONDEMAND_TEXT_SECTION_NAME
-#define ONDEMAND_RODATA ONDEMAND_RODATA_SECTION_NAME
+#define ONDEMAND_TEXT ONDEMAND_TEXT_SECTION_NAME
+#define ONDEMAND_RODATA ONDEMAND_RODATA_SECTION_NAME
#else
-#define ONDEMAND_TEXT TEXT
-#define ONDEMAND_RODATA RODATA
+#define ONDEMAND_TEXT TEXT
+#define ONDEMAND_RODATA RODATA
|
You may want to run clang-format on this change:
kernel/mmu.c#L1033
kernel/mmu.c:1033
- VIRT_FOREACH(lnkr_ondemand_text_start, size, addr) {
+ VIRT_FOREACH(lnkr_ondemand_text_start, size, addr)
+ {
|
You may want to run clang-format on this change:
kernel/mmu.c#L1042
kernel/mmu.c:1042
- VIRT_FOREACH(lnkr_ondemand_rodata_start, size, addr) {
+ VIRT_FOREACH(lnkr_ondemand_rodata_start, size, addr)
+ {
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
compliance.xml
Expired
|
895 Bytes |
sha256:d72bde4643afb64605a4e1beeea7eee91546d97c78d9e369e370636665527391
|
|