mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-30 00:07:59 +00:00
Removed unused code
This commit is contained in:
parent
31f83fe0f7
commit
b9b5b57929
@ -51,12 +51,6 @@ void UnknownExceptionHandler(CPU::x64::TrapFrame *Frame);
|
|||||||
void UserModeExceptionHandler(CPU::x64::TrapFrame *Frame);
|
void UserModeExceptionHandler(CPU::x64::TrapFrame *Frame);
|
||||||
#endif
|
#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
|
namespace CrashHandler
|
||||||
{
|
{
|
||||||
void printfWrapper(char c, void *unused)
|
void printfWrapper(char c, void *unused)
|
||||||
|
@ -20,14 +20,9 @@ PCI::PCI *PCIManager = nullptr;
|
|||||||
|
|
||||||
Time BootClock;
|
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); }
|
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, ...)
|
EXTERNC void KPrint(const char *Format, ...)
|
||||||
{
|
{
|
||||||
SMARTLOCK(KernelLock);
|
SMARTLOCK(KernelLock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user