Import a debugging macro in the loader as well

This commit is contained in:
Pierre Pronchery 2019-04-24 00:46:47 +02:00
parent 9c5dbba449
commit 9262e27ba9

View File

@ -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