diff --git a/src/arch/i386/loader.S b/src/arch/i386/loader.S index 3ef990a..a0aa908 100644 --- a/src/arch/i386/loader.S +++ b/src/arch/i386/loader.S @@ -7,6 +7,18 @@ #include "multiboot.S" +/* macros */ +#ifdef DEBUG +# define DEBUG_STRING(s) \ + pusha; \ + push s; \ + call puts; \ + pop s; \ + popa; +#else +# define DEBUG_STRING(s) +#endif + /* bss */ .section .bss