feat: added support for constructors/desctructors
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user