Skip to content

Zephyr to 4.4#205

Merged
kr-t merged 15 commits intomainfrom
zephyr-to-4.4
Apr 20, 2026
Merged

Zephyr to 4.4#205
kr-t merged 15 commits intomainfrom
zephyr-to-4.4

Conversation

@kr-t
Copy link
Copy Markdown
Collaborator

@kr-t kr-t commented Apr 16, 2026

No description provided.

kr-t added 9 commits April 15, 2026 11:58
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
While WAMR's documentation says it shall be set by default, when building
vmlib, the classic interpreter is set. This is an explicit workaround.

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Zephyr v4.4 already has this shield, although the default stack size isn't enough.
Ocre's config would inherit the default shield from zephyr, and just increase the
stack's size.

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
@kr-t kr-t requested review from casaroli and srberard as code owners April 16, 2026 11:03
@casaroli
Copy link
Copy Markdown
Collaborator

casaroli commented Apr 16, 2026

Filename                                                         Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
platform/posix/file_mmap.c                                            78                53    32.05%           2                 0   100.00%          61                37    39.34%          38                27    28.95%
platform/posix/memory.c                                                3                 0   100.00%           3                 0   100.00%           9                 0   100.00%           0                 0         -
platform/posix/lstat.c                                                 1                 0   100.00%           1                 0   100.00%           3                 0   100.00%           0                 0         -
common/common.c                                                       23                 1    95.65%           1                 0   100.00%          16                 2    87.50%          14                 2    85.71%
runtime/wamr-wasip1/wamr.c                                           298               183    38.59%           7                 0   100.00%         282               135    52.13%         162               111    31.48%
runtime/wamr-wasip1/ocre_api/core/core_mutex.c                         7                 4    42.86%           4                 3    25.00%          14                10    28.57%           2                 1    50.00%
runtime/wamr-wasip1/ocre_api/core/core_eventq.c                       19                10    47.37%           5                 2    60.00%          57                30    47.37%          10                 6    40.00%
runtime/wamr-wasip1/ocre_api/core/core_misc.c                          3                 2    33.33%           3                 2    33.33%          13                 8    38.46%           0                 0         -
runtime/wamr-wasip1/ocre_api/core/core_timer.c                        24                24     0.00%           5                 5     0.00%          43                43     0.00%          14                14     0.00%
runtime/wamr-wasip1/ocre_api/core/core_memory.c                        2                 0   100.00%           2                 0   100.00%           6                 0   100.00%           0                 0         -
runtime/wamr-wasip1/ocre_api/ocre_timers/ocre_timer.c                272               245     9.93%           8                 6    25.00%         170               154     9.41%         146               137     6.16%
runtime/wamr-wasip1/ocre_api/utils/strlcat.c                          12                12     0.00%           1                 1     0.00%          21                21     0.00%          10                10     0.00%
runtime/wamr-wasip1/ocre_api/ocre_common.c                           245               163    33.47%          13                 5    61.54%         220               147    33.18%         134               107    20.15%
runtime/wamr-wasip1/ocre_api/ocre_api.c                               18                18     0.00%           2                 2     0.00%          25                25     0.00%           6                 6     0.00%
runtime/wamr-wasip1/ocre_api/ocre_messaging/ocre_messaging.c         225               225     0.00%           5                 5     0.00%         182               182     0.00%         118               118     0.00%
ocre/container.c                                                     709               381    46.26%          15                 0   100.00%         495               197    60.20%         360               223    38.06%
ocre/util/unique_random_id.c                                          21                 4    80.95%           3                 0   100.00%          29                 6    79.31%          12                 4    66.67%
ocre/util/string_array.c                                              39                18    53.85%           4                 0   100.00%          53                27    49.06%          24                14    41.67%
ocre/util/rm_rf.c                                                     66                15    77.27%           4                 0   100.00%         114                42    63.16%          44                16    63.64%
ocre/ocre.c                                                          451               191    57.65%           9                 0   100.00%         291                91    68.73%         226               131    42.04%
ocre/context.c                                                       375               155    58.67%          10                 0   100.00%         291                80    72.51%         190                95    50.00%

Files which contain no functions:
platform/posix/include/ocre/platform/log.h                             0                 0         -           0                 0         -           0                 0         -           0                 0         -
platform/posix/include/ocre/platform/config.h                          0                 0         -           0                 0         -           0                 0         -           0                 0         -
runtime/wamr-wasip1/ocre_api/core/core_internal.h                      0                 0         -           0                 0         -           0                 0         -           0                 0         -
runtime/wamr-wasip1/ocre_api/ocre_api.h                                0                 0         -           0                 0         -           0                 0         -           0                 0         -
uthash/include/uthash/utlist.h                                         0                 0         -           0                 0         -           0                 0         -           0                 0         -
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                               2891              1704    41.06%         107                31    71.03%        2395              1237    48.35%        1510              1022    32.32%

kr-t added 6 commits April 16, 2026 14:06
60m isn't enough

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Node.js 20 will be deprecated. Remove warnings by bumping versions

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
…here

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Zephyr only requires linking zephyr_generated_headers when zephyr/kernel.h
is used. We do it only in platform and ocre_api, which will be obsolete.

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
@kr-t kr-t merged commit 30d1efa into main Apr 20, 2026
34 checks passed
@kr-t kr-t deleted the zephyr-to-4.4 branch April 20, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants