diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-06 09:14:11 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-06 09:14:11 +0100 |
| commit | 5339d016c07bf717ee388f4feb73544087324af0 (patch) | |
| tree | 94be6f67ed626091f24aee24ec3b3be03d01e4e7 /newBoot/cxxKitModule | |
git: port from mercurial repo.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'newBoot/cxxKitModule')
| -rw-r--r-- | newBoot/cxxKitModule/__cxxkit_unwind.cxx | 11 | ||||
| -rw-r--r-- | newBoot/cxxKitModule/manifest.json | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/newBoot/cxxKitModule/__cxxkit_unwind.cxx b/newBoot/cxxKitModule/__cxxkit_unwind.cxx new file mode 100644 index 00000000..2935e9bf --- /dev/null +++ b/newBoot/cxxKitModule/__cxxkit_unwind.cxx @@ -0,0 +1,11 @@ +namespace cxxkit +{ + ///! @brief C++ ABI pushes + ///! finis array (r1) + ///! n of finis (r2) + void __unwind(void(**finis)(void), int cnt) + { + for (int i = 0; i < cnt; ++i) + (finis[i])(); + } +} diff --git a/newBoot/cxxKitModule/manifest.json b/newBoot/cxxKitModule/manifest.json new file mode 100644 index 00000000..42b5d166 --- /dev/null +++ b/newBoot/cxxKitModule/manifest.json @@ -0,0 +1,3 @@ +{ + "pluginName": "C++Kit" +}
\ No newline at end of file |
