mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-06 12:59:18 +00:00
implemented interrupts handler & stub crash screen
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#include <display.hpp>
|
||||
#include <lock.hpp>
|
||||
#include <uart.hpp>
|
||||
#include <debug.h>
|
||||
|
||||
extern uint64_t _binary_Files_ter_powerline_v12n_psf_start;
|
||||
@ -10,9 +11,11 @@ NEWLOCK(PrintLock);
|
||||
|
||||
namespace Video
|
||||
{
|
||||
char Display::Print(char Char, int Index)
|
||||
char Display::Print(char Char, int Index, bool WriteToUART)
|
||||
{
|
||||
SMARTLOCK(PrintLock);
|
||||
if (WriteToUART)
|
||||
UniversalAsynchronousReceiverTransmitter::UART(UniversalAsynchronousReceiverTransmitter::COM1).Write((char)Char);
|
||||
|
||||
if (this->ColorIteration)
|
||||
{
|
||||
|
Reference in New Issue
Block a user