From cb7e9420202c64360224a800409e11244657d55b Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 28 Sep 2021 00:24:24 +0000 Subject: x86/boot/bios: add calling convention for BIOS_PRINT --- arch/x86/boot/bios.inc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-18-g5258