more bpmpfw shenanigans

This commit is contained in:
souldbminersmwc committed 2026-08-25 13:37:05 -04:00
1 parent 7660650129
commit b20d20edff
54 files changed
+1275 -30

No files matched your search

@@ -0,0 +1,18 @@
#include <stdio.h>
#include "regs.hpp"
namespace {
int UartStreamPutc(int c, FILE *) {
UartPutc(static_cast<char>(c));
return c;
}
FILE g_uartStdout = { nullptr, UartStreamPutc, nullptr, nullptr, nullptr, -1 };
} // namespace
void InitializeLibc() {
stdout = &g_uartStdout;
}