1
0
Fork 0
mirror of https://github.com/tailix/mrubyvisor.git synced 2026-08-22 08:24:35 -04:00

Power off

This commit is contained in:
Alex Kotov 2022-11-28 19:12:05 +04:00
parent 2abadffe2b
commit a2110d8a88
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
3 changed files with 2 additions and 4 deletions

View file

@ -63,9 +63,6 @@ void main(
mrb_funcall_id(mrb, mrb_nil_value(), MRB_SYM(eval), 1, program);
kernaux_drivers_console_print(RSTRING_CSTR(mrb, hello));
}
// Halt
for (;;) kernaux_drivers_console_print("");
}
void *my_calloc(size_t nmemb, size_t size)

View file

@ -40,5 +40,6 @@ _start:
push %ebx // Multiboot information pointer
push %eax // Multiboot magic number
call main
call kernaux_drivers_shutdown_poweroff
.size _start, . - _start

2
vendor/libkernaux vendored

@ -1 +1 @@
Subproject commit cd133ba10b0370b8db78501d11f20062ce2d7805
Subproject commit 0df3f9cbbaef0f22e9e629f56c793cda3008f67e