feat: added support for constructors/desctructors

This commit is contained in:
2023-05-09 22:00:17 +02:00
parent be07ec78da
commit 7411fb55ea
6 changed files with 71 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
#include "yak/platform/generic/platform.h"
void kmain() {
_init();
// kmain is called from one of the bootloader implementations
// perform platform specific initialisation
@@ -10,4 +11,5 @@ void kmain() {
// this should (eventually) be unreachable
panic("End of kmain");
_fini();
}