summaryrefslogtreecommitdiff
path: root/Kernel/Console.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-31 03:57:06 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-31 04:03:05 +0100
commit0932efe72ec89b672381d5bb73666f44a6462a5a (patch)
treeeb23151e807446c5c1ce5b75277ffb65b2ad2cd5 /Kernel/Console.h
parent6b88025dda05cab4526783c80269fd740312980f (diff)
downloadserenity-0932efe72ec89b672381d5bb73666f44a6462a5a.zip
Kernel: Actually zero-fill eagerly committed regions.
Previously, calling Region::commit() would make sure to allocate any missing physical pages, but they would contain uninitialized data. This was very obvious when allocating GraphicsBitmaps as they would have garbage pixels rather than being filled with black. The MM quickmap mechanism didn't work when operating on a non-active page directory (which happens when we're in the middle of exec, for example.) This patch changes quickmap to reside in the shared kernel page directory. Also added some missing clobber lists to inline asm that I stumbled on.
Diffstat (limited to 'Kernel/Console.h')
0 files changed, 0 insertions, 0 deletions