Basic memory management for UEFI only

This commit is contained in:
Jozef Nagy 2025-01-25 21:42:26 +01:00
parent 1fc97f9c5f
commit 50093e70e4
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
9 changed files with 146 additions and 11 deletions

View file

@ -46,7 +46,10 @@ void log(const char *fmt, ...)
npf_vsnprintf(buf, sizeof(buf), fmt, args);
va_end(args);
//printstr(buf);
// TODO: Get rid of this
#ifdef AXBOOT_UEFI
printstr(buf);
#endif
}
void debug(const char *fmt, ...)
@ -58,6 +61,8 @@ void debug(const char *fmt, ...)
npf_vsnprintf(buf, sizeof(buf), fmt, args);
va_end(args);
//serial_sendstr(buf);
#ifdef AXBOOT_UEFI
printstr(buf);
#endif
}