feat: триггерим прерывание

This commit is contained in:
root
2024-10-17 12:44:04 +03:00
parent f57aa67887
commit 8fe6e0ba63

View File

@ -44,7 +44,9 @@ static int __init fuck_system(void)
);
load_idt(&newidtreg);
pr_info("idt register stored");
int x = 1 / 0; // триггерим прерывание деления на ноль
load_idt(&oldidtreg);
free_page(new_page);
return 0;
}