mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +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
|
@ -87,7 +87,7 @@ void PIC::disable(const GenericInterruptHandler& handler)
|
|||
m_cached_irq_mask |= 1 << irq;
|
||||
}
|
||||
|
||||
PIC::PIC()
|
||||
UNMAP_AFTER_INIT PIC::PIC()
|
||||
{
|
||||
initialize();
|
||||
}
|
||||
|
@ -203,7 +203,7 @@ void PIC::remap(u8 offset)
|
|||
enable_vector(2);
|
||||
}
|
||||
|
||||
void PIC::initialize()
|
||||
UNMAP_AFTER_INIT void PIC::initialize()
|
||||
{
|
||||
/* ICW1 (edge triggered mode, cascading controllers, expect ICW4) */
|
||||
IO::out8(PIC0_CTL, ICW1_INIT | ICW1_ICW4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue