<commit_before>#include <metodo/metodo.h>

void HalBreak(void)
{
	__asm__ __volatile__ ("int $3");
}

noreturn HalShutdown(void)
{
	while (1) {
		__asm__ __volatile__ ("cli");
		__asm__ __volatile__ ("hlt");
	}
}

// FIXME: HalReboot() causess a SIMD Floating Point Exception
noreturn HalReboot(void)
{
	unsigned char good = 0x02;
	HalDisableInterrupts();
	__asm__ __volatile__ ("int $0x13");

	while ((good & 0x02) != 0)
		good = HalInPort(0x64);
	HalOutPort(0x64, 0xFE);

	HalShutdown();
}<commit_msg>Removed unexplicable asm() call that triggered SIMD error manually on reboot. Fixes #4. Opens #11.<commit_after>#include <metodo/metodo.h>

void HalBreak(void)
{
	__asm__ __volatile__ ("int $3");
}

noreturn HalShutdown(void)
{
	while (1) {
		__asm__ __volatile__ ("cli");
		__asm__ __volatile__ ("hlt");
	}
}

// FIXME: HalReboot() causess a SIMD Floating Point Exception
noreturn HalReboot(void)
{
	uint8_t good = 0x02;
	HalDisableInterrupts();

	while ((good & 0x02) != 0)
		good = HalInPort(0x64);
	HalOutPort(0x64, 0xFE);

	HalShutdown();
}
{'fraction_non_alphanumeric': 0.14217557251908397, 'fraction_numerical': 0.03721374045801527, 'mean_word_length': 4.9602272727272725, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5606394', 'n_tokens_mistral': 456, 'n_tokens_neox': 419, 'n_words': 101}