Removed unused code

This commit is contained in:
Alex 2022-10-16 21:01:24 +03:00
parent 31f83fe0f7
commit b9b5b57929
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 1 additions and 12 deletions

View File

@ -51,12 +51,6 @@ void UnknownExceptionHandler(CPU::x64::TrapFrame *Frame);
void UserModeExceptionHandler(CPU::x64::TrapFrame *Frame);
#endif
#ifdef __debug_vscode__
extern "C" int printf_(const char *format, ...);
extern "C" int vprintf_(const char *format, va_list arg);
extern "C" int sprintf_(char *s, const char *format, ...);
#endif
namespace CrashHandler
{
void printfWrapper(char c, void *unused)

View File

@ -20,14 +20,9 @@ PCI::PCI *PCIManager = nullptr;
Time BootClock;
// For the Display class. Printing on first buffer.
// For the Display class. Printing on first buffer as default.
extern "C" void putchar(char c) { Display->Print(c, 0); }
#ifdef __debug_vscode__
extern "C" int printf_(const char *format, ...);
extern "C" int vprintf_(const char *format, va_list arg);
#endif
EXTERNC void KPrint(const char *Format, ...)
{
SMARTLOCK(KernelLock);