9 lines
139 B
C
Raw Normal View History

2022-11-18 22:58:49 +03:00
#pragma once
2022-11-20 16:06:32 +03:00
#include "port.h"
2022-11-18 22:58:49 +03:00
__attribute__((noreturn))
static inline void qemu_shutdown() {
port_word_out(0x604, 0x2000);
while(1);
}