mirror of
https://github.com/tailix/mrubyvisor.git
synced 2026-08-22 08:24:35 -04:00
Power off
This commit is contained in:
parent
2abadffe2b
commit
a2110d8a88
3 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
2
vendor/libkernaux
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit cd133ba10b0370b8db78501d11f20062ce2d7805
|
||||
Subproject commit 0df3f9cbbaef0f22e9e629f56c793cda3008f67e
|
||||
Loading…
Add table
Add a link
Reference in a new issue