[stage2] Make console.c manage the display, enable it only when needed

This commit is contained in:
TuxSH
2018-05-09 22:20:14 +02:00
parent 4217d7feef
commit 3e68441040
3 changed files with 76 additions and 41 deletions

View File

@@ -1,7 +1,9 @@
#ifndef FUSEE_CONSOLE_H
#define FUSEE_CONSOLE_H
int console_init(void *fb);
int console_resume(void *fb, int row, int col);
int console_init(void);
int console_display(const void *framebuffer); /* Must be page-aligned */
int console_resume(void);
int console_end(void);
#endif