Import a debugging macro in the loader as well
This commit is contained in:
parent
9c5dbba449
commit
9262e27ba9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user