update flanterm

This commit is contained in:
Matheus
2024-04-21 21:08:09 -03:00
parent e216813345
commit e9d53ef62d
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -39,6 +39,10 @@ void term_getsize(size_t *x, size_t *y, size_t *fbx, size_t *fby) {
*fby = fbys;
}
static void noop(void *, size_t) {
}
void term_init() {
__assert(fb_liminereq.response);
__assert(fb_liminereq.response->framebuffer_count);
@@ -48,7 +52,8 @@ void term_init() {
uint32_t defaultfg = 0xffffff;
// TODO add support for a background if desired by the user
term_ctx = flanterm_fb_init(internalalloc, fb->address, fb->width, fb->height, fb->pitch,
term_ctx = flanterm_fb_init(internalalloc, noop, fb->address, fb->width, fb->height, fb->pitch,
fb->red_mask_size, fb->red_mask_shift, fb->green_mask_size, fb->green_mask_shift, fb->blue_mask_size, fb->blue_mask_shift,
NULL, NULL, NULL, &defaultbg, &defaultfg, NULL, NULL, NULL,
0, 0, 1, 1, 1, 0);
+1 -1
View File
@@ -3,7 +3,7 @@ version=0
source_dir="kernel-src"
allow_network="yes"
imagedeps="wget"
flanterm_commit="f95f5584fb87577908beff8cbe0f68fee8940517"
flanterm_commit="347d9cf1e3fced64aa20ab278e2fdcc834086035"
regenerate() {
rm -f include/limine.h