mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
Make GraphicsBitmaps be Region-backed when running in the kernel.
This is a lot better than having them in kmalloc memory. I'm gonna need a way to keep track of which process owns which bitmap eventually, maybe through some sort of resource keying system. We'll see.
This commit is contained in:
parent
e4cb9b2985
commit
becc2c7fa5
Notes:
sideshowbarker
2024-07-19 16:03:22 +09:00
Author: https://github.com/awesomekling
Commit: becc2c7fa5
7 changed files with 30 additions and 3 deletions
|
@ -231,8 +231,10 @@ void exception_14_handler(RegisterDumpWithExceptionCode& regs)
|
|||
);
|
||||
#endif
|
||||
|
||||
if (current->isRing0())
|
||||
if (current->isRing0()) {
|
||||
current->dumpRegions();
|
||||
HANG;
|
||||
}
|
||||
|
||||
auto response = MM.handle_page_fault(PageFault(regs.exception_code, LinearAddress(faultAddress)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue