forked from PoliEcho-holding-org/kern
Added register dump to panic() and colors to printk()
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ int pag_init(void) {
|
||||
case LIMINE_MEMMAP_FRAMEBUFFER: flags = PTE_FLAG_WRITE | PTE_FLAG_PWT; break;
|
||||
case LIMINE_MEMMAP_RESERVED_MAPPED: flags = 0; break;
|
||||
default:
|
||||
pr_warning(
|
||||
pr_warn(
|
||||
"[pag] %p - %p: Unknown memmap type %lu. Will remain unmapped.\n",
|
||||
(void*)entry->base, (void*)entry->base + entry->length, entry->type
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user