From 37a35147de96c0e484839e31ec762f25b7bc08c2 Mon Sep 17 00:00:00 2001
From: Amelia Coutard <eliottulio.coutard@gmail.com>
Date: Thu, 12 May 2022 14:17:50 +0200
Subject: [PATCH] Added missing volatile specifier to inline asm containing cli
 and hlt.

---
 src/utils.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils.cpp b/src/utils.cpp
index 6c501aa..2c53ef6 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -1,7 +1,7 @@
 #include "utils.hpp"
 
 void os::halt() {
-	asm(
+	asm volatile (
 		"cli\n"
 		"\t1:\thlt\n"
 		"\tjmp 1b"
-- 
2.46.0