fb: map as WC

This commit is contained in:
Matheus
2025-08-24 10:33:24 -03:00
parent c84aa086dd
commit a3f376c1d6
4 changed files with 13 additions and 1 deletions
+5 -1
View File
@@ -71,4 +71,8 @@ void term_init() {
logging_sethook(term_putchar);
}
INIT_ROUTINE_DEFINE(term, INIT_ROUTINE_FLAGS_NONE, term_init, pmm);
void term_update_framebuffer(void *fb) {
((struct flanterm_fb_context *)fb)->framebuffer = fb;
}
INIT_ROUTINE_DEFINE(term, INIT_ROUTINE_FLAGS_NONE, term_init, vmm);