:: commit fed73a37423a9b243c3e20114b7c5ddd02a27e64

Mintsuki <mintsuki@protonmail.com> — 2026-05-01 22:54

parents: 6f21d2c530

protos/limine: Skip framebuffer entries when checking framebuffer page overlap

diff --git a/common/protos/limine.c b/common/protos/limine.c
index 2fbb68bb..ee5ba24f 100644
--- a/common/protos/limine.c
+++ b/common/protos/limine.c
@@ -1409,7 +1409,8 @@ FEAT_END
         }
 
         for (size_t j = 0; j < memmap_entries; j++) {
-            if (j == i || memmap[j].length == 0) {
+            if (j == i || memmap[j].length == 0
+             || memmap[j].type == MEMMAP_FRAMEBUFFER) {
                 continue;
             }
 
tab: 248 wrap: offon