mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
Kernel: Slap UNMAP_AFTER_INIT on a bunch more functions
We're now able to unmap 100 KiB of kernel text after init. :^)
This commit is contained in:
parent
e920c74cae
commit
2b2828ae52
36 changed files with 105 additions and 105 deletions
|
@ -31,7 +31,7 @@
|
|||
namespace Kernel {
|
||||
namespace PCI {
|
||||
|
||||
void IOAccess::initialize()
|
||||
UNMAP_AFTER_INIT void IOAccess::initialize()
|
||||
{
|
||||
if (!Access::is_initialized()) {
|
||||
new IOAccess();
|
||||
|
@ -39,7 +39,7 @@ void IOAccess::initialize()
|
|||
}
|
||||
}
|
||||
|
||||
IOAccess::IOAccess()
|
||||
UNMAP_AFTER_INIT IOAccess::IOAccess()
|
||||
{
|
||||
klog() << "PCI: Using I/O instructions for PCI configuration space access";
|
||||
enumerate_hardware([&](const Address& address, ID id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue