summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-09-28 00:24:24 +0000
committerJoursoir <chat@joursoir.net>2021-09-28 00:24:24 +0000
commitcb7e9420202c64360224a800409e11244657d55b (patch)
treea7eaa93441dae3d8a816ddf5a3edf673d5890979 /arch/x86/boot
parent03fd31416142eb0239d861b6f6a4f2f789df9657 (diff)
downloadmfsos-cb7e9420202c64360224a800409e11244657d55b.tar.gz
mfsos-cb7e9420202c64360224a800409e11244657d55b.tar.bz2
mfsos-cb7e9420202c64360224a800409e11244657d55b.zip
x86/boot/bios: add calling convention for BIOS_PRINT
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/bios.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/boot/bios.inc b/arch/x86/boot/bios.inc
index d01b27c..19cd9a0 100644
--- a/arch/x86/boot/bios.inc
+++ b/arch/x86/boot/bios.inc
@@ -1,3 +1,4 @@
+# CONVENTION: macro only uses %AX, %SI registers
.macro BIOS_PRINT string
mov $0x0e, %ah # Set writing char in TTY mode routine
mov \string, %si # Set in Source Index reg the beginning