aboutsummaryrefslogtreecommitdiffstats
path: root/bootloader/misc.s
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/misc.s')
-rw-r--r--bootloader/misc.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/bootloader/misc.s b/bootloader/misc.s
new file mode 100644
index 0000000..c228607
--- /dev/null
+++ b/bootloader/misc.s
@@ -0,0 +1,10 @@
+.text
+.global BootDisableInterrupts
+
+BootDisableInterrupts:
+ pushq %rbp
+ movq %rsp, %rbp
+ cli
+ popq %rbp
+ ret
+