Added klog as a new logging system
* The logging system sends the message to both VGA and serial * The serial print uses color to indicate the category of the message Message Categories | Colours Debug Green Info Blue Error Red
This commit is contained in:
@ -35,7 +35,8 @@ OFILES = $(OBJ_DIR)/boot.o \
|
||||
$(OBJ_DIR)/rsdp.o \
|
||||
$(OBJ_DIR)/acpi.o \
|
||||
$(OBJ_DIR)/fat.o \
|
||||
$(OBJ_DIR)/serial.o
|
||||
$(OBJ_DIR)/serial.o \
|
||||
$(OBJ_DIR)/klog.o
|
||||
|
||||
OBJ_LINK_LIST = $(CRTI_OBJ) $(CRTBEGIN_OBJ) $(OFILES) $(CRTEND_OBJ) $(CRTN_OBJ)
|
||||
INTERNAL_OBJS = $(CRTI_OBJ) $(OFILES) $(CRTN_OBJ)
|
||||
@ -125,7 +126,8 @@ $(OBJ_DIR)/fat.o:
|
||||
$(OBJ_DIR)/serial.o:
|
||||
$(CPP) -c drivers/serial/serial.cpp -o $(OBJ_DIR)/serial.o $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
|
||||
|
||||
$(OBJ_DIR)/klog.o:
|
||||
$(CPP) -c klog.cpp -o $(OBJ_DIR)/klog.o $(CFLAGS) -fno-exceptions -fno-rtti
|
||||
|
||||
# Assembly -> Object files
|
||||
$(OBJ_DIR)/boot.o:
|
||||
|
Reference in New Issue
Block a user